settings.html
56 lines
| 2.3 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.html"/> | ||||
<%def name="title()"> | ||||
|
r4116 | ${_('Settings administration')} | ||
%if c.rhodecode_name: | ||||
· ${c.rhodecode_name} | ||||
%endif | ||||
r547 | </%def> | |||
<%def name="breadcrumbs_links()"> | ||||
r3392 | ${h.link_to(_('Admin'),h.url('admin_home'))} | |||
» | ||||
|
r3654 | ${_('Settings')} | ||
r547 | </%def> | |||
<%def name="page_nav()"> | ||||
|
r3197 | ${self.menu('admin')} | ||
r547 | </%def> | |||
<%def name="main()"> | ||||
<div class="box"> | ||||
<div class="title"> | ||||
r1888 | ${self.breadcrumbs()} | |||
r547 | </div> | |||
r2674 | ||||
|
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-cog" style="font-size: 26px"></i> | ||||
</div> | ||||
<div style="margin:10px 0px 10px 0px; color:#5f5f5f; float:left"> | ||||
<strong>${_('Settings')}</strong> | ||||
</div> | ||||
</div> | ||||
</li> | ||||
<li class="${'active' if c.active=='vcs' else ''}"><a href="${h.url('admin_settings')}">${_('VCS')}</a></li> | ||||
<li class="${'active' if c.active=='mapping' else ''}"><a href="${h.url('admin_settings_mapping')}">${_('Remap and rescan')}</a></li> | ||||
<li class="${'active' if c.active=='global' else ''}"><a href="${h.url('admin_settings_global')}">${_('Global')}</a></li> | ||||
<li class="${'active' if c.active=='visual' else ''}"><a href="${h.url('admin_settings_visual')}">${_('Visual')}</a></li> | ||||
<li class="${'active' if c.active=='email' else ''}"><a href="${h.url('admin_settings_email')}">${_('Email')}</a></li> | ||||
<li class="${'active' if c.active=='hooks' else ''}"><a href="${h.url('admin_settings_hooks')}">${_('Hooks')}</a></li> | ||||
<li class="${'active' if c.active=='search' else ''}"><a href="${h.url('admin_settings_search')}">${_('Full text search')}</a></li> | ||||
<li class="${'active' if c.active=='system' else ''}"><a href="${h.url('admin_settings_system')}">${_('System Info')}</a></li> | ||||
</ul> | ||||
r2192 | </div> | |||
r2207 | ||||
|
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/settings/settings_${c.active}.html"/> | ||||
</div> | ||||
</div> | ||||
r2207 | ||||
r1888 | </%def> | |||