1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialweb/branchentry.tmpl Fri Jun 11 22:16:37 2010 +0200
1.3 @@ -0,0 +1,5 @@
1.4 +<tr class="parity{parity}">
1.5 + <td>{date|age}</td>
1.6 + <td><span class="branch-{status}"><a href="{url}file/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></span></td>
1.7 + <td>{node|short}</td>
1.8 +</tr>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/themes/mercurialweb/branches.tmpl Fri Jun 11 22:16:37 2010 +0200
2.3 @@ -0,0 +1,36 @@
2.4 +{header}
2.5 +<title>{repo|escape} (branches)</title>
2.6 +</head>
2.7 +
2.8 +<body>
2.9 +
2.10 +<div id="header">
2.11 + <div id="logo"><a href="{url}..{sessionvars%urlparameter}"><img src="{staticurl}mercurial-logo.png" alt="Mercurial logo" /></a></div>
2.12 + <div class="controls">
2.13 + <ul id="navibar">
2.14 + <li><a href="{url}summary{sessionvars%urlparameter}">Summary</a></li
2.15 + ><li><a href="{url}shortlog{sessionvars%urlparameter}">Shortlog</a></li
2.16 + ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
2.17 + ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
2.18 + ><li class="current"><span>Branches</span></li
2.19 + ><li><a href="{url}files{sessionvars%urlparameter}">Files</a></li
2.20 + ><li><form id="searchform" action="{url}log"><span class="container">
2.21 + <span class="hint">Search</span> <input name="rev" id="searchinput" type="text" size="20" />
2.22 + </span>
2.23 + {sessionvars%hiddenformentry}
2.24 + </form>
2.25 + </li>
2.26 + </ul>
2.27 + </div>
2.28 + <div id="pageline"></div>
2.29 +</div>
2.30 +
2.31 +<h2>Branches</h2>
2.32 +
2.33 +<table>
2.34 + <tbody>
2.35 +{entries%branchentry}
2.36 + </tbody>
2.37 +</table>
2.38 +
2.39 +{footer}
3.1 --- a/themes/mercurialweb/indexentry.tmpl Mon Jun 07 01:13:18 2010 +0200
3.2 +++ b/themes/mercurialweb/indexentry.tmpl Fri Jun 11 22:16:37 2010 +0200
3.3 @@ -2,6 +2,6 @@
3.4 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
3.5 <td>{description}</td>
3.6 <td>{contact|obfuscate}</td>
3.7 - <td class="age">{lastchange|age} ago</td>
3.8 + <td class="age">{lastchange|age}</td>
3.9 <td class="indexlinks"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a> {archives%archiveentry}</td>
3.10 </tr>
4.1 --- a/themes/mercurialweb/map Mon Jun 07 01:13:18 2010 +0200
4.2 +++ b/themes/mercurialweb/map Fri Jun 11 22:16:37 2010 +0200
4.3 @@ -1,15 +1,18 @@
4.4 default = 'summary'
4.5 mimetype = 'text/html; charset={encoding}'
4.6
4.7 +branches = branches.tmpl
4.8 header = header.tmpl
4.9 footer = footer.tmpl
4.10 index = index.tmpl
4.11 +search = search.tmpl
4.12 +shortlog = shortlog.tmpl
4.13 +summary = summary.tmpl
4.14 +
4.15 +branchentry = branchentry.tmpl
4.16 indexentry = indexentry.tmpl
4.17 -search = search.tmpl
4.18 searchentry = searchentry.tmpl
4.19 -shortlog = shortlog.tmpl
4.20 shortlogentry = shortlogentry.tmpl
4.21 -summary = summary.tmpl
4.22
4.23 archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> '
4.24 branchtag = '<span class="branch">{name}</span> '
5.1 --- a/themes/mercurialweb/searchentry.tmpl Mon Jun 07 01:13:18 2010 +0200
5.2 +++ b/themes/mercurialweb/searchentry.tmpl Fri Jun 11 22:16:37 2010 +0200
5.3 @@ -1,5 +1,5 @@
5.4 <tr class="parity{parity}">
5.5 - <td>{date|age} ago</td>
5.6 + <td>{date|age}</td>
5.7 <td>{author|person}</td>
5.8 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
5.9 <td><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
6.1 --- a/themes/mercurialweb/shortlogentry.tmpl Mon Jun 07 01:13:18 2010 +0200
6.2 +++ b/themes/mercurialweb/shortlogentry.tmpl Fri Jun 11 22:16:37 2010 +0200
6.3 @@ -1,5 +1,5 @@
6.4 <tr class="parity{parity}">
6.5 - <td>{date|age} ago</td>
6.6 + <td>{date|age}</td>
6.7 <td>{author|person}</td>
6.8 <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
6.9 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
7.1 --- a/themes/mercurialweb/static/style-mercurialweb.css Mon Jun 07 01:13:18 2010 +0200
7.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css Fri Jun 11 22:16:37 2010 +0200
7.3 @@ -40,6 +40,7 @@
7.4 {
7.5 margin: 1em 0;
7.6 border-collapse: collapse;
7.7 + width: 100%;
7.8 }
7.9
7.10 th {
7.11 @@ -59,6 +60,10 @@
7.12 padding: 0;
7.13 }
7.14
7.15 +tr.parity1 {
7.16 + background: #f7f7f7;
7.17 +}
7.18 +
7.19 /* Styling of headings from the main site. */
7.20
7.21 h1 { font-size: 2em; }
7.22 @@ -82,6 +87,21 @@
7.23 padding: 0.25em 0.5em;
7.24 }
7.25
7.26 +span.branch-closed {
7.27 + background: #b5b5f1;
7.28 + padding: 0.25em 0.5em;
7.29 +}
7.30 +
7.31 +span.branch-inactive {
7.32 + background: #f1b5b5;
7.33 + padding: 0.25em 0.5em;
7.34 +}
7.35 +
7.36 +span.branch-closed a,
7.37 +span.branch-inactive a {
7.38 + color: #000;
7.39 +}
7.40 +
7.41 /* Navigational and editing controls. */
7.42
7.43 @media print {