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