Files
@ da59b7e07e3c
Branch filter:
Location: kallithea/pylons_app/templates/admin/admin.html - annotation
da59b7e07e3c
739 B
text/html
Changed import to base. Removed action logging from auth to simplehg.
Splited loggin and invalidation action to private methods inside simplehg.
Splited loggin and invalidation action to private methods inside simplehg.
20dc7a5eb748 20dc7a5eb748 d69e19fc2795 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 fec7d0707e72 d69e19fc2795 20dc7a5eb748 20dc7a5eb748 11e8eb5a92e3 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 d69e19fc2795 20dc7a5eb748 d69e19fc2795 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 | ## -*- 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()">
${self.menu('admin')}
</%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>
|