-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (64 loc) · 2.24 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
<!DOCTYPE html>
<html>
<head>
<title>Reports</title>
<!-- makes the magic happen... -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- normal stuff -->
<link rel="stylesheet" href="styles/jquery.mobile-1.0.1.min.css" />
<script src="scripts/jquery-1.7.1.min.js"></script>
<script src="scripts/jquery.mobile-1.0.1.min.js"></script>
<script src="scripts/knockout-2.0.0.js"></script>
<script src="scripts/common.js"></script>
<script src="scripts/logon.js"></script>
<script src="scripts/list.js"></script>
<script src="scripts/detail.js"></script>
</head>
<body>
<div id="logon" data-role="page">
<div data-role="header">Logon</div>
<div data-role="content">
<fieldset>
<div data-role="fieldcontain">
<label for="username">Username</label>
<input type="text" id="username" data-bind="value:username" />
</div>
<div data-role="fieldcontain">
<label>Password</label>
<input type="password" id="password" data-bind="value:password" />
</div>
<div data-role="fieldcontain">
<input type="button" id="logonbutton" value="Logon">
</div>
</fieldset>
</div>
<div data-role="footer">jQuery Mobile Foo</div>
</div>
<div id="list" data-role="page">
<div data-role="header">Your Reports</div>
<div data-role="content">
<ul id="thelist" data-role="listview" data-themex="g" data-bind="foreach:reports">
<li><a href="#" data-bind="text:title,attr:{'data-id':_id}" class="detaillink"></a></li>
</ul>
</div>
<div data-role="footer">jQuery Mobile Foo</div>
</div>
<div id="detail" data-role="page">
<div data-role="header">Detail</div>
<div data-role="content">
<input type="button" id="backbutton" value="Back" />
<fieldset>
<div data-role="fieldcontain">
<label for="title">Title</label>
<div id="title" data-bind="text:title"></div>
</div>
<div data-role="fieldcontain">
<label for="description">Description</label>
<div id="description" data-bind="text:description"></div>
</div>
</fieldset>
</div>
<div data-role="footer">jQuery Mobile Foo</div>
</div>
</body>
</html>