Patchwork [07,of,11] hgweb: make stripes in branch list with CSS

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

Comments

Alexander Plavin - July 13, 2013, 3:38 p.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1373723503 -14400
#      Sat Jul 13 17:51:43 2013 +0400
# Node ID e8be3586d1b81671ade1a8e1eed93f7c822eb592
# Parent  4c114146e26d37c1d56e311169603e370b712a4c
hgweb: make stripes in branch list with CSS

Patch

diff -r 4c114146e26d -r e8be3586d1b8 mercurial/templates/paper/branches.tmpl
--- a/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:51:24 2013 +0400
+++ b/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:51:43 2013 +0400
@@ -47,7 +47,9 @@ 
  <th>branch</th>
  <th>node</th>
 </tr>
+<tbody class="stripes2">
 {entries % branchentry}
+</tbody>
 </table>
 </div>
 </div>
diff -r 4c114146e26d -r e8be3586d1b8 mercurial/templates/paper/map
--- a/mercurial/templates/paper/map	Sat Jul 13 17:51:24 2013 +0400
+++ b/mercurial/templates/paper/map	Sat Jul 13 17:51:43 2013 +0400
@@ -179,7 +179,7 @@ 
   </tr>'
 branches = branches.tmpl
 branchentry = '
-  <tr class="tagEntry parity{parity}">
+  <tr class="tagEntry">
     <td>
       <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
         {branch|escape}