Files
@ b2575bdb847c
Branch filter:
Location: kallithea/rhodecode/templates/login.html - annotation
b2575bdb847c
2.5 KiB
text/html
diffs: drop diffs.differ
This function did not really add any value, it was yet another layer that was
hiding the bug that we use ref[1] without ref[0], and it had this strange
undefined behaviour for diffing across repos.
Inlining the call to .get_diff do not make the code more complex but makes it
more obvious what is going on so it can be cleaned up later.
This function did not really add any value, it was yet another layer that was
hiding the bug that we use ref[1] without ref[0], and it had this strange
undefined behaviour for diffing across repos.
Inlining the call to .get_diff do not make the code more complex but makes it
more obvious what is going on so it can be cleaned up later.
1e757ac98988 41241617a7a3 41241617a7a3 41241617a7a3 1f334a68d057 41241617a7a3 1e757ac98988 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 f91d3f9b7230 41241617a7a3 41241617a7a3 1f334a68d057 41241617a7a3 f91d3f9b7230 41241617a7a3 41241617a7a3 41241617a7a3 1e757ac98988 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 b5ce72167906 41241617a7a3 f91d3f9b7230 f91d3f9b7230 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 b5ce72167906 1e757ac98988 f91d3f9b7230 41241617a7a3 145677a36675 145677a36675 145677a36675 eb4b755fc6a2 145677a36675 145677a36675 41241617a7a3 7ae36df760ce 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 f91d3f9b7230 41241617a7a3 41241617a7a3 41241617a7a3 1e757ac98988 41241617a7a3 1e757ac98988 41241617a7a3 eef9e273347a eef9e273347a b4f401524060 eef9e273347a eef9e273347a 41241617a7a3 41241617a7a3 aaec08ad9daf | ## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Log In')} · ${c.rhodecode_name}
</%def>
<div id="login">
<div class="flash_msg">
<% messages = h.flash.pop_messages() %>
% if messages:
<ul id="flash-messages">
% for message in messages:
<li class="${message.category}_msg">${message}</li>
% endfor
</ul>
% endif
</div>
<!-- login -->
<div class="title top-left-rounded-corner top-right-rounded-corner">
<h5>${_('Log In to %s') % c.rhodecode_name}</h5>
</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_="ui-btn large")}
</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>
|