##// END OF EJS Templates
hgweb: make stripes in tag list with CSS
Alexander Plavin -
r19448:fa0e1ca9 default
parent child Browse files
Show More
@@ -1,245 +1,245
1 1 default = 'shortlog'
2 2
3 3 mimetype = 'text/html; charset={encoding}'
4 4 header = header.tmpl
5 5 footer = footer.tmpl
6 6 search = search.tmpl
7 7
8 8 changelog = shortlog.tmpl
9 9 shortlog = shortlog.tmpl
10 10 shortlogentry = shortlogentry.tmpl
11 11 graph = graph.tmpl
12 12 help = help.tmpl
13 13 helptopics = helptopics.tmpl
14 14
15 15 helpentry = '
16 16 <tr><td>
17 17 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
18 18 {topic|escape}
19 19 </a>
20 20 </td><td>
21 21 {summary|escape}
22 22 </td></tr>'
23 23
24 24 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
25 25 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
26 26 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
27 27 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
28 28 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
29 29 filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
30 30 filenolink = '{file|escape} '
31 31 fileellipses = '...'
32 32 diffstatlink = diffstat.tmpl
33 33 diffstatnolink = diffstat.tmpl
34 34 changelogentry = shortlogentry.tmpl
35 35 searchentry = shortlogentry.tmpl
36 36 changeset = changeset.tmpl
37 37 manifest = manifest.tmpl
38 38
39 39 nav = '{before%naventry} {after%naventry}'
40 40 navshort = '{before%navshortentry}{after%navshortentry}'
41 41 navgraph = '{before%navgraphentry}{after%navgraphentry}'
42 42 filenav = '{before%filenaventry}{after%filenaventry}'
43 43
44 44 direntry = '
45 45 <tr class="fileline">
46 46 <td class="name">
47 47 <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">
48 48 <img src="{staticurl|urlescape}coal-folder.png" alt="dir."/> {basename|escape}/
49 49 </a>
50 50 <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
51 51 {emptydirs|escape}
52 52 </a>
53 53 </td>
54 54 <td class="size"></td>
55 55 <td class="permissions">drwxr-xr-x</td>
56 56 </tr>'
57 57
58 58 fileentry = '
59 59 <tr class="fileline">
60 60 <td class="filename">
61 61 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
62 62 <img src="{staticurl|urlescape}coal-file.png" alt="file"/> {basename|escape}
63 63 </a>
64 64 </td>
65 65 <td class="size">{size}</td>
66 66 <td class="permissions">{permissions|permissions}</td>
67 67 </tr>'
68 68
69 69 filerevision = filerevision.tmpl
70 70 fileannotate = fileannotate.tmpl
71 71 filediff = filediff.tmpl
72 72 filecomparison = filecomparison.tmpl
73 73 filelog = filelog.tmpl
74 74 fileline = '
75 75 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
76 76 filelogentry = filelogentry.tmpl
77 77
78 78 annotateline = '
79 79 <tr class="parity{parity}">
80 80 <td class="annotate">
81 81 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
82 82 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
83 83 </td>
84 84 <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td>
85 85 </tr>'
86 86
87 87 diffblock = '<div class="bottomline inc-lineno"><pre class="sourcelines wrap">{lines}</pre></div>'
88 88 difflineplus = '
89 89 <span id="{lineid}" class="plusline">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
90 90 difflineminus = '
91 91 <span id="{lineid}" class="minusline">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
92 92 difflineat = '
93 93 <span id="{lineid}" class="atline">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
94 94 diffline = '
95 95 <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>'
96 96
97 97 comparisonblock ='
98 98 <tbody class="block">
99 99 {lines}
100 100 </tbody>'
101 101 comparisonline = '
102 102 <tr>
103 103 <td class="source {type}"><a href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</td>
104 104 <td class="source {type}"><a href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</td>
105 105 </tr>'
106 106
107 107 changelogparent = '
108 108 <tr>
109 109 <th class="parent">parent {rev}:</th>
110 110 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
111 111 </tr>'
112 112
113 113 changesetparent = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
114 114
115 115 difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">{node|short}</a> '
116 116
117 117 filerevparent = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
118 118 filerevchild = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
119 119
120 120 filerename = '{file|escape}@'
121 121 filelogrename = '
122 122 <span class="base">
123 123 base
124 124 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
125 125 {file|escape}@{node|short}
126 126 </a>
127 127 </span>'
128 128 fileannotateparent = '
129 129 <tr>
130 130 <td class="metatag">parent:</td>
131 131 <td>
132 132 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
133 133 {rename%filerename}{node|short}
134 134 </a>
135 135 </td>
136 136 </tr>'
137 137 changesetchild = ' <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
138 138 changelogchild = '
139 139 <tr>
140 140 <th class="child">child</th>
141 141 <td class="child">
142 142 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
143 143 {node|short}
144 144 </a>
145 145 </td>
146 146 </tr>'
147 147 fileannotatechild = '
148 148 <tr>
149 149 <td class="metatag">child:</td>
150 150 <td>
151 151 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
152 152 {node|short}
153 153 </a>
154 154 </td>
155 155 </tr>'
156 156 tags = tags.tmpl
157 157 tagentry = '
158 <tr class="tagEntry parity{parity}">
158 <tr class="tagEntry">
159 159 <td>
160 160 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
161 161 {tag|escape}
162 162 </a>
163 163 </td>
164 164 <td class="node">
165 165 {node|short}
166 166 </td>
167 167 </tr>'
168 168 bookmarks = bookmarks.tmpl
169 169 bookmarkentry = '
170 170 <tr class="tagEntry">
171 171 <td>
172 172 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
173 173 {bookmark|escape}
174 174 </a>
175 175 </td>
176 176 <td class="node">
177 177 {node|short}
178 178 </td>
179 179 </tr>'
180 180 branches = branches.tmpl
181 181 branchentry = '
182 182 <tr class="tagEntry parity{parity}">
183 183 <td>
184 184 <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
185 185 {branch|escape}
186 186 </a>
187 187 </td>
188 188 <td class="node">
189 189 {node|short}
190 190 </td>
191 191 </tr>'
192 192 changelogtag = '<span class="tag">{name|escape}</span> '
193 193 changesettag = '<span class="tag">{tag|escape}</span> '
194 194 changesetbookmark = '<span class="tag">{bookmark|escape}</span> '
195 195 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
196 196 changelogbranchname = '<span class="branchname">{name|escape}</span> '
197 197
198 198 filediffparent = '
199 199 <tr>
200 200 <th class="parent">parent {rev}:</th>
201 201 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
202 202 </tr>'
203 203 filelogparent = '
204 204 <tr>
205 205 <th>parent {rev}:</th>
206 206 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
207 207 </tr>'
208 208 filediffchild = '
209 209 <tr>
210 210 <th class="child">child {rev}:</th>
211 211 <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
212 212 </td>
213 213 </tr>'
214 214 filelogchild = '
215 215 <tr>
216 216 <th>child {rev}:</th>
217 217 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
218 218 </tr>'
219 219
220 220 indexentry = '
221 221 <tr class="parity{parity}">
222 222 <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>
223 223 <td>{description}</td>
224 224 <td>{contact|obfuscate}</td>
225 225 <td class="age">{lastchange|rfc822date}</td>
226 226 <td class="indexlinks">{archives%indexarchiveentry}</td>
227 227 <td>
228 228 {if(isdirectory, '',
229 229 '<a href="{url|urlescape}atom-log" title="subscribe to repository atom feed">
230 230 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="subscribe to repository atom feed">
231 231 </a>'
232 232 )}
233 233 </td>
234 234 </tr>\n'
235 235 indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
236 236 index = index.tmpl
237 237 archiveentry = '
238 238 <li>
239 239 <a href="{url|urlescape}archive/{node|short}{extension|urlescape}{ifeq(path,'/','',path|urlescape)}">{type|escape}</a>
240 240 </li>'
241 241 notfound = notfound.tmpl
242 242 error = error.tmpl
243 243 urlparameter = '{separator}{name}={value|urlescape}'
244 244 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
245 245 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
@@ -1,54 +1,56
1 1 {header}
2 2 <title>{repo|escape}: tags</title>
3 3 <link rel="alternate" type="application/atom+xml"
4 4 href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}: tags" />
5 5 <link rel="alternate" type="application/rss+xml"
6 6 href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}: tags" />
7 7 </head>
8 8 <body>
9 9
10 10 <div class="container">
11 11 <div class="menu">
12 12 <div class="logo">
13 13 <a href="{logourl}">
14 14 <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
15 15 </div>
16 16 <ul>
17 17 <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li>
18 18 <li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li>
19 19 <li class="active">tags</li>
20 20 <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
21 21 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
22 22 </ul>
23 23 <ul>
24 24 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
25 25 </ul>
26 26 <p>
27 27 <div class="atom-logo">
28 28 <a href="{url|urlescape}atom-tags" title="subscribe to atom feed">
29 29 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed"></a>
30 30 </div>
31 31 </div>
32 32
33 33 <div class="main">
34 34 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
35 35 <h3>tags</h3>
36 36
37 37 <form class="search" action="{url|urlescape}log">
38 38 {sessionvars%hiddenformentry}
39 39 <p><input name="rev" id="search1" type="text" size="30" /></p>
40 40 <div id="hint">find changesets by author, revision,
41 41 files, or words in the commit message</div>
42 42 </form>
43 43
44 44 <table class="bigtable">
45 45 <tr>
46 46 <th>tag</th>
47 47 <th>node</th>
48 48 </tr>
49 <tbody class="stripes2">
49 50 {entries%tagentry}
51 </tbody>
50 52 </table>
51 53 </div>
52 54 </div>
53 55
54 56 {footer}
General Comments 0
You need to be logged in to leave comments. Login now