Files @ 70f645fa97cc
Branch filter:

Location: kallithea/pylons_app/templates/admin/admin.html

Marcin Kuzminski
Moved repo creation to admin/repos, as part of crud controller. Now repo creation is based on a form, which can be auto filled with data from 404 page. Fixed the error controller to properly give the repo name.
## -*- 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>