##// END OF EJS Templates
hgweb: make stripes in graph with CSS
Alexander Plavin -
r19453:ece3b329 default
parent child Browse files
Show More
@@ -56,7 +56,7 files, or words in the commit message</d
56 56 <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript>
57 57
58 58 <div id="wrapper">
59 <ul id="nodebgs"></ul>
59 <ul id="nodebgs" class="stripes2"></ul>
60 60 <canvas id="graph" width="480" height="{canvasheight}"></canvas>
61 61 <ul id="graphnodes"></ul>
62 62 </div>
@@ -75,7 +75,7 graph.vertex = function(x, y, color, par
75 75 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
76 76 this.ctx.fill();
77 77
78 var bg = '<li class="bg parity' + parity + '"></li>';
78 var bg = '<li class="bg"></li>';
79 79 var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
80 80 var nstyle = 'padding-left: ' + left + 'px;';
81 81
@@ -262,7 +262,7 Some tests for hgweb in an empty reposit
262 262 <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript>
263 263
264 264 <div id="wrapper">
265 <ul id="nodebgs"></ul>
265 <ul id="nodebgs" class="stripes2"></ul>
266 266 <canvas id="graph" width="480" height="12"></canvas>
267 267 <ul id="graphnodes"></ul>
268 268 </div>
@@ -281,7 +281,7 Some tests for hgweb in an empty reposit
281 281 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
282 282 this.ctx.fill();
283 283
284 var bg = '<li class="bg parity' + parity + '"></li>';
284 var bg = '<li class="bg"></li>';
285 285 var left = (this.bg_height - this.box_size) + (this.columns + 1) * this.box_size;
286 286 var nstyle = 'padding-left: ' + left + 'px;';
287 287
General Comments 0
You need to be logged in to leave comments. Login now