Mercurial > kallithea
changeset 174:fec7d0707e72
fixed html in admin templates. Litle refactors
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 21 May 2010 20:27:28 +0200 |
parents | 7c96c0783d43 |
children | d69e19fc2795 |
files | pylons_app/templates/admin/add.html pylons_app/templates/admin/admin.html pylons_app/templates/admin/repos/repo_add.html pylons_app/templates/admin/repos/repo_edit.html pylons_app/templates/admin/repos/repos.html pylons_app/templates/admin/users/user_add.html pylons_app/templates/admin/users/user_edit.html pylons_app/templates/admin/users/users.html |
diffstat | 8 files changed, 46 insertions(+), 57 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/templates/admin/add.html Fri May 21 03:03:09 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -## -*- coding: utf-8 -*- -<%inherit file="/base/base.html"/> - -<%def name="title()"> - ${_('Add new repository')} -</%def> - -<%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / - ${h.link_to(u'Admin',h.url('admin_home'))} -</%def> - -<%def name="page_nav()"> -<ul class="page-nav"> - <li>${h.link_to(u'Home',h.url('/'))}</li> - <li class="current">${_('Admin')}</li> -</ul> -</%def> - -<%def name="main()"> - <table cellspacing="0"> - <tr> - <td><h1>${c.msg}</h1></td> - </tr> - <tr> - <td><h2>${c.new_repo}</h2></td> - </tr> - </table> -</%def> - - - - - - - - - - - - - -
--- a/pylons_app/templates/admin/admin.html Fri May 21 03:03:09 2010 +0200 +++ b/pylons_app/templates/admin/admin.html Fri May 21 20:27:28 2010 +0200 @@ -15,9 +15,9 @@ ${_('Repository managment')} </%def> <%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} + ${h.link_to(u'Admin',h.url('admin_home'))} / - ${h.link_to(u'Admin',h.url('admin_home'))} + </%def> <%def name="page_nav()"> <ul class="page-nav">
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pylons_app/templates/admin/repos/repo_add.html Fri May 21 20:27:28 2010 +0200 @@ -0,0 +1,43 @@ +## -*- coding: utf-8 -*- +<%inherit file="/base/base.html"/> + +<%def name="title()"> + ${_('Add new repository')} +</%def> + +<%def name="breadcrumbs()"> + ${h.link_to(u'Admin',h.url('admin_home'))} + / +</%def> + +<%def name="page_nav()"> +<ul class="page-nav"> + <li>${h.link_to(u'Home',h.url('/'))}</li> + <li class="current">${_('Admin')}</li> +</ul> +</%def> + +<%def name="main()"> + <table cellspacing="0"> + <tr> + <td><h1>${c.msg}</h1></td> + </tr> + <tr> + <td><h2>${c.new_repo}</h2></td> + </tr> + </table> +</%def> + + + + + + + + + + + + + +
--- a/pylons_app/templates/admin/repos/repo_edit.html Fri May 21 03:03:09 2010 +0200 +++ b/pylons_app/templates/admin/repos/repo_edit.html Fri May 21 20:27:28 2010 +0200 @@ -3,8 +3,6 @@ ${_('Repository managment')} </%def> <%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / ${h.link_to(u'Admin',h.url('admin_home'))} / ${h.link_to(u'Repos managment',h.url('repos'))}
--- a/pylons_app/templates/admin/repos/repos.html Fri May 21 03:03:09 2010 +0200 +++ b/pylons_app/templates/admin/repos/repos.html Fri May 21 20:27:28 2010 +0200 @@ -3,8 +3,6 @@ ${_('Repository managment')} </%def> <%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / ${h.link_to(u'Admin',h.url('admin_home'))} / ${h.link_to(u'Repos managment',h.url('repos'))}
--- a/pylons_app/templates/admin/users/user_add.html Fri May 21 03:03:09 2010 +0200 +++ b/pylons_app/templates/admin/users/user_add.html Fri May 21 20:27:28 2010 +0200 @@ -3,8 +3,6 @@ ${_('User')} - ${_('add new')} </%def> <%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / ${h.link_to(u'Admin',h.url('admin_home'))} / ${h.link_to(u'Users',h.url('users'))}
--- a/pylons_app/templates/admin/users/user_edit.html Fri May 21 03:03:09 2010 +0200 +++ b/pylons_app/templates/admin/users/user_edit.html Fri May 21 20:27:28 2010 +0200 @@ -3,8 +3,6 @@ ${_('User')} - ${c.user.username} </%def> <%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / ${h.link_to(u'Admin',h.url('admin_home'))} / ${h.link_to(u'Users',h.url('users'))}
--- a/pylons_app/templates/admin/users/users.html Fri May 21 03:03:09 2010 +0200 +++ b/pylons_app/templates/admin/users/users.html Fri May 21 20:27:28 2010 +0200 @@ -1,10 +1,8 @@ <%inherit file="/base/base.html"/> <%def name="title()"> - ${_('Repository managment')} + ${_('Users managment')} </%def> <%def name="breadcrumbs()"> - ${h.link_to(u'Home',h.url('/'))} - / ${h.link_to(u'Admin',h.url('admin_home'))} / ${h.link_to(u'Users managment',h.url('users'))}