Annotate

fileannotate.tmpl @ 2:5ffc6136763b draft

graph.tmpl: use `<h3>` for `breadcrump`.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 00:20:24 +0700
parent 0:2f78b9100113
child 6:295924a8fc66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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>Annotate {repo|escape}: {file|escape}</title>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
3 </head>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
4 <body>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
5 <div class="main">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
6 <div class="dd-hover menu">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
7 <div class="dd-content">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
8 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
9 <h6>{repo|escape}</h6>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
10 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
11 <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
12 <li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
13 <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
14 <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
15 <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
16 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
17 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
18 <h6>{symrev}</h6>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
19 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
20 <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
21 <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
22 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
23 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
24 <h6>{file|escape}</h6>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
25 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
26 <li class="active">Annotate</li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
27 <li><a href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
28 <li><a href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
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 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
31 <li><a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
32 <li><a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
33 <li><a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">log</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
34 <li><a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
35 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
36 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
37 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
38 <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
39 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
40 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
41 {logo}
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
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
44 <main>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
45 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
46 <h1 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h1>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
47
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
48 {searchform}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
49
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
50 <h2>Annotate</h2>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
51 <h4>{file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
52 {alltags}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
53 </h4>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
54 <div class="description">{desc|strip|escape|websub|nonempty}</div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
55
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
56 <table id="changesetEntry">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
57 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
58 <th class="author">author</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
59 <td class="author">{author|obfuscate}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
60 </tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
61 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
62 <th class="date">date</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
63 <td class="date age">{date|rfc822date}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
64 </tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
65 {parent%fileannotateparent}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
66 {child%fileannotatechild}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
67 </table>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
68
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
69 {diffoptsform}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
70
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
71 <script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
72 renderDiffOptsForm();
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
73 </script>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
74
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
75 <div class="overflow">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
76 <table>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
77 <thead>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
78 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
79 <th class="annotate">rev</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
80 <th class="line">&nbsp;&nbsp;line source</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
81 </tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
82 </thead>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
83 <tbody class="stripes2 sourcelines"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
84 data-logurl="{url|urlescape}log/{symrev}/{file|urlescape}"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
85 data-selectabletag="TR"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
86 data-ishead="{ishead}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
87 {annotate%annotateline}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
88 </tbody>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
89 </table>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
90 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
91 <script type="text/javascript" src="{staticurl|urlescape}followlines.js"></script>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
92 <p></p>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
93 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
94 </main>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
95 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
96 {logo}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
97 {banner}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
98 {footer}