[PATCH 02 of 11] hgweb: make stripes in bookmark list with CSS

Alexander Plavin me at aplavin.ru
Wed Jul 17 14:26:15 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 489bd47bf6d5ff7e944c0beb6b46f19a8feadd8b
# Parent  e498e628f4234b646b904779a011a47ac15448f7
hgweb: make stripes in bookmark list with CSS

diff -r e498e628f423 -r 489bd47bf6d5 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 e498e628f423 -r 489bd47bf6d5 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