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