##// END OF EJS Templates
db: fixed unique constraints for mysql with it's size limits.
db: fixed unique constraints for mysql with it's size limits.

File last commit:

r2103:c8a23404 default
r4010:852f3c73 default
Show More
login.html
74 lines | 2.2 KiB | text/html | HtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="/debug_style/index.html"/>
<%def name="breadcrumbs_links()">
dan
debug-style: moved from pylons controller to pyramid view.
r1900 ${h.link_to(_('Style'), h.route_path('debug_style_home'))}
project: added all source files and assets
r1 &raquo;
${c.active}
</%def>
<%def name="real_main()">
<div class="box">
<div class="title">
${self.breadcrumbs()}
</div>
##main
<div class='sidebar-col-wrapper'>
${self.sidebar()}
<div class="main-content">
<div class="bs-example pull-left">
<div id="quick_login">
<h4>${_('Sign in to your account')}</h4>
routing: removed more usage of pylons url() objects.
r2103 ${h.form(h.route_path('login'), needs_csrf_token=False)}
project: added all source files and assets
r1 <div class="form form-vertical">
<div class="fields">
<div class="field">
<div class="label">
<label for="username">${_('Username')}:</label>
</div>
<div class="input">
${h.text('username',class_='focus',tabindex=1)}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
routing: removed more usage of pylons url() objects.
r2103 <span class="forgot_password">${h.link_to(_('(Forgot password?)'),h.route_path('reset_password'))}</span>
project: added all source files and assets
r1 </div>
<div class="input">
${h.password('password',class_='focus',tabindex=2)}
</div>
</div>
<div class="buttons">
<div class="register">
%if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
routing: removed more usage of pylons url() objects.
r2103 ${h.link_to(_("Don't have an account ?"),h.route_path('register'))}
project: added all source files and assets
r1 %endif
</div>
<div class="submit">
${h.submit('sign_in',_('Sign In'),class_="btn btn-small",tabindex=3)}
</div>
</div>
</div>
</div>
${h.end_form()}
</div>
</div>
</div>
</div>
</div>
</%def>