Mercurial > kallithea
comparison pylons_app/templates/admin/repos/repo_edit.html @ 216:c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 24 May 2010 22:20:21 +0200 |
parents | 11e8eb5a92e3 |
children | e6c802a8dede |
comparison
equal
deleted
inserted
replaced
215:70f645fa97cc | 216:c8162373f214 |
---|---|
1 <%inherit file="base/base.html"/> | 1 ## -*- coding: utf-8 -*- |
2 <%inherit file="/base/base.html"/> | |
3 | |
2 <%def name="title()"> | 4 <%def name="title()"> |
3 ${_('Repository managment')} | 5 ${_('Repositories administration')} |
4 </%def> | 6 </%def> |
5 <%def name="breadcrumbs()"> | 7 <%def name="breadcrumbs()"> |
6 ${h.link_to(u'Admin',h.url('admin_home'))} | 8 ${h.link_to(u'Admin',h.url('admin_home'))} |
7 / | 9 / |
8 ${h.link_to(u'Repos managment',h.url('repos'))} | |
9 </%def> | 10 </%def> |
10 <%def name="page_nav()"> | 11 <%def name="page_nav()"> |
11 ${self.menu('admin')} | 12 ${self.menu('admin')} |
13 ${self.submenu('repos')} | |
12 </%def> | 14 </%def> |
13 <%def name="main()"> | 15 <%def name="main()"> |
14 <ul class="submenu"> | |
15 <li class="current_submenu"> | |
16 ${h.link_to(u'Repos',h.url('repos'))} | |
17 </li> | |
18 <li> | |
19 ${h.link_to(u'Users',h.url('users'))} | |
20 </li> | |
21 </ul> | |
22 <div> | 16 <div> |
23 <h2>${_('Mercurial repos')}</h2> | 17 <h2>${_('Repositories')} - ${_('edit')}</h2> |
18 ${h.form(url('repos'))} | |
19 <table> | |
20 <tr> | |
21 <td>${_('Name')}</td> | |
22 <td>${h.text('name',c.new_repo)}</td> | |
23 </tr> | |
24 <tr> | |
25 <td>${_('Description')}</td> | |
26 <td>${h.textarea('description',cols=23,rows=5)}</td> | |
27 </tr> | |
28 <tr> | |
29 <td>${_('Private')}</td> | |
30 <td>${h.checkbox('private')}</td> | |
31 </tr> | |
32 <tr> | |
33 <td></td> | |
34 <td>${h.submit('add','add')}</td> | |
35 </tr> | |
36 | |
37 </table> | |
38 ${h.end_form()} | |
24 </div> | 39 </div> |
25 </%def> | 40 </%def> |