]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - skins/generic/request_password_reset_form.pt
Début d'implémentation du reset des mots de passe.
[Plinn.git] / skins / generic / request_password_reset_form.pt
diff --git a/skins/generic/request_password_reset_form.pt b/skins/generic/request_password_reset_form.pt
new file mode 100644 (file)
index 0000000..fe7c384
--- /dev/null
@@ -0,0 +1,30 @@
+<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" tal:define="ptool here/portal_properties">
+        <h1 i18n:translate="">Password reset</h1>
+        <p i18n:translate="">
+          Enter your username below and click on the "Send" button. You will
+          receive an email with a link to reset your password.
+        </p>
+        <p i18n:translate="">
+          If this will not work for you (for example, if you forget your
+          username or didn't enter your email address) send email to <a
+          tal:attributes="href string:mailto:${ptool/email_from_address}"
+          tal:content="ptool/email_from_address" href="mailto:me@here.com"
+          i18n:name="admin_email">me@here.com</a>.
+        </p>
+        <form action="mail_password" tal:attributes="action string:${here/portal_url}/mail_password">
+          <input name="userid"/>
+          <input type="submit" value=" Send " i18n:attributes="value"/>
+        </form>
+      </div>
+    </div>
+  </body>
+</html>