Mercurial > kallithea
view pylons_app/templates/login.html @ 282:237470e64bb8
switched filters into webhelpers for easy of usage.
Rewrite of html to use predefined templates from branches shortlog tags, for DRY usage.
Added info messages about empty branches/tags etc.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Jun 2010 23:56:16 +0200 |
parents | a55c17874486 |
children | 15e96b5a2685 |
line wrap: on
line source
## -*- coding: utf-8 -*- <%inherit file="base/base.html"/> <%def name="title()"> ${c.repos_prefix} Mercurial Repositories </%def> <%def name="breadcrumbs()"> ${c.repos_prefix} Mercurial Repositories </%def> <%def name="page_nav()"> ${self.menu('home')} </%def> <%def name="main()"> <div> <br /> <h2>${_('Login')}</h2> ${h.form(h.url.current())} <table> <tr> <td>${_('Username')}</td> <td>${h.text('username')}</td> <td>${self.get_form_error('username')}</td> </tr> <tr> <td>${_('Password')}</td> <td>${h.password('password')}</td> <td>${self.get_form_error('password')}</td> </tr> <tr> <td></td> <td>${h.submit('login','login')}</td> </tr> </table> ${h.end_form()} </div> </%def>