##// END OF EJS Templates
Added readme, and changed version display
Added readme, and changed version display

File last commit:

r219:64e1125f default
r224:fdcef6ea default
Show More
admin.html
26 lines | 546 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()">
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${_('Administration')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%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')}
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${self.submenu('')}
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 <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>