Mercurial > kallithea
annotate rhodecode/templates/admin/permissions/permissions.html @ 706:4b354421bf29 beta
templates for ldap settings
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 17 Nov 2010 22:12:20 +0100 |
parents | dd532af216d9 |
children | b9bbc0d6e9f3 |
rev | line source |
---|---|
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <%inherit file="/base/base.html"/> |
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 |
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <%def name="title()"> |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
5 ${_('Permissions administration')} - ${c.rhodecode_name} |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 </%def> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
7 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
8 <%def name="breadcrumbs_links()"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
9 ${h.link_to(_('Admin'),h.url('admin_home'))} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
10 » |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
11 ${_('Permissions')} |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 </%def> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
13 |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 <%def name="page_nav()"> |
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 ${self.menu('admin')} |
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 </%def> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
17 |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 <%def name="main()"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
19 <div class="box"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
20 <!-- box / title --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
21 <div class="title"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
22 ${self.breadcrumbs()} |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 </div> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
24 <h3>${_('Default permissions')}</h3> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
25 ${h.form(url('permission', id='default'),method='put')} |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
26 <div class="form"> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
27 <!-- fields --> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
28 <div class="fields"> |
673
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
29 <div class="field"> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
30 <div class="label label-checkbox"> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
31 <label for="anonymous">${_('Anonymous access')}:</label> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
32 </div> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
33 <div class="checkboxes"> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
34 <div class="checkbox"> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
35 ${h.checkbox('anonymous',True)} |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
36 </div> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
37 </div> |
dd532af216d9
#49 Enabled anonymous access for web interface controllable from permissions pannel
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
38 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
39 <div class="field"> |
706
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
40 <div class="label label-select"> |
477 | 41 <label for="default_perm">${_('Repository permission')}:</label> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
42 </div> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
43 <div class="select"> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
44 ${h.select('default_perm','',c.perms_choices)} |
418
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
45 |
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
46 ${h.checkbox('overwrite_default','true')} |
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
47 <label for="overwrite_default"> |
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
48 <span class="tooltip" |
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
49 tooltip_title="${h.tooltip(_('All default permissions on each repository will be reset to choosen permission, note that all custom default permission on repositories will be lost'))}"> |
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
50 ${_('overwrite existing settings')}</span> </label> |
63c697d1a631
added logic for changin defualt permissions, and option to overwrite all defualt permissions on each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
417
diff
changeset
|
51 </div> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
52 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
53 <div class="field"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
54 <div class="label"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
55 <label for="default_register">${_('Registration')}:</label> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
56 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
57 <div class="select"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
58 ${h.select('default_register','',c.register_choices)} |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
59 </div> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
60 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
61 <div class="field"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
62 <div class="label"> |
477 | 63 <label for="default_create">${_('Repository creation')}:</label> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
64 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
65 <div class="select"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
66 ${h.select('default_create','',c.create_choices)} |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
67 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
68 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
69 |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
70 <div class="buttons"> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
71 ${h.submit('set','set',class_="ui-button ui-widget ui-state-default ui-corner-all")} |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
72 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
73 </div> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
74 </div> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
75 ${h.end_form()} |
706
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
76 ##LDAP |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
77 <h3>${_('LDAP settings')}</h3> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
78 ${h.form(url('permissions_ldap',id_iser='default'),method='put')} |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
79 <div class="form"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
80 <div class="fields"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
81 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
82 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
83 <div class="label label-checkbox"><label for="ldap_active">${_('Enable ldap')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
84 <div class="checkboxes"><div class="checkbox">${h.checkbox('ldap_active',True,class_='small')}</div></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
85 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
86 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
87 <div class="label"><label for="ldap_host">${_('Host')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
88 <div class="input">${h.text('ldap_host',class_='small')}</div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
89 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
90 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
91 <div class="label"><label for="ldap_port">${_('Port')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
92 <div class="input">${h.text('ldap_port',class_='small')}</div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
93 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
94 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
95 <div class="label label-checkbox"><label for="ldap_ldaps">${_('LDAPS')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
96 <div class="checkboxes"><div class="checkbox">${h.checkbox('ldap_ldaps',True,class_='small')}</div></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
97 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
98 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
99 <div class="label"><label for="ldap_dn_user">${_('Account')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
100 <div class="input">${h.text('ldap_dn_user',class_='small')}</div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
101 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
102 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
103 <div class="label"><label for="ldap_dn_pass">${_('Password')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
104 <div class="input">${h.password('ldap_dn_pass',class_='small')}</div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
105 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
106 <div class="field"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
107 <div class="label"><label for="ldap_base_dn">${_('Base DN')}</label></div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
108 <div class="input">${h.text('ldap_base_dn',class_='small')}</div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
109 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
110 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
111 <div class="buttons"> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
112 ${h.submit('save','Save',class_="ui-button ui-widget ui-state-default ui-corner-all")} |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
113 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
114 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
115 </div> |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
116 ${h.end_form()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
117 </div> |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
118 </%def> |
706
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
119 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
120 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
121 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
122 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
123 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
124 |
4b354421bf29
templates for ldap settings
Marcin Kuzminski <marcin@python-works.com>
parents:
673
diff
changeset
|
125 |