maj import
[Plinn.git] / skins / custom_generic / login_form.pt
1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 metal:use-macro="here/main_template/macros/master">
4 <head>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
6 </head>
7 <body>
8 <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
9 <div class="Desktop">
10 <h1 class="Desktop" i18n:translate="">Log in</h1>
11
12 <form action="" method="post" tal:attributes="action string:${here/portal_url}/logged_in">
13 <input type="hidden" name="noAjax" value="1" />
14
15 <!-- ****** Enable the automatic redirect ***** -->
16 <span tal:condition="exists: request/came_from">
17 <input type="hidden" name="came_from" value=""
18 tal:attributes="value request/came_from" />
19 </span>
20 <!-- ****** Enable the automatic redirect ***** -->
21 <input type="hidden" name="just_login" value="True" />
22 <table class="FormLayout">
23 <tr>
24 <td align="left" valign="top">
25 <strong i18n:translate="user_name">Login</strong>
26 </td>
27 <td align="left" valign="top">
28 <input type="text" name="__ac_name" size="20" value=""
29 tal:attributes="value python: request.get('__ac_name') or ''" />
30 </td>
31 </tr>
32 <tr>
33 <td align="left" valign="top">
34 <strong i18n:translate="">Password</strong>
35 </td>
36 <td align="left" valign="top">
37 <input type="password" name="__ac_password" size="20" />
38 </td>
39 </tr>
40
41 <tr valign="top" align="left">
42 <td></td>
43 <td><input type="checkbox" name="__ac_persistent" value="1" checked="checked"
44 id="cb_remember" />
45 <label for="cb_remember" i18n:translate="">Remember my name.</label>
46 </td></tr>
47
48 <tr>
49 <td align="left" valign="top">
50 </td>
51 <td align="left" valign="top">
52 <input type="submit" name="submit" value=" Login "
53 i18n:attributes="value" />
54 </td>
55 </tr>
56
57 </table>
58 </form>
59
60 <p><a href=""
61 tal:attributes="href string:${here/portal_url}/mail_password_form"
62 i18n:translate=""
63 >Forgot your password?</a>
64 </p>
65
66 <p i18n:translate="">Having trouble logging in? Make sure to enable cookies in
67 your web browser.
68 </p>
69 <p i18n:translate="">Don't forget to logout or exit your browser when you're
70 done.
71 </p>
72
73 <p i18n:translate="">Setting the 'Remember my name' option will set a cookie
74 with your username, so that when you next log in, your user name will
75 already be filled in for you.
76 </p>
77 </div>
78 </div>
79 </body>
80 </html>
81