~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
1517 by William Grant
divify the login form, fixing up the submit/error indentation while there.
13
      <form class="verticalform thin" action="${path}" method="post">
14
        <div>
15
          <label for="field_username">Username:</label>
16
          <input id="field_username" name="user" type="text" />
17
        </div>
18
        <div>
19
          <label for="field_password">Password:</label>
20
          <input id="field_password" name="pass" type="password" />
21
        </div>
22
        <div class="submit form_error" py:if="defined('error')"
23
             py:content="error"></div>
1529 by William Grant
'Login' is not a verb.
24
        <div class="submit"><input type="submit" value="Log in" /></div>
1099.1.120 by William Grant
Move the login machinery to the new framework.
25
      </form>
1705 by Matt Giuca
Login page: Added a warning that Internet Explorer is unsupported at this time. This checks the UA string for 'MSIE' and a bit more magic. Fixes Launchpad bug #526822.
26
      <p py:if="msie" class="erroraction"><strong>Warning:</strong> You appear
27
        to be using Microsoft Internet Explorer. Internet Explorer is not a
28
        supported web browser for use in IVLE at this time. Please use another
29
        browser. We recommend <a href="http://getfirefox.com">Mozilla
30
        Firefox</a> or <a href="http://www.google.com/chrome/">Google
31
        Chrome</a>. If you continue, some functionality may not work.</p>
1099.1.120 by William Grant
Move the login machinery to the new framework.
32
    </div>
33
  </body>
34
</html>