Mercurial > kallithea
annotate rhodecode/templates/admin/permissions/permissions.html @ 2969:5085e51fba3a beta
Implemented #628: Pass server URL to rc-extensions hooks
- updated rc-ext docs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 27 Oct 2012 15:36:53 +0200 |
parents | d2d35cf2b351 |
children | 63e58ef80ef1 d3200c58764e |
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()"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
9 ${h.link_to(_('Admin'),h.url('admin_home'))} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
10 » |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
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"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
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> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
38 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
39 <div class="field"> |
2709
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
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)} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
45 |
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
|
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"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
48 <span class="tooltip" |
904
82aaf4e71817
reimplemented tooltip, refactored tooltip_title into title for proper html,
Marcin Kuzminski <marcin@python-works.com>
parents:
888
diff
changeset
|
49 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'))}"> |
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
|
50 ${_('overwrite existing settings')}</span> </label> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
51 </div> |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
52 </div> |
417
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> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
60 </div> |
417
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> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
68 </div> |
2709
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
69 <div class="field"> |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
70 <div class="label"> |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
71 <label for="default_fork">${_('Repository forking')}:</label> |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
72 </div> |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
73 <div class="select"> |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
74 ${h.select('default_fork','',c.fork_choices)} |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
75 </div> |
d2d35cf2b351
RhodeCode now has a option to explicitly set forking permissions. ref #508
Marcin Kuzminski <marcin@python-works.com>
parents:
2607
diff
changeset
|
76 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
77 <div class="buttons"> |
2607
7ae36df760ce
removed deprecated ui-button
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
78 ${h.submit('set',_('set'),class_="ui-btn large")} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
79 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
80 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
81 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
82 ${h.end_form()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
83 </div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1472
diff
changeset
|
84 </%def> |