Annotate

filerevision.tmpl @ 8:475f52b6ca68 draft

filediff.tmpl: use `<h3>` for `breadcrumb`.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 00:46:54 +0700
parent 0:2f78b9100113
child 10:ee33ee14040a
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>File {repo|escape}: {node|short} {file|escape}</title>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
3 <!--
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
4 <link rel="stylesheet" href="/hl/styles/ir-black.min.css">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
5 <script type="text/javascript" src="/hl/highlight.min.js"></script>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
6 -->
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
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
10 <div class="main">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
11 <div class="dd-hover menu">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
12 <div class="dd-content">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
13 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
14 <h6>{repo|escape}</h6>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
15 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
16 <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
17 <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
18 <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
19 <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
20 <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
21 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
22 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
23 <h6>{symrev}</h6>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
24 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
25 <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
26 <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
27 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
28 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
29 <h6>{file|escape}</h6>
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}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
32 <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
33 <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
34 </ul>
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 <li class="active">File</li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
37 <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
38 <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
39 <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
40 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
41 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
42 <ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
43 <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
44 </ul>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
45 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
46 {logo}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
47 </div>
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 <main>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
50 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
51 <h1 class="breadcrumb"><a href="/">Software</a> {pathdef%breadcrumb}</h1>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
52
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
53 {searchform}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
54
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
55 <h2>File</h2>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
56 <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
57 {alltags}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
58 </h4>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
59 <div class="description">{desc|strip|escape|websub|nonempty}</div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
60
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
61 <table id="changesetEntry">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
62 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
63 <th class="author">author</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
64 <td class="author">{author|obfuscate}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
65 </tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
66 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
67 <th class="date">date</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
68 <td class="date age">{date|rfc822date}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
69 </tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
70 {parent%filerevparent}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
71 {child%filerevchild}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
72 </table>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
73
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
74 <div class="overflow">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
75 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="#">on</a></div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
76 <div class="sourcefirst"> line source</div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
77 <pre class="sourcelines stripes4 wrap bottomline"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
78 data-logurl="{url|urlescape}log/{symrev}/{file|urlescape}"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
79 data-selectabletag="SPAN"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
80 data-ishead="{ishead}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
81 {text%fileline}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
82 </pre>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
83 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
84
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
85 <script type="text/javascript" src="{staticurl|urlescape}followlines.js"></script>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
86 <!--script>hljs.highlightAll();</script-->
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 <p></p>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
89 <hr />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
90 </main>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
91 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
92 {logo}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
93 {banner}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
94 {footer}