[PATCH 01 of 11] hgweb: make stripes in bookmark list with CSS
Alexander Plavin
me at aplavin.ru
Sat Jul 13 10:38:07 CDT 2013
# HG changeset patch
# User Alexander Plavin <me at aplavin.ru>
# Date 1373722999 -14400
# Sat Jul 13 17:43:19 2013 +0400
# Node ID c8753c04cbd265c7150f3da99bc04e1487b73f78
# Parent 06f018ef1524ea7133d83786b7691df748d73ef9
hgweb: make stripes in bookmark list with CSS
diff -r 06f018ef1524 -r c8753c04cbd2 mercurial/templates/paper/bookmarks.tmpl
--- a/mercurial/templates/paper/bookmarks.tmpl Sat Jul 13 17:32:54 2013 +0400
+++ b/mercurial/templates/paper/bookmarks.tmpl Sat Jul 13 17:43:19 2013 +0400
@@ -47,7 +47,9 @@
<th>bookmark</th>
<th>node</th>
</tr>
+<tbody class="stripes2">
{entries%bookmarkentry}
+</tbody>
</table>
</div>
</div>
diff -r 06f018ef1524 -r c8753c04cbd2 mercurial/templates/paper/map
--- a/mercurial/templates/paper/map Sat Jul 13 17:32:54 2013 +0400
+++ b/mercurial/templates/paper/map Sat Jul 13 17:43:19 2013 +0400
@@ -167,7 +167,7 @@
</tr>'
bookmarks = bookmarks.tmpl
bookmarkentry = '
- <tr class="tagEntry parity{parity}">
+ <tr class="tagEntry">
<td>
<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
{bookmark|escape}
More information about the Mercurial-devel
mailing list