Mercurial > hg
diff mercurial/templates/paper/filerevision.tmpl @ 19431:b8ecc3830c89
hgweb: introduce separate classes for stripey background
Introduce stripes2 and stripes4 classes to support different structure.
They will be useful to implement stripes with pure CSS everywhere instead
of current server-side implementation.
author | Alexander Plavin <me@aplavin.ru> |
---|---|
date | Fri, 12 Jul 2013 23:47:56 +0400 |
parents | 5ec5097b4c0f |
children | b5e3f2b1d5e9 |
line wrap: on
line diff
--- a/mercurial/templates/paper/filerevision.tmpl Fri Jul 12 15:58:13 2013 +0400 +++ b/mercurial/templates/paper/filerevision.tmpl Fri Jul 12 23:47:56 2013 +0400 @@ -69,7 +69,7 @@ <div class="overflow"> <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> <div class="sourcefirst"> line source</div> -<pre class="sourcelines wrap">{text%fileline}</pre> +<pre class="sourcelines stripes4 wrap">{text%fileline}</pre> <div class="sourcelast"></div> </div> </div>