Mercurial > kallithea
annotate pylons_app/templates/admin/users/user_add.html @ 173:7c96c0783d43
fixed improper template in admin
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 21 May 2010 03:03:09 +0200 |
parents | 20dc7a5eb748 |
children | fec7d0707e72 |
rev | line source |
---|---|
127
20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents:
50
diff
changeset
|
1 <%inherit file="/base/base.html"/> |
50
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
2 <%def name="title()"> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
3 ${_('User')} - ${_('add new')} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
4 </%def> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
5 <%def name="breadcrumbs()"> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
6 ${h.link_to(u'Home',h.url('/'))} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
7 / |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
8 ${h.link_to(u'Admin',h.url('admin_home'))} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
9 / |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
10 ${h.link_to(u'Users',h.url('users'))} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
11 </%def> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
12 <%def name="page_nav()"> |
173
7c96c0783d43
fixed improper template in admin
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
13 <ul class="page-nav"> |
50
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
14 <li>${h.link_to(u'Home',h.url('/'))}</li> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
15 <li class="current">${_('Admin')}</li> |
173
7c96c0783d43
fixed improper template in admin
Marcin Kuzminski <marcin@python-works.com>
parents:
127
diff
changeset
|
16 </ul> |
50
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
17 </%def> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
18 <%def name="main()"> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
19 <ul class="submenu"> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
20 <li> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
21 ${h.link_to(u'Repos',h.url('repos'))} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
22 </li> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
23 <li class="current_submenu"> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
24 ${h.link_to(u'Users',h.url('users'))} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
25 </li> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
26 </ul> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
27 <div> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
28 <h2>${_('User')} - ${_('add new')}</h2> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
29 ${h.form(url('users'))} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
30 <table> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
31 <tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
32 <td>${_('Username')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
33 <td>${h.text('username')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
34 </tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
35 <tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
36 <td>${_('password')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
37 <td>${h.text('password')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
38 </tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
39 <tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
40 <td>${_('Active')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
41 <td>${h.checkbox('active')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
42 </tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
43 <tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
44 <td></td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
45 <td>${h.submit('add','add')}</td> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
46 </tr> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
47 |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
48 </table> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
49 |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
50 ${h.end_form()} |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
51 </div> |
73f413946c14
user managment implementation continued update/delete/create works
Marcin Kuzminski <marcin@python-blog.com>
parents:
diff
changeset
|
52 </%def> |