Indefero

Indefero Commit Details


Date:2011-02-23 06:31:45 (13 years 9 months ago)
Author:William MARTIN
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.1, release-1.2, release-1.3
Commit:4e00051a1053687979c43fc82af6e67387c43a3d
Parents: f95ff57db9265abd662e5bd7a25868f8efcea76b
Message:Login form enhancement

Changes:

File differences

src/IDF/templates/idf/login_form.html
11
2
2
33
44
55
66
77
88
9
10
11
12
13
14
15
9
10
11
12
13
14
15
16
17
18
19
1620
1721
1822
......
2226
2327
2428
29
30
31
32
33
34
35
{extends "idf/base-simple.html"}
{block docclass}yui-t1{/block}
{block docclass}yui-t2{/block}
{block body}
<form method="post" action="{url 'IDF_Views::login'}">
<input type="hidden" name="_redirect_after" value="{$_redirect_after}" />
{if $error}
<p class="px-message-error">{$error}</p>
{/if}
<h3>{trans 'What is your login?'}</h3>
<p><label for="id_login">{trans 'My login is'}</label> <input type="text" name="login" id="id_login" value="{$login}" /></p>
<h3>{trans 'Do you have a password?'}</h3>
<p><input name="action" id="action-new-user" value="new-user" type="radio" /> <label for="action-new-user">{trans 'No, I am a new here.'}</label></p>
<p><input name="action" id="action-login" value="login" type="radio" checked="checked" /> <label for="action-login">{trans 'Yes'}</label>, <label for="id_password">{trans 'my password is'}</label> <input type="password" name="password" id="id_password" /></p>
<h3>{trans 'What is your account information?'}</h3>
<table class="form" summary="">
<tr>
<th class="a-r"><strong>{trans 'My login is'}</strong></th>
<td class="a-l"><input type="text" name="login" id="id_login" value="{$login}" /></th>
</tr>
<tr>
<th class="a-r"><strong>{trans 'My password is'}</strong></th>
<td class="a-l"><input type="password" name="password" id="id_password" /></th>
</tr>
</table>
<p><input type="submit" value="{trans 'Sign in'}" />
| <a href="{url 'IDF_Views::passwordRecoveryAsk'}">{trans 'I lost my password!'}</a>
document.getElementById('id_login').focus()
</script>
{/block}
{block context}
<div class="issue-submit-info">
<h3>{trans 'Welcome.'}</h3>
<p>{trans 'If you don\'t have an account yet, you can create one'} <a href="{url 'IDF_Views::register', array()}">{trans 'here'}</a></p>
<p>{trans 'It takes less than a minute to create your account'}</p>
</div>
{/block}

Archive Download the corresponding diff file

Page rendered in 0.07384s using 13 queries.