Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (65 sloc) 2.28 KB
<!DOCTYPE html>
<html lang="en" class="no-js">
<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" />
<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 -->
<label for="username">Username:</label>
<input type="text" id="username">
<label for="password">Password:</label>
<input type="password" id="password">
<input type="submit" id="btnLogin" value="Login">
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>