-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery-mobile-test.html
101 lines (78 loc) · 2.78 KB
/
jquery-mobile-test.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
<!DOCTYPE html>
<html>
<head>
<title>Visual Thermometer</title>
<!-- jquery core -->
<script type="text/javascript" src="jquery/jquery-1.6.2.min.js"></script>
<!-- libraries that project files depend on -->
<script type="text/javascript" src="localstoragedb/localstoragedb.js"></script>
<script type="text/javascript" src="base64/base64.js"></script>
<!-- project files -->
<script type="text/javascript" src="database.js"></script>
<script type="text/javascript" src="prototypes/page.js"></script>
<script type="text/javascript" src="prototypes/picture.js"></script>
<script type="text/javascript" src="prototypes/report.js"></script>
<script type="text/javascript" src="main.js"></script>
<!-- jquery mobile. important: put this after project files -->
<script type="text/javascript" src="jquery-mobile/jquery.mobile-1.0.js"></script>
<!-- stylesheets -->
<link rel="stylesheet" href="jquery-mobile/jquery.mobile-1.0.css" />
</head>
<body>
<!-- Start of first page -->
<div data-role="page" id="mainmenu">
<div data-role="header">
<h1>Visual Thermometer</h1>
</div><!-- /header -->
<div data-role="content">
<ul id="page_list" data-role="listview" data-inset="true">
<li><a href="#createpage">Add a new page</a></li>
</ul>
</div><!-- /content -->
<div data-role="footer">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div><!-- /page -->
<!-- Start of options page -->
<div data-role="page" id="createpage">
<div data-role="header">
<h1>New Page</h1>
</div><!-- /header -->
<div data-role="content">
<form id="createPageForm" action="" method="post">
<label for="description">Page Description</label>
<input name="description" type="text">
<input type="submit" value="Submit">
</form>
</div><!-- /content -->
<div data-role="footer">
<p><a href="#mainmenu">Back to Main Menu</a></p>
</div><!-- /footer -->
</div><!-- /page -->
<!-- Start of options page -->
<div data-role="page" id="pageoption">
<div data-role="header">
<h1>Choose Page Option</h1>
</div><!-- /header -->
<div data-role="content">
<p><a href="#editpage">Edit Page</a></p>
<p><a href="#viewpage">View Page</a></p>
</div><!-- /content -->
<div data-role="footer">
<p><a href="#mainmenu">Back to Main Menu</a></p>
</div><!-- /footer -->
</div><!-- /page -->
<!-- Start of edit page -->
<div data-role="page" id="editpage">
<div data-role="header">
<h1>Edit Page</h1>
</div><!-- /header -->
<div data-role="content">
<p>This is where you would edit/add images</p>
</div><!-- /content -->
<div data-role="footer">
<p><a href="#mainmenu">Back to Main Menu</a></p>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>