##// END OF EJS Templates
Added permissions template
marcink -
r384:c8fc57b9 default
parent child Browse files
Show More
@@ -9,20 +9,37 b''
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 </%def>
12
13
13 </%def>
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">
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'])}
26 </div>
36 </div>
27 </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()}
44 </div>
28 </%def>
45 </%def>
General Comments 0
You need to be logged in to leave comments. Login now