MercurialWebTheme

Changeset

31:12192e76f128
2011-03-01 Paul Boddie raw files shortlog changelog graph Added usage of the monospaced description style class. Align tags and branches on the right.
themes/mercurialweb/changelogentry.tmpl (file) themes/mercurialweb/graphlabel.tmpl (file) themes/mercurialweb/static/style-mercurialweb.css (file)
     1.1 --- a/themes/mercurialweb/changelogentry.tmpl	Sat Feb 26 18:26:23 2011 +0100
     1.2 +++ b/themes/mercurialweb/changelogentry.tmpl	Tue Mar 01 00:20:29 2011 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
     1.5      <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
     1.6    </td>
     1.7 -  <td width="40%">{desc|strip|escape}</td>
     1.8 +  <td width="40%" class="description">{desc|strip|escape}</td>
     1.9    <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
    1.10  </tr>
    1.11  <tr class="parity{parity}">
     2.1 --- a/themes/mercurialweb/graphlabel.tmpl	Sat Feb 26 18:26:23 2011 +0100
     2.2 +++ b/themes/mercurialweb/graphlabel.tmpl	Tue Mar 01 00:20:29 2011 +0100
     2.3 @@ -1,5 +1,5 @@
     2.4  <tr id="{node|short}">
     2.5    <td class="graphlabel">{age}</td>
     2.6    <td class="graphlabel"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
     2.7 -  <td class="graphlabel">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
     2.8 +  <td class="graphlabel branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
     2.9  </tr>
     3.1 --- a/themes/mercurialweb/static/style-mercurialweb.css	Sat Feb 26 18:26:23 2011 +0100
     3.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css	Tue Mar 01 00:20:29 2011 +0100
     3.3 @@ -83,15 +83,12 @@
     3.4  td.branchinfo {
     3.5      padding-top: 0.15em;
     3.6      padding-bottom: 0.15em;
     3.7 +    text-align: right;
     3.8  }
     3.9  
    3.10 -td.branchinfo span.branch,
    3.11 -td.branchinfo span.inbranch {
    3.12 -    float: left;
    3.13 -}
    3.14 -
    3.15 -td.branchinfo span.tag {
    3.16 -    float: right;
    3.17 +td.branchinfo.graphlabel {
    3.18 +    padding-top: 0;
    3.19 +    padding-bottom: 0;
    3.20  }
    3.21  
    3.22  span.tag,