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

login
register
mail settings
Submitter Alexander Plavin
Date July 17, 2013, 7:26 p.m.
Message ID <489bd47bf6d5ff7e944c.1374089175@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1915/
State Accepted
Commit 25dae11bb04451f2b6266d8df7379924a056a868
Delegated to: Kevin Bullock
Headers show

Comments

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

Patch

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}