repo_edit.html
71 lines
| 2.6 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
|
r3600 | ## | ||
## See also repo_settings.html | ||||
## | ||||
r547 | <%inherit file="/base/base.html"/> | |||
<%def name="title()"> | ||||
|
r4116 | ${_('%s repository settings') % c.repo_info.repo_name} | ||
%if c.rhodecode_name: | ||||
· ${c.rhodecode_name} | ||||
%endif | ||||
r547 | </%def> | |||
<%def name="breadcrumbs_links()"> | ||||
r3562 | ${_('Settings')} | |||
r547 | </%def> | |||
<%def name="page_nav()"> | ||||
|
r4116 | ${self.menu('repositories')} | ||
r547 | </%def> | |||
<%def name="main()"> | ||||
|
r3988 | ${self.repo_context_bar('options')} | ||
|
r4116 | <div class="box"> | ||
<!--<div class="title">--> | ||||
<!--${self.breadcrumbs()}--> | ||||
<!--</div>--> | ||||
r1888 | ||||
|
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-group" style="font-size: 26px"></i>--> | ||||
<!--</div>--> | ||||
<!--<div style="margin:10px 0px 10px 0px; color:#5f5f5f; float:left">--> | ||||
<!--<strong>${'repo-info'}</strong>--> | ||||
<!--</div>--> | ||||
<!--</div>--> | ||||
<!--</li>--> | ||||
<li class="${'active' if c.active=='settings' else ''}"> | ||||
<a href="${h.url('edit_repo', repo_name=c.repo_name)}">${_('Settings')}</a> | ||||
</li> | ||||
<li class="${'active' if c.active=='permissions' else ''}"> | ||||
<a href="${h.url('edit_repo_perms', repo_name=c.repo_name)}">${_('Permissions')}</a> | ||||
</li> | ||||
<li class="${'active' if c.active=='advanced' else ''}"> | ||||
<a href="${h.url('edit_repo_advanced', repo_name=c.repo_name)}">${_('Advanced')}</a> | ||||
</li> | ||||
<li class="${'active' if c.active=='fields' else ''}"> | ||||
<a href="${h.url('edit_repo_fields', repo_name=c.repo_name)}">${_('Extra fields')}</a> | ||||
</li> | ||||
<li class="${'active' if c.active=='caches' else ''}"> | ||||
<a href="${h.url('edit_repo_caches', repo_name=c.repo_name)}">${_('Caches')}</a> | ||||
</li> | ||||
<li class="${'active' if c.active=='remote' else ''}"> | ||||
<a href="${h.url('edit_repo_remote', repo_name=c.repo_name)}">${_('Remote')}</a> | ||||
</li> | ||||
<li class="${'active' if c.active=='statistics' else ''}"> | ||||
<a href="${h.url('edit_repo_statistics', repo_name=c.repo_name)}">${_('Statistics')}</a> | ||||
</li> | ||||
</ul> | ||||
r699 | </div> | |||
r1888 | ||||
|
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/repos/repo_edit_${c.active}.html"/> | ||||
|
r3600 | </div> | ||
r699 | </div> | |||
r1888 | </%def> | |||