Annotate

map @ 12:2f0e855fac58 draft

map: fix search bar.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Sun, 30 Jul 2023 02:06:26 +0700
parent 1:7dde48d11103
child 13:d9fa7b6b7333
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 default = 'graph'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
2
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
3 mimetype = 'text/html; charset={encoding}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
4 header = header.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
5 footer = footer.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
6 search = search.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
7
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
8 changelog = shortlog.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
9 shortlog = shortlog.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
10 shortlogentry = shortlogentry.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
11 graph = graph.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
12 graphentry = graphentry.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
13 help = help.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
14 helptopics = helptopics.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
15
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
16 helpentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
17 <tr><td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
18 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
19 {if(basename, '{basename|escape}', '{topic|escape}')}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
20 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
21 </td><td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
22 {summary|escape}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
23 </td></tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
24
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
25 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
26 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
27 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
28 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
29 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
30 filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
31 filenolink = '{file|escape} '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
32 fileellipses = '...'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
33 diffstatlink = diffstat.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
34 diffstatnolink = diffstat.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
35 changelogentry = shortlogentry.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
36 changeset = changeset.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
37 manifest = manifest.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
38
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
39 nav = '{before%naventry} {after%naventry}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
40 navshort = '{before%navshortentry}{after%navshortentry}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
41 navgraph = '{before%navgraphentry}{after%navgraphentry}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
42 filenav = '{before%filenaventry}{after%filenaventry}'
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 updirentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
45 <tr class="fileline">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
46 <td class="name">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
47 <a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
48 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
49 <td class="size"></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
50 <td class="permissions">drwxr-xr-x</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
51 </tr>'
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 direntry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
54 <tr class="fileline">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
55 <td class="name">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
56 <a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
57 <img src="{staticurl|urlescape}coal-folder.png" alt="dir."/> {basename|escape}/
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
58 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
59 <a href="{url|urlescape}file/{symrev}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
60 {emptydirs|escape}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
61 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
62 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
63 <td class="size"></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
64 <td class="permissions">drwxr-xr-x</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ần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
67 fileentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
68 <tr class="fileline">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
69 <td class="filename">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
70 <a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
71 <img src="{staticurl|urlescape}coal-file.png" alt="file"/> {basename|escape}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
72 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
73 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
74 <td class="size">{size}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
75 <td class="permissions">{permissions|permissions}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
76 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
77
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
78 filerevision = filerevision.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
79 fileannotate = fileannotate.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
80 filediff = filediff.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
81 filecomparison = filecomparison.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
82 filelog = filelog.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
83 fileline = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
84 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
85 filelogentry = filelogentry.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
86
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
87 annotateline = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
88 <tr id="{lineid}"{ifeq(node, originalnode, ' class="thisrev"')}>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
89 <td class="annotate parity{blockparity}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
90 {if(blockhead,
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
91 '<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
92 {rev}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
93 </a>')}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
94 <div class="annotate-info">
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 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
97 {node|short}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
98 {desc|escape|firstline}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
99 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
100 <div><em>{author|obfuscate}</em></div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
101 <div>parents: {parents%annotateparent}</div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
102 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
103 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
104 </div>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
105 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
106 <td class="source followlines-btn-parent"><a href="#{lineid}">{linenumber}</a> {line|escape}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
107 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
108 annotateparent = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
109 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}</a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
110 diffblock = '<div class="bottomline inc-lineno"><pre class="sourcelines wrap">{lines}</pre></div>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
111 difflineplus = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
112 <span id="{lineid}" class="plusline">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
113 difflineminus = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
114 <span id="{lineid}" class="minusline">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
115 difflineat = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
116 <span id="{lineid}" class="atline">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
117 diffline = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
118 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
119
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
120 comparisonblock ='
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
121 <tbody class="block">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
122 {lines}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
123 </tbody>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
124 comparisonline = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
125 <tr id="{lineid}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
126 <td class="source {type}"><a href="#{lineid}">{leftlinenumber}</a> {leftline|escape}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
127 <td class="source {type}"><a href="#{lineid}">{rightlinenumber}</a> {rightline|escape}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
128 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
129
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
130 changesetparent = ' {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
131
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
132 changesetparentdiff = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
133 {changesetparent}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
134 {ifeq(node, basenode, '(current diff)', '({difffrom})')}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
135
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
136 difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">diff</a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
137
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
138 filerename = '{file|escape}@'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
139 filelogrename = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
140 <span class="base">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
141 base
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
142 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
143 {file|escape}@{node|short}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
144 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
145 </span>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
146 tags = tags.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
147 tagentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
148 <tr class="tagEntry">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
149 <td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
150 <a href="{url|urlescape}rev/{tag|revescape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
151 {tag|escape}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
152 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
153 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
154 <td class="node">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
155 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
156 {node|short}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
157 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
158 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
159 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
160 bookmarks = bookmarks.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
161 bookmarkentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
162 <tr class="tagEntry">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
163 <td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
164 <a href="{url|urlescape}rev/{bookmark|revescape}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
165 {bookmark|escape}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
166 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
167 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
168 <td class="node">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
169 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
170 {node|short}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
171 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
172 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
173 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
174 branches = branches.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
175 branchentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
176 <tr class="tagEntry">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
177 <td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
178 <a href="{url|urlescape}shortlog/{branch|revescape}{sessionvars%urlparameter}" class="{status}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
179 {branch|escape}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
180 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
181 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
182 <td class="node">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
183 <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
184 {node|short}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
185 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
186 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
187 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
188 phasetag = '{ifeq(phase, 'public', '', '<span class="phase">{phase|escape}</span> ')}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
189 obsoletetag = '{if(obsolete, '<span class="obsolete">obsolete</span> ')}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
190 instabilitytag = '<span class="instability">{instability|escape}</span> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
191 changelogtag = '<span class="tag">{name|escape}</span> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
192 changesettag = '<span class="tag">{tag|escape}</span> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
193 changesetbookmark = '<span class="tag">{bookmark|escape}</span> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
194 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
195 changelogbranchname = '<span class="branchname">{name|escape}</span> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
196 alltags = '{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
197
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
198 successorlink = '<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
199 obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
200 obsfateverb = '{obsfateverb(successors, markers)}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
201 obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
202 obsfateusers = '{if(obsfateusers(markers), ' by {join(obsfateusers(markers)%'{user|obfuscate}', ', ')}')}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
203 obsfatedate = '{if(obsfatedate(markers), ' {ifeq(min(obsfatedate(markers)), max(obsfatedate(markers)), '<span class="age">{min(obsfatedate(markers))|rfc822date}</span>', 'between <span class="age">{min(obsfatedate(markers))|rfc822date}</span> and <span class="age">{max(obsfatedate(markers))|rfc822date}</span>')}')}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
204 obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}{obsfatedate}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
205 instabilitychangesetlink = '<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
206 divergentnode = '{instabilitychangesetlink} ({phase})'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
207 whyunstableentry = '{instability}: {if(divergentnodes, divergentnodes%divergentnode)} {reason} {instabilitychangesetlink}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
208
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
209 changesetchild = ' {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
210
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
211 filerevparent = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
212 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
213 <th class="author">parent</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
214 <td>{rev}:<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
215 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
216 filerevchild = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
217 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
218 <th class="author">child</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
219 <td>{rev}:<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
220 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
221
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
222 fileannotateparent = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
223 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
224 <th class="author">parent</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
225 <td>{rev}:<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
226 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
227 fileannotatechild = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
228 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
229 <th class="author">child</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
230 <td>{rev}:<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
231 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
232
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
233 filecomparisonparent = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
234 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
235 <th class="author">parent</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
236 <td>{rev}:<a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
237 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
238 filecomparisonchild = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
239 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
240 <th class="author">child</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
241 <td>{rev}:<a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
242 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
243 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
244
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
245 filediffparent = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
246 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
247 <th class="author">parent</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
248 <td>{rev}:<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
249 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
250 filediffchild = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
251 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
252 <th class="author">child</th>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
253 <td>{rev}:<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
254 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
255 </tr>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
256
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
257 indexentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
258 <tr>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
259 <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
260 <td>{description}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
261 <td>{contact|obfuscate}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
262 <td class="age">{lastchange|rfc822date}</td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
263 <td class="indexlinks">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
264 {archives%indexarchiveentry}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
265 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
266 <td class="indexlinks">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
267 {if(isdirectory, '',
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
268 '<a href="{url|urlescape}rss-log" title="subscribe to repository RSS feed">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
269 &nbsp;<img class="rss-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="subscribe to repository RSS feed">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
270 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
271 <a href="{url|urlescape}atom-log" title="subscribe to repository Atom feed">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
272 &nbsp;<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="subscribe to repository Atom feed">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
273 </a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
274 )}
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
275 </td>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
276 </tr>\n'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
277 indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}&nbsp;</a>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
278 index = index.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
279 archiveentry = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
280 <li>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
281 <a href="{url|urlescape}archive/{symrev}{extension|urlescape}{ifeq(path,'/','',path|urlescape)}">{type|escape}</a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
282 </li>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
283 notfound = notfound.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
284 error = error.tmpl
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
285 urlparameter = '{separator}{name}={value|urlescape}'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
286 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
287 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
288
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
289 searchform = '
1
7dde48d11103 map: fix content and re-order tags to prepare for changing heading tags in the next commit.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
290 <p></p>
0
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
291 <form class="search" action="{url|urlescape}log">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
292 <div id="hint">{searchhint}</div>
12
2f0e855fac58 map: fix search bar.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 1
diff changeset
293 <p><input type="search" name="rev" id="query" type="text" size="30" value="{query|escape}" placeholder="Mercurial" results="5"/></p>
1
7dde48d11103 map: fix content and re-order tags to prepare for changing heading tags in the next commit.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
294 {sessionvars%hiddenformentry}
7dde48d11103 map: fix content and re-order tags to prepare for changing heading tags in the next commit.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
295 </form>'
7dde48d11103 map: fix content and re-order tags to prepare for changing heading tags in the next commit.
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents: 0
diff changeset
296 searchhint = 'Find changesets by keywords by author, files, the commit message, revision
0
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
297 number or hash, or <a href="{url|urlescape}help/revsets">revset expression</a>.'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
298
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
299 diffoptsform = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
300 <form id="diffopts-form"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
301 data-ignorews="{if(get(diffopts, 'ignorews'), '1', '0')}"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
302 data-ignorewsamount="{if(get(diffopts, 'ignorewsamount'), '1', '0')}"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
303 data-ignorewseol="{if(get(diffopts, 'ignorewseol'), '1', '0')}"
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
304 data-ignoreblanklines="{if(get(diffopts, 'ignoreblanklines'), '1', '0')}">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
305 <span>Ignore whitespace changes - </span>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
306 <span>Everywhere:</span>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
307 <input id="ignorews-checkbox" type="checkbox" />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
308 <span>Within whitespace:</span>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
309 <input id="ignorewsamount-checkbox" type="checkbox" />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
310 <span>At end of lines:</span>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
311 <input id="ignorewseol-checkbox" type="checkbox" />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
312 </form>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
313
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
314 logo = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
315 <div class="logo">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
316 <a href="/" title="Trung - Software">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
317 <img class="logo invert" src="/logo.png" style="width: 100%; max-width: 41em;" />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
318 </a>
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
319 </div>'
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
320
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
321 banner = '
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
322 <div class="banner mid invert">
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
323 <img src="https://trung.fun/banners/mid.svg" />
Trần H. Trung <xmpp:trần.h.trung@trung.fun>
parents:
diff changeset
324 </div>'