##// END OF EJS Templates
removed search field from templates
removed search field from templates

File last commit:

r182:11e8eb5a default
r189:41010121 default
Show More
admin.html
34 lines | 739 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()">
new way of menu generation for base, and all admin pages
r182 ${self.menu('admin')}
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>