~azzar1/unity/add-show-desktop-key

1099.1.120 by William Grant
Move the login machinery to the new framework.
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
      xmlns:py="http://genshi.edgewall.org/">
3
  <head>
4
    <title>Log in</title>
5
  </head>
6
  <body>
7
    <div id="ivle_padding">
8
      <p>
9
        Welcome to the Informatics Virtual Learning Environment.
10
        Please log in to access your files and assessment.
11
      </p>
12
13
      <form action="${path}" method="post">
14
        <table>
15
          <tr><td>Username:</td><td><input name="user" type="text" /></td></tr>
16
          <tr><td>Password:</td><td><input name="pass" type="password" /></td></tr>
1458 by William Grant
Move any login error message under the inputs, and make it use the usual form_error class.
17
          <tr py:if="defined('error')"><td colspan="2" class="form_error" py:content="error"></td></tr>
1099.1.120 by William Grant
Move the login machinery to the new framework.
18
          <tr><td colspan="2"><input type="submit" value="Login" /></td></tr>
19
        </table>
20
      </form>
21
    </div>
22
  </body>
23
</html>