hgweb: add a mercurial link to the footer
authorMatt Mackall <mpm@selenic.com>
Thu, 20 Oct 2005 00:26:24 -0700
changeset 1417 90b62337f8dd
parent 1416 19d2776f1725
child 1418 68f81ba07b2a
hgweb: add a mercurial link to the footer
templates/changeset.tmpl
templates/footer.tmpl
templates/header.tmpl
--- a/templates/changeset.tmpl	Wed Oct 19 20:54:46 2005 -0700
+++ b/templates/changeset.tmpl	Thu Oct 20 00:26:24 2005 -0700
@@ -40,7 +40,6 @@
 #diff#
 </div>
 
-</body>
-</html>
+#footer#
 
 
--- a/templates/footer.tmpl	Wed Oct 19 20:54:46 2005 -0700
+++ b/templates/footer.tmpl	Thu Oct 20 00:26:24 2005 -0700
@@ -1,2 +1,7 @@
+<div class="logo">
+powered by<br/>
+<a href="http://www.selenic.com/mercurial/">mercurial</a>
+</div>
+
 </body>
 </html>
--- a/templates/header.tmpl	Wed Oct 19 20:54:46 2005 -0700
+++ b/templates/header.tmpl	Thu Oct 20 00:26:24 2005 -0700
@@ -21,6 +21,7 @@
   font-family: sans;
   font-weight: bold;
 }
+
 .metatag {
   background-color: #888888;
   color: white;
@@ -30,6 +31,23 @@
 /* Common */
 pre { margin: 0; }
 
+.logo {
+  background-color: #333;
+  padding: 4pt;
+  margin: 8pt 0 8pt 8pt;
+  font-family: sans;
+  font-size: 60%;
+  color: white;
+  float: right;
+  clear: right;
+  text-align: left;
+}
+
+.logo a {
+  font-weight: bold;
+  font-size: 150%; 
+  color: #999;
+}
 
 /* Changelog entries */
 .changelogEntry { width: 100%; }