##// END OF EJS Templates
removed login from admin, from now we're have to be globally logged in.
removed login from admin, from now we're have to be globally logged in.

File last commit:

r175:d69e19fc default
r175:d69e19fc default
Show More
admin.html
37 lines | 827 B | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repository managment')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
</%def>
<%def name="page_nav()">
<ul class="page-nav">
<li>${h.link_to(u'Home',h.url('/'))}</li>
<li class="current">${_('Admin')}</li>
</ul>
</%def>
<%def name="main()">
%if c.admin_user:
<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>
%else:
<h2>${_('Sorry only admin users can acces this area')}</h2>
%endif
</%def>