1.1 --- a/themes/mercurialweb/index.tmpl Tue Jun 01 20:15:48 2010 +0200
1.2 +++ b/themes/mercurialweb/index.tmpl Thu Jun 03 23:33:25 2010 +0200
1.3 @@ -12,14 +12,18 @@
1.4 <div id="page">
1.5
1.6 <table>
1.7 + <thead>
1.8 <tr>
1.9 - <td><a href="?sort={sort_name}">Name</a></td>
1.10 - <td><a href="?sort={sort_description}">Description</a></td>
1.11 - <td><a href="?sort={sort_contact}">Contact</a></td>
1.12 - <td><a href="?sort={sort_lastchange}">Last change</a></td>
1.13 - <td> </td>
1.14 - <tr>
1.15 + <th><a href="?sort={sort_name}">Name</a></th>
1.16 + <th><a href="?sort={sort_description}">Description</a></th>
1.17 + <th><a href="?sort={sort_contact}">Contact</a></th>
1.18 + <th><a href="?sort={sort_lastchange}">Last change</a></th>
1.19 + <th> </td>
1.20 + </tr>
1.21 + </thead>
1.22 + <tbody>
1.23 {entries%indexentry}
1.24 + </tbody>
1.25 </table>
1.26
1.27 </div>
2.1 --- a/themes/mercurialweb/map Tue Jun 01 20:15:48 2010 +0200
2.2 +++ b/themes/mercurialweb/map Thu Jun 03 23:33:25 2010 +0200
2.3 @@ -5,6 +5,8 @@
2.4 footer = footer.tmpl
2.5 index = index.tmpl
2.6 indexentry = indexentry.tmpl
2.7 +shortlog = shortlog.tmpl
2.8 +shortlogentry = shortlogentry.tmpl
2.9 summary = summary.tmpl
2.10
2.11 urlparameter = '{separator}{name}={value|urlescape}'
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/themes/mercurialweb/shortlog.tmpl Thu Jun 03 23:33:25 2010 +0200
3.3 @@ -0,0 +1,26 @@
3.4 +{header}
3.5 +<title>Shortlog: {repo|escape}</title>
3.6 +</head>
3.7 +
3.8 +<body>
3.9 +
3.10 +<div id="header">
3.11 + <div id="logo"><a href="{url}..{sessionvars%urlparameter}"><img src="{staticurl}mercurial-logo.png" alt="Mercurial logo" /></a></div>
3.12 + <div class="controls">
3.13 + <ul id="navibar">
3.14 + <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li><li class="current"><span>shortlog</span></li><li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li><li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li><li><a href="{url}files{sessionvars%urlparameter}">files</a></li><li><form id="searchform" action="{url}log">
3.15 + <input name="rev" id="searchinput" type="text" size="20" /><span class="hack"> </span>
3.16 + </form>
3.17 + </li>
3.18 + </ul>
3.19 + </div>
3.20 + <div id="pageline"></div>
3.21 +</div>
3.22 +
3.23 +<table>
3.24 + <tbody>
3.25 +{entries%shortlogentry}
3.26 + </tbody>
3.27 +</table>
3.28 +
3.29 +{footer}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/themes/mercurialweb/shortlogentry.tmpl Thu Jun 03 23:33:25 2010 +0200
4.3 @@ -0,0 +1,6 @@
4.4 +<tr class="parity{parity}">
4.5 + <td>{date|age} ago</td>
4.6 + <td>{author|person}</td>
4.7 + <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
4.8 + <td><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
4.9 +</tr>
5.1 --- a/themes/mercurialweb/static/style-mercurialweb.css Tue Jun 01 20:15:48 2010 +0200
5.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css Thu Jun 03 23:33:25 2010 +0200
5.3 @@ -22,12 +22,6 @@
5.4 border: 0;
5.5 }
5.6
5.7 -/* Styling of headings from the main site. */
5.8 -
5.9 -h1 { font-size: 2em; }
5.10 -h2 { font-size: 1.6em; }
5.11 -h3 { font-size: 1.3em; }
5.12 -
5.13 a:link, a:visited { color: #00b5f1; text-decoration: none; }
5.14 a:link:hover, a:link:active, a:link:focus,
5.15 a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; }
5.16 @@ -40,6 +34,37 @@
5.17 font-size: 0.8571em;
5.18 }
5.19
5.20 +/* Table styling. */
5.21 +
5.22 +table
5.23 +{
5.24 + margin: 1em;
5.25 + border-collapse: collapse;
5.26 +}
5.27 +
5.28 +th {
5.29 + text-align: left;
5.30 +}
5.31 +
5.32 +th a:link, th a:visited {
5.33 + color: #111;
5.34 +}
5.35 +
5.36 +th, td {
5.37 + padding: 0.25em 0.5em 0.25em 0.5em;
5.38 +}
5.39 +
5.40 +td p {
5.41 + margin: 0;
5.42 + padding: 0;
5.43 +}
5.44 +
5.45 +/* Styling of headings from the main site. */
5.46 +
5.47 +h1 { font-size: 2em; }
5.48 +h2 { font-size: 1.6em; }
5.49 +h3 { font-size: 1.3em; }
5.50 +
5.51 /* Navigational and editing controls. */
5.52
5.53 .controls {
5.54 @@ -107,7 +132,7 @@
5.55
5.56 /* Margin and padding correspond to the navibar settings. */
5.57
5.58 - margin: 17px 0 2px 0;
5.59 + margin: 0;
5.60 padding: 0 16px;
5.61 background: #999;
5.62
5.63 @@ -121,7 +146,7 @@
5.64 vertical-align: middle;
5.65 }
5.66
5.67 -#searchform label, .actionsmenu label {
5.68 +#searchform label {
5.69 font-size: smaller;
5.70 color: #fff;
5.71 }
6.1 --- a/themes/mercurialweb/summary.tmpl Tue Jun 01 20:15:48 2010 +0200
6.2 +++ b/themes/mercurialweb/summary.tmpl Thu Jun 03 23:33:25 2010 +0200
6.3 @@ -1,5 +1,5 @@
6.4 {header}
6.5 -<title>Summary: {repo}</title>
6.6 +<title>Summary: {repo|escape}</title>
6.7 </head>
6.8
6.9 <body>