MercurialWebTheme

Changeset

14:d91721b39dbe
2010-07-13 Paul Boddie raw files shortlog changelog graph Introduced floating of branch and tag indicators in the shortlog.
themes/mercurialweb/shortlogentry.tmpl (file) themes/mercurialweb/static/style-mercurialweb.css (file)
     1.1 --- a/themes/mercurialweb/shortlogentry.tmpl	Tue Jul 13 18:46:51 2010 +0200
     1.2 +++ b/themes/mercurialweb/shortlogentry.tmpl	Tue Jul 13 19:21:52 2010 +0200
     1.3 @@ -3,5 +3,5 @@
     1.4    <td>{author|person}</td>
     1.5    <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
     1.6    <td width="50%" class="commentline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
     1.7 -  <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
     1.8 +  <td class="branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
     1.9  </tr>
     2.1 --- a/themes/mercurialweb/static/style-mercurialweb.css	Tue Jul 13 18:46:51 2010 +0200
     2.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css	Tue Jul 13 19:21:52 2010 +0200
     2.3 @@ -80,6 +80,20 @@
     2.4  
     2.5  /* Repository information. */
     2.6  
     2.7 +td.branchinfo {
     2.8 +    padding-top: 0.15em;
     2.9 +    padding-bottom: 0.15em;
    2.10 +}
    2.11 +
    2.12 +td.branchinfo span.branch,
    2.13 +td.branchinfo span.inbranch {
    2.14 +    float: left;
    2.15 +}
    2.16 +
    2.17 +td.branchinfo span.tag {
    2.18 +    float: right;
    2.19 +}
    2.20 +
    2.21  span.tag,
    2.22  span.branch,
    2.23  span.inbranch {