##// END OF EJS Templates
ui: added admin nav into admin pages
ui: added admin nav into admin pages

File last commit:

r3442:3bc8f801 default
r3564:9f92b9de new-ui
Show More
repo_group_edit.mako
48 lines | 1.6 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('%s repository group settings') % c.repo_group.name}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
dan
search: new UI for search, and repo group context search...
r3442 <%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
templating: use .mako as extensions for template files.
r1282 </%def>
dan
search: new UI for search, and repo group context search...
r3442 <%def name="menu_bar_subnav()">
${self.repo_group_menu(active='options')}
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="main_content()">
<%include file="/admin/repo_groups/repo_group_edit_${c.active}.mako"/>
</%def>
<%def name="main()">
dan
search: new UI for search, and repo group context search...
r3442
templating: use .mako as extensions for template files.
r1282 <div class="box">
<div class="title">
dan
search: new UI for search, and repo group context search...
r3442 ${self.repo_group_page_title(c.repo_group)}
templating: use .mako as extensions for template files.
r1282 </div>
<div class="sidebar-col-wrapper">
##main
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
repo-groups: moved to pyramid
r2175 <li class="${'active' if c.active=='settings' else ''}"><a href="${h.route_path('edit_repo_group', repo_group_name=c.repo_group.group_name)}">${_('Settings')}</a></li>
<li class="${'active' if c.active=='permissions' else ''}"><a href="${h.route_path('edit_repo_group_perms', repo_group_name=c.repo_group.group_name)}">${_('Permissions')}</a></li>
<li class="${'active' if c.active=='advanced' else ''}"><a href="${h.route_path('edit_repo_group_advanced', repo_group_name=c.repo_group.group_name)}">${_('Advanced')}</a></li>
templating: use .mako as extensions for template files.
r1282 <li class="${'active' if c.active=='integrations' else ''}"><a href="${h.route_path('repo_group_integrations_home', repo_group_name=c.repo_group.group_name)}">${_('Integrations')}</a></li>
</ul>
</div>
<div class="main-content-full-width">
${self.main_content()}
</div>
</div>
</div>
dan
search: new UI for search, and repo group context search...
r3442
templating: use .mako as extensions for template files.
r1282 </%def>