Patchwork [01,of,11] hgweb: make stripes in bookmark list with CSS

login
register
mail settings
Submitter Alexander Plavin
Date July 13, 2013, 3:38 p.m.
Message ID <c8753c04cbd265c7150f.1373729887@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1859/
State Superseded
Commit 25dae11bb04451f2b6266d8df7379924a056a868
Headers show

Comments

Alexander Plavin - July 13, 2013, 3:38 p.m.
# HG changeset patch
# User Alexander Plavin <me@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

Patch

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}