changeset 132:20680c6b0a7f

fixed add repo template
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 09 May 2010 12:19:08 +0200
parents 49c7e191c2cd
children 919b5bcd8630
files pylons_app/templates/admin/add.html
diffstat 1 files changed, 31 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/templates/admin/add.html	Fri May 07 01:02:47 2010 +0200
+++ b/pylons_app/templates/admin/add.html	Sun May 09 12:19:08 2010 +0200
@@ -1,45 +1,42 @@
 ## -*- 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="/images/hgicon.png" type="image/png" />
-    <meta name="robots" content="index, nofollow"/>
-    <link rel="stylesheet" href="/images/style-monoblue.css" type="text/css" />
-       <title> Mercurial repositories add</title>
-</head>
+<%inherit file="/base/base.html"/>
+
+<%def name="title()">
+    ${_('Add new repository')}
+</%def>
 
-<body>
-<div id="container">
-    <div class="page-header">
-        <h1><a href="/">Home</a> / Admin</h1>
-        <ul class="page-nav">
-        </ul>
-    </div>
-    <table cellspacing="0">
+<%def name="breadcrumbs()">
+	${h.link_to(u'Home',h.url('/'))}
+	 / 
+	${h.link_to(u'Admin',h.url('admin_home'))}
+</%def>
+
+<%def name="page_nav()">
+	<li>${h.link_to(u'Home',h.url('/'))}</li>
+	<li class="current">${_('Admin')}</li>
+</%def>
+
+<%def name="main()">
+     <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>
+    </table>   
+</%def>
+
+
+
+
+
 
-    <div id="powered-by">
-        <p>
-        <a href="http://mercurial.selenic.com/" title="Mercurial">
-            <img src="/images/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
+
+