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

login
register
mail settings
Submitter Alexander Plavin
Date July 17, 2013, 7:26 p.m.
Message ID <c7870bb3d70c3b45ebfe.1374089180@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1920/
State Accepted
Commit aad410749ff38718293feba3253056d7e503d623
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 1373723503 -14400
#      Sat Jul 13 17:51:43 2013 +0400
# Node ID c7870bb3d70c3b45ebfea323fe4f0845b4767717
# Parent  93b219276e0ed4f43eba87cd801f971e5200ce83
hgweb: make stripes in branch list with CSS

Patch

diff -r 93b219276e0e -r c7870bb3d70c 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 93b219276e0e -r c7870bb3d70c 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}