Mercurial > hg
comparison tests/test-hgweb-descend-empties.t @ 25664:ebdfca23c1ab
hgweb: use css for stripey background in coal
Since "b8ecc3830c89 or 25dae11bb044::c229a5e7511e" paper style used css for
stripes in background for browsing files, for listing branches/tags/bookmarks,
and so on.
Since coal borrows many paper templates (e.g. shortlogentry.tmpl), it actually
tried to do the same, but it didn't have the needed css classes. You can
compare https://selenic.com/hg?style=coal with
https://selenic.com/hg?style=paper and see how log view in coal style has plain
white background, unlike the one in paper style. This wasn't intended.
Let's copy css classes directly from style-paper.css and remove parity classes
from elements that don't need them anymore. This makes plain white background
have stripes again and makes coal/map even more similar to paper/map (which can
ease porting changes or %including paper/map in future).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 25 Jun 2015 20:27:36 +0800 |
parents | 63be46407a50 |
children | 902148444889 |
comparison
equal
deleted
inserted
replaced
25663:edd2d20ac687 | 25664:ebdfca23c1ab |
---|---|
215 <td class="name"><a href="/file/tip/?style=coal">[up]</a></td> | 215 <td class="name"><a href="/file/tip/?style=coal">[up]</a></td> |
216 <td class="size"></td> | 216 <td class="size"></td> |
217 <td class="permissions">drwxr-xr-x</td> | 217 <td class="permissions">drwxr-xr-x</td> |
218 </tr> | 218 </tr> |
219 | 219 |
220 <tr class="fileline parity1"> | 220 <tr class="fileline"> |
221 <td class="name"> | 221 <td class="name"> |
222 <a href="/file/tip/a1?style=coal"> | 222 <a href="/file/tip/a1?style=coal"> |
223 <img src="/static/coal-folder.png" alt="dir."/> a1/ | 223 <img src="/static/coal-folder.png" alt="dir."/> a1/ |
224 </a> | 224 </a> |
225 <a href="/file/tip/a1/a2/a3/a4?style=coal"> | 225 <a href="/file/tip/a1/a2/a3/a4?style=coal"> |
227 </a> | 227 </a> |
228 </td> | 228 </td> |
229 <td class="size"></td> | 229 <td class="size"></td> |
230 <td class="permissions">drwxr-xr-x</td> | 230 <td class="permissions">drwxr-xr-x</td> |
231 </tr> | 231 </tr> |
232 <tr class="fileline parity0"> | 232 <tr class="fileline"> |
233 <td class="name"> | 233 <td class="name"> |
234 <a href="/file/tip/b1?style=coal"> | 234 <a href="/file/tip/b1?style=coal"> |
235 <img src="/static/coal-folder.png" alt="dir."/> b1/ | 235 <img src="/static/coal-folder.png" alt="dir."/> b1/ |
236 </a> | 236 </a> |
237 <a href="/file/tip/b1/b2/b3?style=coal"> | 237 <a href="/file/tip/b1/b2/b3?style=coal"> |
239 </a> | 239 </a> |
240 </td> | 240 </td> |
241 <td class="size"></td> | 241 <td class="size"></td> |
242 <td class="permissions">drwxr-xr-x</td> | 242 <td class="permissions">drwxr-xr-x</td> |
243 </tr> | 243 </tr> |
244 <tr class="fileline parity1"> | 244 <tr class="fileline"> |
245 <td class="name"> | 245 <td class="name"> |
246 <a href="/file/tip/d1?style=coal"> | 246 <a href="/file/tip/d1?style=coal"> |
247 <img src="/static/coal-folder.png" alt="dir."/> d1/ | 247 <img src="/static/coal-folder.png" alt="dir."/> d1/ |
248 </a> | 248 </a> |
249 <a href="/file/tip/d1/d2?style=coal"> | 249 <a href="/file/tip/d1/d2?style=coal"> |