-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (58 loc) · 1.91 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
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="lib/jquery.mobile-1.0.1.css" />
<script src="lib/jquery-1.7.1.js"></script>
<script src="lib/jquery.mobile-1.0.1.js"></script>
<script src="lib/persistence.js"></script>
<script src="lib/persistence.store.sql.js"></script>
<script src="lib/persistence.store.websql.js"></script>
<script src="lib/persistence.extends.js"></script>
<script src="lib/skeleton_helper.js"></script>
<script src="seed.js"></script>
<script src="app.js"></script>
<script>
// setup is defined in app.js
setup({name: "Fruit App", seed: data, mode: "development"});
</script>
</head>
<body>
<div data-role="page" id="home_page">
<div data-role="header">
<h1 class="app_title"></h1>
</div>
<div data-role="content">
<a class="list_fruit_button" data-role="button">List Fruit</a>
<a class="list_colors_button" data-role="button">List Colors</a>
</div>
</div>
<div data-role="page" id="list_fruit_page">
<div data-role="header">
<a href="#home_page" data-direction="reverse" data-icon="home">Home</a>
<h1 class="fruit_list_title">Fruit</h1>
</div>
<div data-role="content">
<ul data-role="listview" class="fruit_list"></ul>
</div>
</div>
<div data-role="page" id="list_colors_page">
<div data-role="header">
<a href="#home_page" data-direction="reverse" data-icon="home">Home</a>
<h1>Colors</h1>
</div>
<div data-role="content">
<ul data-role="listview" class="color_list"></ul>
</div>
</div>
<div data-role="page" id="show_fruit_page">
<div data-role="header" data-add-back-btn="true">
<a data-icon="arrow-l" data-rel="back">Back</a>
<h1 class="fruit_title"></h1>
</div>
<div data-role="content">
The color of a <span class="fruit_name"></span> is <b><span class="fruit_color"></span></b>.
</div>
</div>
</body>
</html>