Mercurial > kallithea
annotate rhodecode/templates/admin/permissions/permissions.html @ 699:52da7cba88a6 beta
Code refactor for auth func, preparing for ldap support
css updates.
turned off graph,and branches for git changelog
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 16 Nov 2010 08:52:31 +0100 |
parents | dd532af216d9 |
children | 4b354421bf29 |
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"> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
40 <div class="label"> |
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()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
76 </div> |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
77 </%def> |