-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
78 lines (65 loc) · 2.28 KB
/
index.html
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<title>To-do List</title>
<!-- Declare our jQuery UI Theme CSS, this came from the download builder -->
<link rel="stylesheet" href="css/ui-lightness/ui-lightness.css" type="text/css" />
<!-- Our styles -->
<link rel="stylesheet" href="css/layout.css" type="text/css" />
</head>
<body id="login">
<div id="content">
<!--
Our login form container, we define this as the widget container
with ui-widget, and make the containers corners rounded
with the ui-corner-all class.
-->
<section class="ui-widget ui-corner-all">
<!--
A header for the widget container, defined by ui-widget-header
and we are expecting only the top corners to be rounded
with the ui-corner-top class.
-->
<header class="ui-widget-header ui-corner-top">To-do Login</header>
<!--
Define the start of the widget's content with ui-widget-content
Make the bottom of the content container corner rounded
with the ui-corner-bottom class.
-->
<div class="ui-widget-content ui-corner-bottom">
<p>Please use the login form below to login to your to-do list.</p>
<!--
The CSS Framework provides a ui-state-error class to help style
error messages. We'll use this class to style an error message
on an incorrect login attempt
-->
<p class="ui-state-error">Login username/password incorrect.</p>
<!-- Our login form -->
<form>
<div>
<label for="username">Username:</label>
<input type="text" id="username">
</div>
<div>
<label for="password">Password:</label>
<input type="password" id="password">
</div>
<div>
<input type="submit" id="btnLogin" value="Login">
</div>
</form>
</div>
</section>
</div>
<!--
An element that's used to create a overlay effect for the login widget.
The framework class ui-widget-overlay defines the style.
-->
<div class="ui-widget-overlay" style="z-index: 1002;"></div>
<!-- include jQuery, jQuery UI, and our script file -->
<script src="js/lib/jquery-1.5.2.min.js"></script>
<script src="js/lib/jquery-ui-1.8.12.min.js"></script>
<script src="js/login.js"></script>
</body>
</html>