~ubuntu-branches/ubuntu/raring/trac-accountmanager/raring

« back to all changes in this revision

Viewing changes to acct_mgr/templates/login.html

  • Committer: Bazaar Package Importer
  • Author(s): Leo Costela
  • Date: 2008-07-15 17:21:11 UTC
  • Revision ID: james.westby@ubuntu.com-20080715172111-ool7wmy573gqolfr
Tags: upstream-0.2.1~vcs20080715
ImportĀ upstreamĀ versionĀ 0.2.1~vcs20080715

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html
 
2
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
3
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml"
 
5
      xmlns:py="http://genshi.edgewall.org/"
 
6
      xmlns:xi="http://www.w3.org/2001/XInclude">
 
7
  <xi:include href="layout.html" />
 
8
  <head>
 
9
    <title>Login</title>
 
10
    <script type="text/javascript">
 
11
    jQuery(document).ready(function($) {
 
12
        $('#user')[0].focus();
 
13
    });
 
14
    </script>
 
15
  </head>
 
16
 
 
17
  <body>
 
18
    <div id="content" class="login">
 
19
 
 
20
      <h1>Login</h1>
 
21
 
 
22
      <div class="system-message" py:if="login_error">
 
23
        <h2>Error</h2>
 
24
        <p>${login_error}</p>
 
25
      </div>
 
26
 
 
27
      <form method="post" id="acctmgr_loginform" action="">
 
28
        <input type="hidden" name="referer" value="${referer}" />
 
29
        <div>
 
30
          <label for="user">Username:</label>
 
31
          <input type="text" id="user" name="user" class="textwidget" size="20" />
 
32
        </div>
 
33
        <div>
 
34
          <label for="password">Password:</label>
 
35
          <input type="password" id="password" name="password" class="textwidget" size="20" />
 
36
        </div>
 
37
        <input type="submit" value="Login" />
 
38
 
 
39
        <p py:if="reset_password_enabled">
 
40
          <a href="${href.reset_password()}">Forgot your password?</a>
 
41
        </p>
 
42
      </form>
 
43
 
 
44
    </div>
 
45
  </body>
 
46
</html>