File: login.html

package info (click to toggle)
ipython 0.13.1-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,752 kB
  • sloc: python: 69,537; makefile: 355; lisp: 272; sh: 80; objc: 37
file content (42 lines) | stat: -rw-r--r-- 851 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends page.html %}

{% block stylesheet %}

<link rel="stylesheet" href="{{static_url("css/login.css") }}" type="text/css"/>

{% end %}


{% block login_widget %}
{% end %}


{% block site %}

<div id="main_app">

    {% if login_available %}
    <form action="{{base_project_url}}login?next={{url_escape(next)}}" method="post">
        Password: <input type="password" class='ui-widget ui-widget-content' name="password" id="password_input">
        <input type="submit" value="Log in" id="login_submit">
    </form>
    {% end %}

    {% if message %}
      {% for key in message %}
        <div class="message {{key}}">
           {{message[key]}}
        </div>
      {% end %}
    {% end %}

<div/>

{% end %}


{% block script %}

<script src="{{static_url("js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>

{% end %}