##// END OF EJS Templates
hgweb: make stripes in directory view with CSS
Alexander Plavin -
r19447:182942b3 default
parent child Browse files
Show More
@@ -45,13 +45,15 b' files, or words in the commit message</d'
45 45 <th class="size">size</th>
46 46 <th class="permissions">permissions</th>
47 47 </tr>
48 <tr class="fileline parity{upparity}">
48 <tbody class="stripes2">
49 <tr class="fileline">
49 50 <td class="name"><a href="{url|urlescape}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
50 51 <td class="size"></td>
51 52 <td class="permissions">drwxr-xr-x</td>
52 53 </tr>
53 54 {dentries%direntry}
54 55 {fentries%fileentry}
56 </tbody>
55 57 </table>
56 58 </div>
57 59 </div>
@@ -42,7 +42,7 b" navgraph = '{before%navgraphentry}{after"
42 42 filenav = '{before%filenaventry}{after%filenaventry}'
43 43
44 44 direntry = '
45 <tr class="fileline parity{parity}">
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}/
@@ -56,7 +56,7 b" direntry = '"
56 56 </tr>'
57 57
58 58 fileentry = '
59 <tr class="fileline parity{parity}">
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}
@@ -86,13 +86,14 b' manifest with descending'
86 86 <th class="size">size</th>
87 87 <th class="permissions">permissions</th>
88 88 </tr>
89 <tr class="fileline parity0">
89 <tbody class="stripes2">
90 <tr class="fileline">
90 91 <td class="name"><a href="/file/9087c84a0f5d/">[up]</a></td>
91 92 <td class="size"></td>
92 93 <td class="permissions">drwxr-xr-x</td>
93 94 </tr>
94 95
95 <tr class="fileline parity1">
96 <tr class="fileline">
96 97 <td class="name">
97 98 <a href="/file/9087c84a0f5d/a1">
98 99 <img src="/static/coal-folder.png" alt="dir."/> a1/
@@ -104,7 +105,7 b' manifest with descending'
104 105 <td class="size"></td>
105 106 <td class="permissions">drwxr-xr-x</td>
106 107 </tr>
107 <tr class="fileline parity0">
108 <tr class="fileline">
108 109 <td class="name">
109 110 <a href="/file/9087c84a0f5d/b1">
110 111 <img src="/static/coal-folder.png" alt="dir."/> b1/
@@ -116,7 +117,7 b' manifest with descending'
116 117 <td class="size"></td>
117 118 <td class="permissions">drwxr-xr-x</td>
118 119 </tr>
119 <tr class="fileline parity1">
120 <tr class="fileline">
120 121 <td class="name">
121 122 <a href="/file/9087c84a0f5d/d1">
122 123 <img src="/static/coal-folder.png" alt="dir."/> d1/
@@ -129,6 +130,7 b' manifest with descending'
129 130 <td class="permissions">drwxr-xr-x</td>
130 131 </tr>
131 132
133 </tbody>
132 134 </table>
133 135 </div>
134 136 </div>
@@ -391,13 +391,15 b' Some tests for hgweb in an empty reposit'
391 391 <th class="size">size</th>
392 392 <th class="permissions">permissions</th>
393 393 </tr>
394 <tr class="fileline parity0">
394 <tbody class="stripes2">
395 <tr class="fileline">
395 396 <td class="name"><a href="/file/000000000000/">[up]</a></td>
396 397 <td class="size"></td>
397 398 <td class="permissions">drwxr-xr-x</td>
398 399 </tr>
399 400
400 401
402 </tbody>
401 403 </table>
402 404 </div>
403 405 </div>
@@ -259,13 +259,14 b' try bad style'
259 259 <th class="size">size</th>
260 260 <th class="permissions">permissions</th>
261 261 </tr>
262 <tr class="fileline parity0">
262 <tbody class="stripes2">
263 <tr class="fileline">
263 264 <td class="name"><a href="/file/2ef0ac749a14/">[up]</a></td>
264 265 <td class="size"></td>
265 266 <td class="permissions">drwxr-xr-x</td>
266 267 </tr>
267 268
268 <tr class="fileline parity1">
269 <tr class="fileline">
269 270 <td class="name">
270 271 <a href="/file/2ef0ac749a14/da">
271 272 <img src="/static/coal-folder.png" alt="dir."/> da/
@@ -278,7 +279,7 b' try bad style'
278 279 <td class="permissions">drwxr-xr-x</td>
279 280 </tr>
280 281
281 <tr class="fileline parity0">
282 <tr class="fileline">
282 283 <td class="filename">
283 284 <a href="/file/2ef0ac749a14/foo">
284 285 <img src="/static/coal-file.png" alt="file"/> foo
@@ -287,6 +288,7 b' try bad style'
287 288 <td class="size">4</td>
288 289 <td class="permissions">-rw-r--r--</td>
289 290 </tr>
291 </tbody>
290 292 </table>
291 293 </div>
292 294 </div>
General Comments 0
You need to be logged in to leave comments. Login now