diff pylons_app/templates/add.html @ 20:bbaab7501c1a

Added custom templates, did over check of code to make it work. Added templating for add repository, and styling. App globals now handles our custom static files. (logo etc can be changed)
author Marcin Kuzminski
date Sun, 28 Feb 2010 01:52:38 +0100
parents
children 8b06c420491d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pylons_app/templates/add.html	Sun Feb 28 01:52:38 2010 +0100
@@ -0,0 +1,45 @@
+## -*- coding: utf-8 -*-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <link rel="icon" href="${c.staticurl}hgicon.png" type="image/png" />
+    <meta name="robots" content="index, nofollow"/>
+    <link rel="stylesheet" href="${c.staticurl}style-monoblue.css" type="text/css" />
+       <title> Mercurial repositories add</title>
+</head>
+
+<body>
+<div id="container">
+    <div class="page-header">
+        <h1><a href="/">Home</a> / Admin</h1>
+        <ul class="page-nav">
+        </ul>
+    </div>
+    <table cellspacing="0">
+        <tr>
+            <td><h1>${c.msg}</h1></td>
+        </tr>
+        <tr>
+            <td><h2>${c.new_repo}</h2></td>
+        </tr>
+    </table>    
+    <div class="page-footer">
+        Mercurial Repository: admin
+    </div>
+
+    <div id="powered-by">
+        <p>
+        <a href="http://mercurial.selenic.com/" title="Mercurial">
+            <img src="${c.staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
+        </p>
+    </div>
+
+    <div id="corner-top-left"></div>
+    <div id="corner-top-right"></div>
+    <div id="corner-bottom-left"></div>
+    <div id="corner-bottom-right"></div>
+
+</div>
+</body>
+</html>
+        
\ No newline at end of file