##// END OF EJS Templates
comments: improved comments form layout....
comments: improved comments form layout. - changed to be made to support comments types - cleaner UI

File last commit:

r1038:1703d7ca default
r1281:71c01ca9 default
Show More
password_reset.html
90 lines | 3.4 KiB | text/html | HtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
login: add support link to disabled password reset page
r1038 ${_('Reset Password')}
project: added all source files and assets
r1 %if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<style>body{background-color:#eeeeee;}</style>
<div class="loginbox">
<div class="header">
<div id="header-inner" class="title">
<div id="logo">
<div class="logo-wrapper">
dan
assets: convert pylons static files to pyramid static_url, fixes #3504
r454 <a href="${h.url('home')}"><img src="${h.asset('images/rhodecode-logo-white-216x60.png')}" alt="RhodeCode"/></a>
project: added all source files and assets
r1 </div>
%if c.rhodecode_name:
<div class="branding"> ${h.branding(c.rhodecode_name)}</div>
%endif
</div>
</div>
</div>
<div class="loginwrapper">
<div class="left-column">
dan
assets: convert pylons static files to pyramid static_url, fixes #3504
r454 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
project: added all source files and assets
r1 </div>
dan
assets: convert pylons static files to pyramid static_url, fixes #3504
r454
settings: fix #3944 add password reset permission
r1034 %if h.HasPermissionAny('hg.password_reset.disabled')():
<div class="right-column">
login: add support link to disabled password reset page
r1038 <p>
${_('Password reset is disabled. Please contact ')}
% if c.visual.rhodecode_support_url:
<a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
${_('or')}
% endif
${_('an administrator if you need help.')}
</p>
project: added all source files and assets
r1 </div>
settings: fix #3944 add password reset permission
r1034 %else:
<div id="register" class="right-column">
<!-- login -->
<div class="sign-in-title">
<h1>${_('Reset your Password')}</h1>
<h4>${h.link_to(_("Go to the login page to sign in."), request.route_path('login'))}</h4>
</div>
<div class="inner form">
${h.form(request.route_path('reset_password'), needs_csrf_token=False)}
<label for="email">${_('Email Address')}:</label>
${h.text('email', defaults.get('email'))}
%if 'email' in errors:
<span class="error-message">${errors.get('email')}</span>
templates: Migrate password reset template to pyramid.
r32 <br />
%endif
settings: fix #3944 add password reset permission
r1034
%if captcha_active:
<div class="login-captcha"
<label for="email">${_('Captcha')}:</label>
${h.hidden('recaptcha_field')}
<div id="recaptcha"></div>
%if 'recaptcha_field' in errors:
<span class="error-message">${errors.get('recaptcha_field')}</span>
<br />
%endif
</div>
%endif
${h.submit('send', _('Send password reset email'), class_="btn sign-in")}
<div class="activation_msg">${_('Password reset link will be sent to matching email address')}</div>
${h.end_form()}
</div>
project: added all source files and assets
r1 </div>
settings: fix #3944 add password reset permission
r1034 %endif
project: added all source files and assets
r1 </div>
</div>
templates: Migrate password reset template to pyramid.
r32 %if captcha_active:
project: added all source files and assets
r1 <script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
%endif
<script type="text/javascript">
$(document).ready(function(){
$('#email').focus();
templates: Migrate password reset template to pyramid.
r32 %if captcha_active:
Recaptcha.create("${captcha_public_key}", "recaptcha", {theme: "white"});
project: added all source files and assets
r1 %endif
});
templates: Migrate password reset template to pyramid.
r32 </script>