This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (109 loc) · 4.64 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Tasker: A Backbone example application</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/libs/modernizr.js"></script>
</head>
<body>
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Tasker</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#home">Home</a></li>
<li><a href="#add">Manage Task</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<!-- Main hero unit for a primary marketing message or call to action -->
<div id="home" class="hero-unit" style="display: none">
List of tasks
<ul class="nav nav-tabs" id="myTabs">
<li class="active"><a href="#todotasks">Home</a></li>
<li><a href="#donetasks">Done Tasks</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="todotasks">
<ul id="tasklist">
</ul>
</div>
<div class="tab-pane" id="donetasks">
<ul id="tasklist-done">
</ul>
</div>
</div>
</div>
<div id="add" class="hero-unit" style="display: none">
<div class="alert alert-error hide">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong></strong>
</div>
<form name="taskform" id="taskform">
<fieldset>
<div>
<label for="title">Title:</label>
<input type="text" name="title" id="title" value="" />
</div>
<div>
<label for="description">Description:</label>
<input type="text" id="description" name="description" value="" />
</div>
<div>
<label for="assigned">Assigned:</label>
<input type="text" name="assigned" id="assigned" value="" />
</div>
<div>
<input type="submit" value="Save" class="btn btn-success" />
<a href="#" class="btn btn-inverse">Cancel</a>
</div>
</fieldset>
</form>
</div>
<div id="view" class="hero-unit" style="display: none">
<h1>Task: <span class="title"></span></h1>
<h2>Assigned: <span class="assigned"></span></h2>
<p class="description"></p>
<a href="#edit" class="edit">Edit Task</a>
<a href="#" class="remove">Remove Task</a>
</div>
<hr>
<footer>
<p>Backbone</p>
</footer>
</div> <!-- /container -->
<script type="text/template" id="tasktemplate">
<a href="#view/<%= id %>"><%= title %></a> [<a href="#edit-<%= id %>">Edit</a>] [<a href="#remove-<%= id %>">Remove</a>] [<a href="#done">Mark as resolved</a>]
</script>
<script type="text/template" id="tasktemplate-done">
<%= title %> [<a href="#reopen">Reopen</a>]
</script>
<script data-main="js/main" src="js/libs/require.js"></script>
</body>
</html>