Début d'intégration de PayPal.
[photoprint.git] / skins / customer_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 metal:fill-slot="main_no_tabs" i18n:domain="realis" tal:omit-tag="">
8 <div tal:condition="python:request.get('came_from', '').endswith('/my_cart')"
9 tal:define="step_authentication python:True"
10 tal:omit-tag="">
11 <div metal:use-macro="here/sell_macros/macros/sell_steps"></div>
12 </div>
13 <table width="70%">
14 <tr>
15 <td width="50%">
16 <h2 i18n:translate="">You already have an account?</h2>
17 <div i18n:translate="">Please login to continue</div>
18 </td>
19 <td width="50%">
20 <h2 i18n:translate="">New customer?</h2>
21 <div i18n:translate="">Welcome!<br/>
22 Please create an account to order.</div>
23 </tr>
24 <tr>
25 <td>
26 <form method="post" tal:attributes="action string:${here/portal_url}/logged_in">
27 <input type="hidden" name="noAjax" value="1" />
28
29 <!-- ****** Enable the automatic redirect ***** -->
30 <span tal:condition="exists: request/came_from">
31 <input type="hidden" name="came_from" value=""
32 tal:attributes="value request/came_from" />
33 </span>
34 <!-- ****** Enable the automatic redirect ***** -->
35 <input type="hidden" name="just_login" value="True" />
36 <table class="TwoColumnForm">
37 <tr>
38 <th i18n:translate="user_name">Login</th>
39 <td>
40 <input type="text" name="__ac_name" size="20" value=""
41 tal:attributes="value python: request.get('__ac_name') or ''" />
42 </td>
43 </tr>
44 <tr>
45 <th i18n:translate="">Password</th>
46 <td>
47 <input type="password" name="__ac_password" size="20" />
48 </td>
49 </tr>
50 <tr>
51 <td><br/></td>
52 <td>
53 <label>
54 <input type="checkbox" name="__ac_persistent" checked="checked" />
55 <span i18n:translate="" tal:omit-tag="">Remember my name.</span>
56 </label>
57 </td>
58 </tr>
59
60 <tr>
61 <td><br/></td>
62 <td>
63 <input type="submit" name="submit" value=" Login "
64 i18n:attributes="value" />
65 </td>
66 </tr>
67
68 </table>
69 </form>
70 </td>
71 <td>
72 <form method="get" tal:attributes="action string:${here/portal_url}/customer_join_form">
73 <input type="submit" value="Open new account &gt;&gt;" i18n:attributes="value"/>
74 <input type="hidden" name="came_from" tal:condition="exists: request/came_from"
75 tal:attributes="value request/came_from" />
76 </form>
77 </td>
78 </tr>
79 </table>
80
81 <p><a href=""
82 tal:attributes="href string:${here/portal_url}/mail_password_form"
83 i18n:translate=""
84 >Forgot your password?</a>
85 </p>
86
87 <p i18n:translate="">Having trouble logging in? Make sure to enable cookies in
88 your web browser.
89 </p>
90 <p i18n:translate="">Don't forget to logout or exit your browser when you're
91 done.
92 </p>
93
94 <p i18n:translate="">Setting the 'Remember my name' option will set a cookie
95 with your username, so that when you next log in, your user name will
96 already be filled in for you.
97 </p>
98 </body>
99 </html>
100