##// END OF EJS Templates
my_account: Remove oauth identities views from my_account controller.
my_account: Remove oauth identities views from my_account controller.

File last commit:

r1:854a839a default
r26:3e99070f default
Show More
password_reset.html
69 lines | 2.4 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Create an Account')}
%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">
<a href="${h.url('home')}"><img src="${h.url('/images/rhodecode-logo-white-216x60.png')}" alt="RhodeCode"/></a>
</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">
<img class="sign-in-image" src="${h.url('/images/sign-in.png')}" alt="RhodeCode"/>
</div>
<div id="register" class="right-column">
<%include file="/base/flash_msg.html"/>
<!-- login -->
<div class="sign-in-title">
<h1>${_('Reset your Password')}</h1>
<h4>${h.link_to(_("Go to the login page to sign in."),h.url('login'))}</h4>
</div>
<div class="inner form">
${h.form(url('password_reset'), needs_csrf_token=False)}
<label for="email">${_('Email Address')}:</label>
${h.text('email')}
%if c.captcha_active:
<div class="login-captcha"
<label for="email">${_('Captcha')}:</label>
${h.hidden('recaptcha_field')}
<div id="recaptcha"></div>
</div>
%endif
${h.submit('send',_('Send password reset email'),class_="btn sign-in")}
<div class="activation_msg">${_('Password reset link will be send to matching email address')}</div>
${h.end_form()}
</div>
</div>
</div>
</div>
%if c.captcha_active:
<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();
%if c.captcha_active:
Recaptcha.create("${c.captcha_public_key}", "recaptcha", {theme: "white"});
%endif
});
</script>