changeset 6452:d93f2f39bef4

coal: more tweaks - add revision numbers to changeset, browse, and file pages - add revision number to revision number navigator in log - remove node from log and filelog pages - add changeset, browse, and archive buttons back to log page - make buttons more clickable with display: block - fix alignment of some table heads
author Matt Mackall <mpm@selenic.com>
date Wed, 02 Apr 2008 18:47:17 -0500
parents b79a56619504
children cb16217ff4d8
files templates/coal/changeset.tmpl templates/coal/fileannotate.tmpl templates/coal/filediff.tmpl templates/coal/filelog.tmpl templates/coal/filerevision.tmpl templates/coal/manifest.tmpl templates/coal/shortlog.tmpl templates/static/style-coal.css
diffstat 8 files changed, 20 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/templates/coal/changeset.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/changeset.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -23,7 +23,7 @@
 <div class="main">
 
 <h2>{repo|escape}</h2>
-<h3>changeset {node|short} {changesettag}</h3>
+<h3>changeset {rev}:{node|short} {changesettag}</h3>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
--- a/templates/coal/fileannotate.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/fileannotate.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -28,7 +28,7 @@
 
 <div class="main">
 <h2>{repo|escape}</h2>
-<h3>Annotate {file|escape} @ {node|short}</h2>
+<h3>Annotate {file|escape} @ {diff}:{node|short}</h2>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
--- a/templates/coal/filediff.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/filediff.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -27,7 +27,7 @@
 
 <div class="main">
 <h2>{repo|escape}</h2>
-<h3>diff {file|escape} @ {node|short}</h3>
+<h3>diff {file|escape} @ {rev}:{node|short}</h3>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
--- a/templates/coal/filelog.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/filelog.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -23,7 +23,7 @@
 </ul>
 <ul>
 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
-<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
+<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
 <li class="active">file log</li>
 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
@@ -33,7 +33,7 @@
 <div class="main">
 
 <h2>{repo|escape}</h2>
-<h3>log {file|escape} @ {node|short}</h3>
+<h3>log {file|escape}</h3>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
--- a/templates/coal/filerevision.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/filerevision.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -28,7 +28,7 @@
 <div class="main">
 
 <h2>{repo|escape}</h2>
-<h3>view {file|escape} @ {node|short}</h3>
+<h3>view {file|escape} @ {rev}:{node|short}</h3>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
--- a/templates/coal/manifest.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/manifest.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -24,7 +24,7 @@
 <div class="main">
 
 <h2>{repo|escape}</h2>
-<h3>directory {path|escape} @ {node|short} {tags%changelogtag}</h3>
+<h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
--- a/templates/coal/shortlog.tmpl	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/coal/shortlog.tmpl	Wed Apr 02 18:47:17 2008 -0500
@@ -16,19 +16,26 @@
 <li class="active">log</li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
+<ul>
+<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
+<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
+</ul>
+<ul>
+{archives%archiveentry}
+</ul>
 </div>
 
 <div class="main">
 
 <h2>{repo|escape}</h2>
-<h3>log @ {node|short}</h3>
+<h3>log</h3>
 
 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
 <p><input name="rev" id="search1" type="text" size="30"></p>
 </form>
 
-<div class="navigate">{changenav%navshortentry}</div>
+<div class="navigate">rev {rev}: {changenav%navshortentry}</div>
 
 <table class="bigtable">
  <tr> 
@@ -39,6 +46,6 @@
 {entries%shortlogentry}
 </table>
 
-<div class="navigate">{changenav%navshortentry}</div>
+<div class="navigate">rev {rev}: {changenav%navshortentry}</div>
 
 {footer}
--- a/templates/static/style-coal.css	Wed Apr 02 18:47:15 2008 -0500
+++ b/templates/static/style-coal.css	Wed Apr 02 18:47:17 2008 -0500
@@ -61,7 +61,7 @@
   right: 2em;
 }
 
-.menu a { color: black; }
+.menu a { color: black; display: block; }
 
 a { text-decoration:none; }
 .age { white-space:nowrap; }
@@ -130,9 +130,9 @@
 .bigtable .lineno { width: 2em; text-align: right;}
 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
 .bigtable td.source { font-family: monospace; white-space: pre; }
-.bigtable .permissions { width: 8em; }
+.bigtable .permissions { width: 8em; text-align: left;}
 .bigtable td.permissions { font-family: monospace; }
-.bigtable .date { width: 10em; }
+.bigtable .date { width: 10em; text-align: left;}
 .bigtable .size { width: 5em; text-align: right; }
 .bigtable td.size { font-family: monospace; }
 .bigtable .annotate { text-align: right; padding-right: }