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