##// END OF EJS Templates
merge 1.3 into stable
merge 1.3 into stable

File last commit:

r2031:82a88013 merge default
r2031:82a88013 merge default
Show More
login.html
77 lines | 2.5 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <%inherit file="base/root.html"/>
<%def name="title()">
${_('Sign In')} - ${c.rhodecode_name}
</%def>
renamed project to rhodecode
r547
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <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
White-space cleanup
r1888 </div>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <!-- login -->
<div class="title top-left-rounded-corner top-right-rounded-corner">
<h5>${_('Sign In to')} ${c.rhodecode_name}</h5>
</div>
White-space cleanup
r1888 <div class="inner">
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ${h.form(h.url.current(came_from=c.came_from))}
<div class="form">
<!-- fields -->
renamed project to rhodecode
r547
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
${h.text('username',class_='focus',size=40)}
</div>
White-space cleanup
r1888
</div>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
${h.password('password',class_='focus',size=40)}
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 </div>
Matt Zuba
Remember Me option on login
r1802 <div class="field">
<div class="checkbox">
<input type="checkbox" id="remember" name="remember" />
Matt Zuba
Wrap remember me in translation function
r1804 <label for="remember">${_('Remember me')}</label>
Matt Zuba
Remember Me option on login
r1802 </div>
</div>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <div class="buttons">
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 ${h.submit('sign_in',_('Sign In'),class_="ui-button")}
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 </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')():
White-space cleanup
r1888 /
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ${h.link_to(_("Don't have an account ?"),h.url('register'))}
%endif
</div>
renamed project to rhodecode
r547
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <!-- end links -->
renamed project to rhodecode
r547 </div>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ${h.end_form()}
added focus to login register password reminder forms
r1202 <script type="text/javascript">
YUE.onDOMReady(function(){
YUD.get('username').focus();
})
</script>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 </div>
<!-- end login -->
Augusto Herrmann
Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
r1472 </div>