0
|
1 {header}
|
|
2 <title>{repo|escape}: revision graph</title>
|
|
3 <link rel="alternate" type="application/atom+xml"
|
|
4 href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}: log" />
|
|
5 <link rel="alternate" type="application/rss+xml"
|
|
6 href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}: log" />
|
|
7 </head>
|
|
8 <body>
|
|
9
|
|
10 <div class="container">
|
|
11 <div class="menu">
|
|
12 <div class="logo">
|
|
13 <a href="{logourl}">
|
|
14 <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
|
|
15 </div>
|
|
16 <ul>
|
|
17 <li><a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">log</a></li>
|
|
18 <li class="active">graph</li>
|
|
19 <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
|
|
20 <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
|
|
21 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
|
|
22 </ul>
|
|
23 <ul>
|
|
24 <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li>
|
|
25 <li><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
|
|
26 </ul>
|
|
27 <ul>
|
|
28 {archives%archiveentry}
|
|
29 </ul>
|
|
30 <ul>
|
|
31 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
|
|
32 </ul>
|
|
33 <div class="atom-logo">
|
|
34 <a href="{url|urlescape}atom-log" title="subscribe to atom feed">
|
|
35 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
|
|
36 </a>
|
|
37 </div>
|
|
38 </div>
|
|
39
|
|
40 <div class="main">
|
|
41 {breadcrumbs}
|
|
42 <h3>graph</h3>
|
|
43
|
|
44 {searchform}
|
|
45
|
|
46 <div class="navigate">
|
|
47 <a href="{url|urlescape}graph/{symrev}{lessvars%urlparameter}">less</a>
|
|
48 <a href="{url|urlescape}graph/{symrev}{morevars%urlparameter}">more</a>
|
|
49 | rev {rev}: {changenav%navgraph}
|
|
50 </div>
|
|
51
|
|
52 <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript>
|
|
53
|
|
54 <div id="wrapper">
|
|
55 <canvas id="graph"></canvas>
|
|
56 <ul id="graphnodes" class="stripes2">{nodes%graphentry}</ul>
|
|
57 </div>
|
|
58
|
|
59 <script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}>
|
|
60 var data = {jsdata|json};
|
|
61 var graph = new Graph();
|
|
62 graph.scale({bg_height});
|
|
63 graph.render(data);
|
|
64 </script>
|
|
65
|
|
66 <div class="navigate">
|
|
67 <a href="{url|urlescape}graph/{symrev}{lessvars%urlparameter}">less</a>
|
|
68 <a href="{url|urlescape}graph/{symrev}{morevars%urlparameter}">more</a>
|
|
69 | rev {rev}: {changenav%navgraph}
|
|
70 </div>
|
|
71
|
|
72 <script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}>
|
|
73 ajaxScrollInit(
|
|
74 '{url|urlescape}graph/%next%{graphvars%urlparameter}',
|
|
75 '{nextentry%"{node}"}', <!-- NEXTHASH
|
|
76 function (htmlText) \{
|
|
77 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
|
|
78 return m ? m[1] : null;
|
|
79 },
|
|
80 '#wrapper',
|
|
81 '<div class="%class%" style="text-align: center;">%text%</div>',
|
|
82 'graph'
|
|
83 );
|
|
84 </script>
|
|
85
|
|
86 </div>
|
|
87 </div>
|
|
88
|
|
89 {footer}
|