annotate rhodecode/templates/password_reset.html @ 3531:1c2371dc86bd beta

Bugfix: On the changelog page, its possible that the some changeset is already checked out by the browser. So we check for that on page load.
author leonardo
date Mon, 04 Mar 2013 18:56:02 +0100
parents b4f401524060
children 1f334a68d057
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
474
a3d9d24acbec Implemented password reset(forms/models/ tasks) and mailing tasks.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
1157
41241617a7a3 rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents: 1156
diff changeset
2 <%inherit file="base/root.html"/>
41241617a7a3 rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents: 1156
diff changeset
3
41241617a7a3 rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents: 1156
diff changeset
4 <%def name="title()">
1472
aaec08ad9daf Added pt_BR localization, added i18n wrappers on some places missing, fixed css in settings screen for longer labels.
Augusto Herrmann <augusto.herrmann@planejamento.gov.br>
parents: 1417
diff changeset
5 ${_('Reset your password')} - ${c.rhodecode_name}
1157
41241617a7a3 rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents: 1156
diff changeset
6 </%def>
474
a3d9d24acbec Implemented password reset(forms/models/ tasks) and mailing tasks.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7
1157
41241617a7a3 rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents: 1156
diff changeset
8 <div id="register">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1472
diff changeset
9
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
10 <div class="title top-left-rounded-corner top-right-rounded-corner">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
11 <h5>${_('Reset your password to')} ${c.rhodecode_name}</h5>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
12 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
13 <div class="inner">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
14 ${h.form(url('password_reset'))}
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
15 <div class="form">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
16 <!-- fields -->
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
17 <div class="fields">
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1472
diff changeset
18
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
19 <div class="field">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
20 <div class="label">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
21 <label for="email">${_('Email address')}:</label>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
22 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
23 <div class="input">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
24 ${h.text('email')}
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
25 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
26 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1472
diff changeset
27
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
28 <div class="buttons">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
29 <div class="nohighlight">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
30 ${h.submit('send',_('Reset my password'),class_="ui-btn large")}
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
31 <div class="activation_msg">${_('Password reset link will be send to matching email address')}</div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
32 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
33 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
34 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
35 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
36 ${h.end_form()}
1202
eef9e273347a added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents: 1157
diff changeset
37 <script type="text/javascript">
eef9e273347a added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents: 1157
diff changeset
38 YUE.onDOMReady(function(){
eef9e273347a added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents: 1157
diff changeset
39 YUD.get('email').focus();
eef9e273347a added focus to login register password reminder forms
Marcin Kuzminski <marcin@python-works.com>
parents: 1157
diff changeset
40 })
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1472
diff changeset
41 </script>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2607
diff changeset
42 </div>
1157
41241617a7a3 rewrote templates, all small pages will inherit from root for easier changes and controll
Marcin Kuzminski <marcin@python-works.com>
parents: 1156
diff changeset
43 </div>