permissions.html
45 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r230 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.html"/> | ||||
<%def name="title()"> | ||||
${_('Permissions administration')} | ||||
</%def> | ||||
r362 | ||||
<%def name="breadcrumbs_links()"> | ||||
${h.link_to(_('Admin'),h.url('admin_home'))} | ||||
» | ||||
r384 | ${_('Permissions')} | |||
r230 | </%def> | |||
r384 | ||||
r230 | <%def name="page_nav()"> | |||
${self.menu('admin')} | ||||
</%def> | ||||
r384 | ||||
r230 | <%def name="main()"> | |||
r362 | <div class="box"> | |||
<!-- box / title --> | ||||
<div class="title"> | ||||
${self.breadcrumbs()} | ||||
r230 | </div> | |||
r384 | <h3>${_('Repositories permissions')}</h3> | |||
${h.form(url('permission', id='default_perm'),method='put')} | ||||
<div class="form"> | ||||
<!-- fields --> | ||||
<div class="fields"> | ||||
<div class="field"> | ||||
<div class="label"> | ||||
<label for="default_perm">${_('default repository permission')}:</label> | ||||
</div> | ||||
<div class="select"> | ||||
${h.select('default_perm','repository.read',['repository.none','repository.read','repository.write','repository.admin'])} | ||||
</div> | ||||
</div> | ||||
<div class="buttons"> | ||||
${h.submit('set','set',class_="ui-button ui-widget ui-state-default ui-corner-all")} | ||||
</div> | ||||
</div> | ||||
</div> | ||||
${h.end_form()} | ||||
r362 | </div> | |||
r230 | </%def> | |||