##// END OF EJS Templates
Changed auth basic handler only for mercurial request.
Changed auth basic handler only for mercurial request.

File last commit:

r175:d69e19fc default
r177:93bd77e1 default
Show More
admin.html
37 lines | 827 B | text/html | HtmlLexer
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
removed login from admin, from now we're have to be globally logged in.
r175
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%def name="title()">
${_('Repository managment')}
</%def>
<%def name="breadcrumbs()">
fixed html in admin templates. Litle refactors
r174 ${h.link_to(u'Admin',h.url('admin_home'))}
removed login from admin, from now we're have to be globally logged in.
r175 /
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="page_nav()">
fixed bug in admin template
r159 <ul class="page-nav">
<li>${h.link_to(u'Home',h.url('/'))}</li>
<li class="current">${_('Admin')}</li>
</ul>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="main()">
%if c.admin_user:
removed login from admin, from now we're have to be globally logged in.
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>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 %else:
removed login from admin, from now we're have to be globally logged in.
r175 <h2>${_('Sorry only admin users can acces this area')}</h2>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 %endif
</%def>