Mercurial > kallithea
annotate pylons_app/templates/admin/repos/repo_add.html @ 182:11e8eb5a92e3
new way of menu generation for base, and all admin pages
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 21 May 2010 23:51:02 +0200 |
parents | fec7d0707e72 |
children | c8162373f214 |
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()"> |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
174
diff
changeset
|
14 ${self.menu('admin')} |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
15 </%def> |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
16 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
17 <%def name="main()"> |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
18 <table cellspacing="0"> |
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
19 <tr> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
20 <td><h1>${c.msg}</h1></td> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
21 </tr> |
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><h2>${c.new_repo}</h2></td> |
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
24 </tr> |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
25 </table> |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
26 </%def> |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
27 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
28 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
29 |
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 |
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
32 |
132
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 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
35 |
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
36 |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
37 |
20
bbaab7501c1a
Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff
changeset
|
38 |
132
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
39 |
20680c6b0a7f
fixed add repo template
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
40 |