annotate templates/paper/filecomparison.tmpl @ 16:50a1fe272c10

more security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 01 Oct 2023 21:36:34 -0600
parents dfc36e7ed22c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 {header}
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2 <title>{repo|escape}: {file|escape} comparison</title>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 </head>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 <body>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6 <div class="container">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 <div class="menu">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 <div class="logo">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9 <a href="{logourl}">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 <ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13 <li><a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">log</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 <li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
17 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
18 </ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
19 <ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
20 <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
21 <li><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
22 </ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
23 <ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
24 <li><a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
25 <li><a href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
26 <li><a href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
27 <li class="active">comparison</li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
28 <li><a href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
29 <li><a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
30 <li><a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
31 </ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
32 <ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
33 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
34 </ul>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
35 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
36
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
37 <div class="main">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
38 {breadcrumbs}
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
39 <h3>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
40 comparison {file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
41 {alltags}
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
42 </h3>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
43
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
44 {searchform}
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
45
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
46 <div class="description">{desc|strip|escape|websub|nonempty}</div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
47
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
48 <table id="changesetEntry">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
49 <tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
50 <th>author</th>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
51 <td>{author|obfuscate}</td>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
52 </tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
53 <tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
54 <th>date</th>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
55 <td class="date age">{date|rfc822date}</td>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
56 </tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
57 <tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
58 <th>parents</th>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
59 <td>{parent%filerevparent}</td>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
60 </tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
61 <tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
62 <th>children</th>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
63 <td>{child%filerevchild}</td>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
64 </tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
65 </table>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
66
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
67 <div class="overflow">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
68 <div class="sourcefirst"> comparison</div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
69 <div class="legend">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
70 <span class="legendinfo equal">equal</span>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
71 <span class="legendinfo delete">deleted</span>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
72 <span class="legendinfo insert">inserted</span>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
73 <span class="legendinfo replace">replaced</span>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
74 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
75
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
76 <table class="bigtable">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
77 <thead class="header">
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
78 <tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
79 <th>{leftrev}:{leftnode|short}</th>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
80 <th>{rightrev}:{rightnode|short}</th>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
81 </tr>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
82 </thead>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
83 {comparison}
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
84 </table>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
85
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
86 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
87 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
88 </div>
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
89
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
90 {footer}