Comparison

filecomparison.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 7:ca2f32aab632
comparison
equal deleted inserted replaced
-1:000000000000 0:2f78b9100113
1 {header}
2 <title>Comparison {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><a href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
27 <li class="active">Comparison</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>Comparison</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>author</th>
59 <td>{author|obfuscate}</td>
60 </tr>
61 <tr>
62 <th>date</th>
63 <td class="date age">{date|rfc822date}</td>
64 </tr>
65 {parent%filecomparisonparent}
66 {child%filecomparisonchild}
67 <!--
68 <tr>
69 <th>parents</th>
70 <td>{parent%filerevparent}</td>
71 </tr>
72 <tr>
73 <th>children</th>
74 <td>{child%filerevchild}</td>
75 </tr>
76 -->
77 </table>
78
79 <div class="overflow">
80 <div class="sourcefirst"> comparison</div>
81 <div class="legend">
82 <span class="legendinfo equal">equal</span>
83 <span class="legendinfo delete">deleted</span>
84 <span class="legendinfo insert">inserted</span>
85 <span class="legendinfo replace">replaced</span>
86 </div>
87
88 <table>
89 <thead class="header">
90 <tr>
91 <th>{leftrev}:{leftnode|short}</th>
92 <th>{rightrev}:{rightnode|short}</th>
93 </tr>
94 </thead>
95 {comparison}
96 </table>
97
98 </div>
99 <p></p>
100 <hr />
101 </main>
102 </div>
103 {logo}
104 {banner}
105 {footer}