Statistics
| Branch: | Tag: | Revision:

root / templates / m_login.html @ 064ecc91

History | View | Annotate | Download (1.1 kB)

1
<!DOCTYPE html>
2
<html>
3
<head>
4
        <meta charset="utf-8">
5
        <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
6
        <link rel="stylesheet"  href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
7
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script>
8
        <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
9

    
10
</head> 
11
<body>
12
        <div data-role="page" data-theme="b" id="jqm-home">
13

    
14
<!-- start header -->
15
<div data-role="header">
16
        <h1>Login</h1>
17
        <a href="/" class="ui-btn-right">Cancel</a>
18
</div>
19
<div data-role="content" data-inset="true">
20
<!-- end header -->
21
                                        {% if not user.is_authenticated %}
22
                                        <form id="formcontent" method="post" action="{% url login %}">
23
                                                {% csrf_token %}
24
                                                <label for="username">username </label><input name="username" type="text"></input> 
25
                                                <label for="password">password </label><input name="password" type="password"></input>
26
                                                <input type="submit" value="login" />
27
                                        </form>
28
                                        {% endif %}
29
                                </div>
30
                                </div>
31
</body>