Mercurial > kallithea
annotate pylons_app/templates/admin/permissions/permissions.html @ 525:87d80c84df09
added search in specific repository
added delete to my page view handled by separate controller for deleting users own repos, added fork draft
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 29 Sep 2010 22:38:54 +0200 |
parents | fdebc5f67dc6 |
children |
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()"> |
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 ${_('Permissions administration')} |
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"> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
29 |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
30 <div class="field"> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
31 <div class="label"> |
477 | 32 <label for="default_perm">${_('Repository permission')}:</label> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
33 </div> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
34 <div class="select"> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
35 ${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
|
36 |
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
|
37 ${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
|
38 <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
|
39 <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
|
40 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
|
41 ${_('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
|
42 </div> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
43 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
44 <div class="field"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
45 <div class="label"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
46 <label for="default_register">${_('Registration')}:</label> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
47 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
48 <div class="select"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
49 ${h.select('default_register','',c.register_choices)} |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
50 </div> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
51 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
52 <div class="field"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
53 <div class="label"> |
477 | 54 <label for="default_create">${_('Repository creation')}:</label> |
417
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
55 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
56 <div class="select"> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
57 ${h.select('default_create','',c.create_choices)} |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
58 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
59 </div> |
3ed2d46a2ca7
permission refactoring,
Marcin Kuzminski <marcin@python-works.com>
parents:
384
diff
changeset
|
60 |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
61 <div class="buttons"> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
62 ${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
|
63 </div> |
384
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
64 </div> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
65 </div> |
c8fc57b92a60
Added permissions template
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
66 ${h.end_form()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
252
diff
changeset
|
67 </div> |
230
d982ed8e32d8
Admin templating updates, added rest permission controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
68 </%def> |