annotate pylons_app/templates/admin/repos/repo_add.html @ 174:fec7d0707e72

fixed html in admin templates. Litle refactors
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 21 May 2010 20:27:28 +0200
parents pylons_app/templates/admin/add.html@9936a1d359e0
children 11e8eb5a92e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
2 <%inherit file="/base/base.html"/>
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
3
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
4 <%def name="title()">
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
5 ${_('Add new repository')}
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
6 </%def>
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
7
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
8 <%def name="breadcrumbs()">
174
fec7d0707e72 fixed html in admin templates. Litle refactors
Marcin Kuzminski <marcin@python-works.com>
parents: 161
diff changeset
9 ${h.link_to(u'Admin',h.url('admin_home'))}
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
10 /
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
11 </%def>
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
12
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
13 <%def name="page_nav()">
161
9936a1d359e0 fixed pages naves html errors
Marcin Kuzminski <marcin@python-works.com>
parents: 132
diff changeset
14 <ul class="page-nav">
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
15 <li>${h.link_to(u'Home',h.url('/'))}</li>
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
16 <li class="current">${_('Admin')}</li>
161
9936a1d359e0 fixed pages naves html errors
Marcin Kuzminski <marcin@python-works.com>
parents: 132
diff changeset
17 </ul>
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
18 </%def>
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
19
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
20 <%def name="main()">
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
21 <table cellspacing="0">
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
22 <tr>
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
23 <td><h1>${c.msg}</h1></td>
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
24 </tr>
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
25 <tr>
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
26 <td><h2>${c.new_repo}</h2></td>
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
27 </tr>
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
28 </table>
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
29 </%def>
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
30
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
31
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
32
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
33
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
34
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
35
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
36
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
37
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
38
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
39
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
40
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
41
132
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
42
20680c6b0a7f fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
43