# HG changeset patch # User Alexander Plavin # Date 1373724154 -14400 # Node ID ece3b329ad25f4888fec6cc6a5be7fe4a1133698 # Parent 6f5556454edde5c48c20bef06e0c6ec2edb5ee5f hgweb: make stripes in graph with CSS diff -r 6f5556454edd -r ece3b329ad25 mercurial/templates/paper/graph.tmpl --- a/mercurial/templates/paper/graph.tmpl Sat Jul 13 17:59:00 2013 +0400 +++ b/mercurial/templates/paper/graph.tmpl Sat Jul 13 18:02:34 2013 +0400 @@ -56,7 +56,7 @@
- +
@@ -75,7 +75,7 @@ this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); this.ctx.fill(); - var bg = '
  • '; + var bg = '
  • '; var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size; var nstyle = 'padding-left: ' + left + 'px;'; diff -r 6f5556454edd -r ece3b329ad25 tests/test-hgweb-empty.t --- a/tests/test-hgweb-empty.t Sat Jul 13 17:59:00 2013 +0400 +++ b/tests/test-hgweb-empty.t Sat Jul 13 18:02:34 2013 +0400 @@ -262,7 +262,7 @@
    - +
    @@ -281,7 +281,7 @@ this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); this.ctx.fill(); - var bg = '
  • '; + var bg = '
  • '; var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size; var nstyle = 'padding-left: ' + left + 'px;';