##// END OF EJS Templates
Add javascript for Object Code excanvas (flot) version herein included and use that instead of minified version....
Add javascript for Object Code excanvas (flot) version herein included and use that instead of minified version. I had a bit of trouble finding the upstream on excanvas, as the version from Google, which appears to be the original source, seems unmaintained. However, it appears the version we're carrying in Kallithea is indeed from the excanvas era of flot. $ (cd /tmp; \ svn -r 135 checkout http://flot.googlecode.com/svn/trunk/ flot ) $ cp /tmp/flot/excanvas.js rhodecode/public/js/excanvas.js I also verified the sha256sum of the min file matched ours: $ sha256sum /tmp/flot/excanvas.min.js rhodecode/public/js/excanvas.min.js 5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 /tmp/flot/excanvas.min.js 5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 rhodecode/public/js/excanvas.min.js

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4132:531ab818 rhodecode-2.2.5-gpl
Show More
register.html
134 lines | 4.5 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base/root.html"/>
<%def name="title()">
${_('Sign Up')}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
</%def>
<div id="header">
<div id="header-inner" class="title">
<div id="logo">
<div class="header">
<a href="${h.url('home')}"><img src="/images/rhodecode-logo-white-216x60.png" alt="RhodeCode"/></a>
</div>
%if c.rhodecode_name:
<div class="branding">- ${c.rhodecode_name}</div>
%endif
</div>
</div>
</div>
<div id="register">
<%include file="/base/flash_msg.html"/>
<div class="title withlogo">
%if c.rhodecode_name:
<h5>${_('Sign Up to %s') % c.rhodecode_name}</h5>
%else:
<h5>${_('Sign Up')}</h5>
%endif
</div>
<div class="inner">
${h.form(url('register'))}
<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_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Password')}:</label>
</div>
<div class="input">
${h.password('password',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="password">${_('Re-enter password')}:</label>
</div>
<div class="input">
${h.password('password_confirmation',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="firstname">${_('First Name')}:</label>
</div>
<div class="input">
${h.text('firstname',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="lastname">${_('Last Name')}:</label>
</div>
<div class="input">
${h.text('lastname',class_="medium")}
</div>
</div>
<div class="field">
<div class="label">
<label for="email">${_('Email')}:</label>
</div>
<div class="input">
${h.text('email',class_="medium")}
</div>
</div>
%if c.captcha_active:
<div class="field">
<div class="label">
<label for="email">${_('Captcha')}:</label>
</div>
<div class="input">
${h.hidden('recaptcha_field')}
<div id="recaptcha"></div>
</div>
</div>
%endif
<div class="buttons">
<div class="nohighlight">
${h.submit('sign_up',_('Sign Up'),class_="btn")}
%if c.auto_active:
<div class="activation_msg">${_('Your account will be activated right after registration')}</div>
%else:
<div class="activation_msg">${_('Your account must wait for activation by administrator')}</div>
%endif
</div>
</div>
</div>
</div>
${h.end_form()}
%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(){
$('#username').focus();
%if c.captcha_active:
Recaptcha.create("${c.captcha_public_key}", "recaptcha",
{
theme: "white",
}
);
%endif
});
</script>
</div>
</div>