annotate pylons_app/templates/admin/admin.html @ 175:d69e19fc2795

removed login from admin, from now we're have to be globally logged in.
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 21 May 2010 20:37:09 +0200
parents fec7d0707e72
children 11e8eb5a92e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
43
2e1247e62c5b changed for pylons 0.1 / 1.0
marcink
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
127
20dc7a5eb748 Html changes and cleanups, made folders for html templates, implemented tags and branches pages
Marcin Kuzminski <marcin@python-works.com>
parents: 108
diff changeset
2 <%inherit file="/base/base.html"/>
175
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
3
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
4 <%def name="title()">
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
5 ${_('Repository managment')}
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
6 </%def>
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
7 <%def name="breadcrumbs()">
174
fec7d0707e72 fixed html in admin templates. Litle refactors
Marcin Kuzminski <marcin@python-works.com>
parents: 159
diff changeset
8 ${h.link_to(u'Admin',h.url('admin_home'))}
175
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
9 /
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
10 </%def>
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
11 <%def name="page_nav()">
159
96285f905073 fixed bug in admin template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
12 <ul class="page-nav">
96285f905073 fixed bug in admin template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
13 <li>${h.link_to(u'Home',h.url('/'))}</li>
96285f905073 fixed bug in admin template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
14 <li class="current">${_('Admin')}</li>
96285f905073 fixed bug in admin template
Marcin Kuzminski <marcin@python-works.com>
parents: 127
diff changeset
15 </ul>
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
16 </%def>
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
17 <%def name="main()">
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
18 %if c.admin_user:
175
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
19 <ul class="submenu">
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
20 <li>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
21 ${h.link_to(u'Repos',h.url('repos'))}
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
22 </li>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
23 <li>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
24 ${h.link_to(u'Users',h.url('users'))}
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
25 </li>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
26 </ul>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
27 <br/>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
28 <div>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
29 <h2>Welcome ${c.admin_username}</h2>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
30 <div id="user_log">
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
31 ${c.log_data}
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
32 </div>
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
33 </div>
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
34 %else:
175
d69e19fc2795 removed login from admin, from now we're have to be globally logged in.
Marcin Kuzminski <marcin@python-works.com>
parents: 174
diff changeset
35 <h2>${_('Sorry only admin users can acces this area')}</h2>
44
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
36 %endif
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
37
d924b931b488 Added managment pages.
marcink
parents: 43
diff changeset
38 </%def>