diff templates/fileannotate.tmpl @ 142:529bf610092e

Prettify the web interface Add header, footer templates Add null parent handling Combine files and directories Add parity flag for alternating line colors Add line numbers to filerevision
author mpm@selenic.com
date Mon, 23 May 2005 20:57:48 -0800
parents c77a679e9cfa
children e8a360cd5a9f 083c38bdfa64
line wrap: on
line diff
--- a/templates/fileannotate.tmpl	Mon May 23 16:06:25 2005 -0800
+++ b/templates/fileannotate.tmpl	Mon May 23 20:57:48 2005 -0800
@@ -1,42 +1,39 @@
-Content-type: text/html
-
-<html>
+#header#
+<title>#repo#: #file# annotate</title>
+</head>
 <body>
 
+<div class=buttons>
 <a href="?cmd=changelog&rev=#rev#">changelog</a>
 <a href="?cmd=changeset&node=#node#">changeset</a>
 <a href="?cmd=manifest&manifest=#manifest#;path=#path#">manifest</a>
 <a href="?cmd=file&file=#file#&filenode=#filenode#">file</a>
 <a href="?cmd=filelog&file=#file#;filenode=#filenode#">revisions</a>
+</div>
 
 <h2>Annotate #file# (#filenode#)</h2>
 
 <table>
 <tr>
- <td align=right>changeset:</td>
+ <td class=metatag>changeset:</td>
  <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
+#parent1#
+#parent2#
 <tr>
- <td align=right>parent:</td>
- <td><a href="?cmd=file;file=#file#;node=#p1#">#p1rev#:#p1#</a></td></tr>
-<tr>
- <td align=right>parent:</td>
- <td><a href="?cmd=file;file=#file#;node=#p2#">#p2rev#:#p2#</a></td></tr>
-<tr>
- <td align=right>manifest:</td>
+ <td class=metatag>manifest:</td>
  <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr>
 <tr>
- <td align=right>author:</td>
+ <td class=metatag>author:</td>
  <td>#author#</td></tr>
 <tr>
- <td align=right>date:</td>
+ <td class=metatag>date:</td>
  <td>#date#</td></tr>
 </table>
 
-<hr />
+<br/>
 
-<table>
+<table cellspacing=0 cellpadding=0>
 #annotate#
 </table>
 
-</body>
-</html>
\ No newline at end of file
+#footer#