Mercurial > kallithea
view rhodecode/templates/login.html @ 4147:1c8f818787b3 rhodecode-2.2.5-gpl
old style: show the full link box on summary page - no overlap or truncation
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jul 2014 19:03:23 -0400 |
parents | 05ed7e20bd0f |
children |
line wrap: on
line source
## -*- coding: utf-8 -*- <%inherit file="base/root.html"/> <%def name="title()"> ${_('Log In')} %if c.rhodecode_name: · ${c.rhodecode_name} %endif </%def> <div id="header"> <div id="header-inner" class="title"> <div id="logo"> <div class="header"> <a href="${h.url('home')}"><img src="${h.url('/images/kallithea-logo.png')}" alt="RhodeCode"/></a> </div> %if c.rhodecode_name: <div class="branding">- ${c.rhodecode_name}</div> %endif </div> </div> </div> <div id="login"> <%include file="/base/flash_msg.html"/> <!-- login --> <div class="title withlogo"> %if c.rhodecode_name: <h5>${_('Log In to %s') % c.rhodecode_name}</h5> %else: <h5>${_('Log In')}</h5> %endif </div> <div class="inner"> ${h.form(h.url.current(came_from=c.came_from))} <div class="form"> <!-- fields --> <div class="fields"> <div class="field"> <div class="label"> <label for="username">${_('Username')}:</label> </div> <div class="input"> ${h.text('username',class_='focus large')} </div> </div> <div class="field"> <div class="label"> <label for="password">${_('Password')}:</label> </div> <div class="input"> ${h.password('password',class_='focus large')} </div> </div> <div class="field"> <div class="checkbox"> <input type="checkbox" id="remember" name="remember" /> <label for="remember">${_('Remember me')}</label> </div> </div> <div class="buttons"> ${h.submit('sign_in',_('Sign In'),class_="btn")} </div> </div> <!-- end fields --> <!-- links --> <div class="links"> ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))} %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): / ${h.link_to(_("Don't have an account ?"),h.url('register'))} %endif </div> <!-- end links --> </div> ${h.end_form()} <script type="text/javascript"> YUE.onDOMReady(function(){ YUD.get('username').focus(); }) </script> </div> <!-- end login --> </div>