permissions.html
52 lines
| 1.7 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.html"/> | ||||
<%def name="title()"> | ||||
|
r4116 | ${_('Permissions administration')} | ||
%if c.rhodecode_name: | ||||
· ${c.rhodecode_name} | ||||
%endif | ||||
r547 | </%def> | |||
<%def name="breadcrumbs_links()"> | ||||
r1888 | ${h.link_to(_('Admin'),h.url('admin_home'))} | |||
r547 | » | |||
|
r3654 | ${_('Permissions')} | ||
r547 | </%def> | |||
<%def name="page_nav()"> | ||||
|
r3197 | ${self.menu('admin')} | ||
r547 | </%def> | |||
|
r4116 | |||
r547 | <%def name="main()"> | |||
|
r4116 | <div class="box"> | ||
r547 | <div class="title"> | |||
r1888 | ${self.breadcrumbs()} | |||
r547 | </div> | |||
r3057 | ||||
|
r4116 | ##main | ||
<div style="width: 150px; float:left"> | ||||
<ul class="nav nav-pills nav-stacked"> | ||||
<li> | ||||
<div class="gravatar_box" style="height: 26px"> | ||||
<div class="gravatar" style="float: left"> | ||||
<i class="icon-ban-circle" style="font-size: 26px"></i> | ||||
</div> | ||||
<div class="truncate" style="margin:10px 0px 10px 0px; color:#5f5f5f; float:left; width: 100px"> | ||||
<strong>${_('Permissions')}</strong> | ||||
</div> | ||||
</div> | ||||
</li> | ||||
<li class="${'active' if c.active=='globals' else ''}"><a href="${h.url('admin_permissions')}">${_('Global')}</a></li> | ||||
<li class="${'active' if c.active=='ips' else ''}"><a href="${h.url('admin_permissions_ips')}">${_('IP whitelist')}</a></li> | ||||
<li class="${'active' if c.active=='perms' else ''}"><a href="${h.url('admin_permissions_perms')}">${_('Overview')}</a></li> | ||||
</ul> | ||||
</div> | ||||
r3734 | ||||
|
r4116 | <div style="width:750px; float:left; padding: 10px 0px 0px 20px;margin: 0px 0px 0px 10px; border-left: 1px solid #DDDDDD"> | ||
<%include file="/admin/permissions/permissions_${c.active}.html"/> | ||||
r1888 | </div> | |||
r547 | </div> | |||
r3125 | ||||
r1888 | </%def> | |||