admin.html
34 lines
| 739 B
| text/html
|
HtmlLexer
r127 | ## -*- coding: utf-8 -*- | ||
<%inherit file="/base/base.html"/> | |||
r175 | |||
r127 | <%def name="title()"> | ||
${_('Repository managment')} | |||
</%def> | |||
<%def name="breadcrumbs()"> | |||
r174 | ${h.link_to(u'Admin',h.url('admin_home'))} | ||
r175 | / | ||
r127 | </%def> | ||
<%def name="page_nav()"> | |||
r182 | ${self.menu('admin')} | ||
r127 | </%def> | ||
<%def name="main()"> | |||
%if c.admin_user: | |||
r175 | <ul class="submenu"> | ||
<li> | |||
${h.link_to(u'Repos',h.url('repos'))} | |||
</li> | |||
<li> | |||
${h.link_to(u'Users',h.url('users'))} | |||
</li> | |||
</ul> | |||
<br/> | |||
<div> | |||
<h2>Welcome ${c.admin_username}</h2> | |||
<div id="user_log"> | |||
${c.log_data} | |||
</div> | |||
</div> | |||
r127 | %else: | ||
r175 | <h2>${_('Sorry only admin users can acces this area')}</h2> | ||
r127 | %endif | ||
</%def> |