]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/password-reset/request-form.tt2
Forward-port self-serve password reset implementation from rel_1_6
[working/Evergreen.git] / Open-ILS / src / templates / password-reset / request-form.tt2
1 <html>
2 <head>
3   <title>[% i18n.REQUEST_TITLE %]</title>
4   <link rel="stylesheet" type="text/css" href="/js/dojo/dijit/themes/tundra/tundra.css" />
5   <style type="text/css">
6     body, html { font-family:helvetica,arial,sans-serif; }
7   </style>
8 </head>
9 <body class="tundra">
10   <h1>[% i18n.REQUEST_TITLE %]</h1>
11   <p class='[% status.style %]'>[% status.msg %]</p>
12   <form method="post" action="[% uri %]" id="requestPwdReset">
13     <table>
14       <tr>
15         <td><label for="barcode">[% i18n.BARCODE_PROMPT %] </label></td>
16         <td><input type="text" id="barcode" name="barcode" dojoType="dijit.form.TextBox"/></td>
17       </tr>
18       <tr>
19         <td><label for="username">[% i18n.USERNAME_PROMPT %] </label></td>
20         <td><input type="text" id="barcode" name="username" dojoType="dijit.form.TextBox"/></td>
21       </tr>
22     </table>
23     <!--<label for="email">[% i18n.EMAIL_PROMPT %] </label><input type="text" name="email"/></br>-->
24     <button name="submit" id="submitButton" type="submit" dojoType="dijit.form.Button">[% i18n.BUTTON_SUBMIT %]</button>
25   </form>
26 </body>
27 <script type="text/javascript" src="/js/dojo/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
28 <script type="text/javascript">
29   dojo.require("dijit.form.Button");
30   dojo.require("dijit.form.ValidationTextBox");
31 </script>
32 </html>
33 <html>
34 <head>
35   <title>[% i18n.REQUEST_TITLE %]</title>
36 </head>
37 <body>
38   <h1>[% i18n.REQUEST_TITLE %]</h1>
39 <p class='[% status.style %]'>[% status.msg %]</p>
40 <form method="post" action="[% uri %]">
41     <div>
42         <label for="barcode">[% i18n.BARCODE_PROMPT %] </label><input type="text" name="barcode"/></br>
43         <label for="username">[% i18n.USERNAME_PROMPT %]  </label><input type="text" name="username"/></br>
44         <!--<label for="email">[% i18n.EMAIL_PROMPT %]  </label><input type="text" name="email"/></br>-->
45         <input type="submit"/>
46     </div>
47 </form>
48 </body>
49 </html>