Déplacement pour eggification.
[Plinn.git] / Products / Plinn / skins / custom_generic / login_form.pt
diff --git a/Products/Plinn/skins/custom_generic/login_form.pt b/Products/Plinn/skins/custom_generic/login_form.pt
new file mode 100644 (file)
index 0000000..09d9729
--- /dev/null
@@ -0,0 +1,66 @@
+<html xmlns:tal="http://xml.zope.org/namespaces/tal"
+      xmlns:metal="http://xml.zope.org/namespaces/metal"
+      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
+      metal:use-macro="here/main_template/macros/master">
+  <head>
+    <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
+  </head>
+  <body>
+    <div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
+      <div id="Desktop">
+        <h1 i18n:translate="">Log in</h1>
+        <form action="" method="post" tal:attributes="action string:${here/portal_url}/logged_in">
+          <input type="hidden" name="noAjax" value="1"/>
+          <!-- ****** Enable the automatic redirect ***** -->
+          <span tal:condition="exists: request/came_from">
+            <input type="hidden" name="came_from" value="" tal:attributes="value request/came_from"/>
+          </span>
+          <!-- ****** Enable the automatic redirect ***** -->
+          <input type="hidden" name="just_login" value="True"/>
+          <table class="TwoColumnForm">
+            <tr>
+              <th i18n:translate="user_name">Login</th>
+              <td>
+                <input type="text" name="__ac_name" size="20" value="" tal:attributes="value python: request.get('__ac_name') or ''"/>
+              </td>
+            </tr>
+            <tr>
+              <th i18n:translate="">Password</th>
+              <td>
+                <input type="password" name="__ac_password" size="20"/>
+              </td>
+            </tr>
+            <tr>
+              <td><br/></td>
+              <td>
+                <input type="checkbox" name="__ac_persistent" value="1" checked="checked" id="cb_remember"/>
+                <label for="cb_remember" i18n:translate="">Remember my name.</label>
+              </td>
+            </tr>
+            <tr>
+              <td><br/></td>
+              <td>
+                <input type="submit" name="submit" value=" Login " i18n:attributes="value"/>
+              </td>
+            </tr>
+          </table>
+        </form>
+        <p>
+          <a href="" tal:attributes="href string:${here/portal_url}/request_password_reset_form" i18n:translate="">Forgot your login or password?</a>
+        </p>
+        <p i18n:translate="">
+          Having trouble logging in? Make sure to enable cookies in your web
+          browser.
+        </p>
+        <p i18n:translate="">
+          Don't forget to logout or exit your browser when you're done.
+        </p>
+        <p i18n:translate="">
+          Setting the 'Remember my name' option will set a cookie with your
+          username, so that when you next log in, your user name will already be
+          filled in for you.
+        </p>
+      </div>
+    </div>
+  </body>
+</html>