Mercurial > kallithea
comparison pylons_app/templates/admin/permissions/permissions.html @ 384:c8fc57b92a60
Added permissions template
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 03 Aug 2010 21:25:53 +0200 |
parents | 558eb7c5028f |
children | 3ed2d46a2ca7 |
comparison
equal
deleted
inserted
replaced
383:04f8fd55e6bc | 384:c8fc57b92a60 |
---|---|
6 </%def> | 6 </%def> |
7 | 7 |
8 <%def name="breadcrumbs_links()"> | 8 <%def name="breadcrumbs_links()"> |
9 ${h.link_to(_('Admin'),h.url('admin_home'))} | 9 ${h.link_to(_('Admin'),h.url('admin_home'))} |
10 » | 10 » |
11 ${_('Permissions')} | 11 ${_('Permissions')} |
12 | |
13 </%def> | 12 </%def> |
13 | |
14 <%def name="page_nav()"> | 14 <%def name="page_nav()"> |
15 ${self.menu('admin')} | 15 ${self.menu('admin')} |
16 </%def> | 16 </%def> |
17 | |
17 <%def name="main()"> | 18 <%def name="main()"> |
18 <div class="box"> | 19 <div class="box"> |
19 <!-- box / title --> | 20 <!-- box / title --> |
20 <div class="title"> | 21 <div class="title"> |
21 ${self.breadcrumbs()} | 22 ${self.breadcrumbs()} |
22 </div> | 23 </div> |
23 <!-- end box / title --> | 24 <h3>${_('Repositories permissions')}</h3> |
24 <div class="table"> | 25 ${h.form(url('permission', id='default_perm'),method='put')} |
25 To implement | 26 <div class="form"> |
26 </div> | 27 <!-- fields --> |
28 <div class="fields"> | |
29 | |
30 <div class="field"> | |
31 <div class="label"> | |
32 <label for="default_perm">${_('default repository permission')}:</label> | |
33 </div> | |
34 <div class="select"> | |
35 ${h.select('default_perm','repository.read',['repository.none','repository.read','repository.write','repository.admin'])} | |
36 </div> | |
37 </div> | |
38 <div class="buttons"> | |
39 ${h.submit('set','set',class_="ui-button ui-widget ui-state-default ui-corner-all")} | |
40 </div> | |
41 </div> | |
42 </div> | |
43 ${h.end_form()} | |
27 </div> | 44 </div> |
28 </%def> | 45 </%def> |