changeset 19451:aad410749ff3

hgweb: make stripes in branch list with CSS
author Alexander Plavin <me@aplavin.ru>
date Sat, 13 Jul 2013 17:51:43 +0400
parents ddae9e9b7ca1
children 6f5556454edd
files mercurial/templates/paper/branches.tmpl mercurial/templates/paper/map
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:49:20 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>
--- a/mercurial/templates/paper/map	Sat Jul 13 17:49:20 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}