Mercurial > hg
comparison templates/gitweb/graph.tmpl @ 7124:63579aa36c8e
graph: replace the blinking no javascript message
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Sat, 18 Oct 2008 16:09:07 +0200 |
parents | 936a9073bb73 |
children | 55651328dfcc |
comparison
equal
deleted
inserted
replaced
7123:716277f5867e | 7124:63579aa36c8e |
---|---|
30 | #changenav%navgraphentry#<br/> | 30 | #changenav%navgraphentry#<br/> |
31 </div> | 31 </div> |
32 | 32 |
33 <div class="title"> </div> | 33 <div class="title"> </div> |
34 | 34 |
35 <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div> | 35 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> |
36 | 36 |
37 <div id="wrapper"> | 37 <div id="wrapper"> |
38 <ul id="nodebgs"></ul> | 38 <ul id="nodebgs"></ul> |
39 <canvas id="graph" width="224" height="#canvasheight#"></canvas> | 39 <canvas id="graph" width="224" height="#canvasheight#"></canvas> |
40 <ul id="graphnodes"></ul> | 40 <ul id="graphnodes"></ul> |
41 </div> | 41 </div> |
42 | 42 |
43 <script type="text/javascript" src="#staticurl#graph.js"></script> | 43 <script type="text/javascript" src="#staticurl#graph.js"></script> |
44 <script> | 44 <script> |
45 <!-- hide script content | 45 <!-- hide script content |
46 | |
47 document.getElementById('noscript').style.display = 'none'; | |
48 | 46 |
49 var data = {jsdata|json}; | 47 var data = {jsdata|json}; |
50 var graph = new Graph(); | 48 var graph = new Graph(); |
51 graph.scale({bg_height}); | 49 graph.scale({bg_height}); |
52 | 50 |