-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
111 lines (73 loc) · 3.02 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
<!DOCTYPE HTML>
<html>
<head>
<title>GiftCycle app</title>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<link rel="stylesheet" href="css/jquery.mobile-1.1.1.css" />
<link rel="stylesheet" href="css/styles.css" />
<script src="js/config.js"></script>
<script src="js/startup.js"></script>
<script src="http://www.google.com/jsapi"></script>
<script>
function startUp()
{
document.addEventListener("deviceready", onDeviceReady, false);
if(!window.device)
onDeviceReady();
}
</script>
</head>
<body onload="startUp()">
<div id="offerListPage" data-role="page" >
<div data-role="header" data-position="fixed" data-theme="e">
<h1>Offers</h1>
</div>
<div data-role="content" data-theme="e">
<ul id="offersList" data-role="listview" data-filter="true"></ul>
</div>
<div data-role="footer" data-position="fixed" data-theme="e">
<a href="#settingsPage" data-role="button">Settings</a>
</div>
</div>
<div id="settingsPage" data-role="page" data-add-back-btn="true">
<div data-role="header" data-theme="e">
<h1>Settings</h1>
</div>
<div data-role="content">
<ul id="settingsCategoryList" data-role="listview" data-inset="true">
<li><a href="#settings_freegleGroupsPage">Freegle groups</a></li>
</ul>
</div>
</div>
<div id="settings_freegleGroupsPage" data-role="page" data-add-back-btn="true">
<div data-role="header" data-theme="e">
<h1>Freegle groups</h1>
</div>
<div data-role="content">
<ul id="freegleGroupsList" data-role="listview" data-inset="true">
<li data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>Choose the groups you want to follow:</legend>
<input type="checkbox" name="freegleGroup1" id="freegleGroup1" class="custom" value="http://direct.ilovefreegle.org/rss.php?group=BasingstokeFreegle" />
<label for="freegleGroup1">Basingstoke</label>
<input type="checkbox" name="freegleGroup2" id="freegleGroup2" class="custom" value="http://direct.ilovefreegle.org/rss.php?group=ascot-freegle" />
<label for="freegleGroup2">Ascot</label>
<input type="checkbox" name="freegleGroup3" id="freegleGroup3" class="custom" value="http://direct.ilovefreegle.org/rss.php?group=ambervalleye-recycle" />
<label for="freegleGroup3">Amber Valley</label>
<input type="checkbox" name="freegleGroup4" id="freegleGroup4" class="custom" value="http://direct.ilovefreegle.org/rss.php?group=bracknell-Freegle" />
<label for="freegleGroup4">Bracknell</label>
</fieldset>
</li>
</ul>
</div>
<div data-role="footer" data-theme="e">
<a href="javascript:onSaveGroupButtonPressed()" data-role="button">Save</a>
</div>
</div>
<script src="js/library/jquery.js"></script>
<script src="js/library/jquery.mobile-1.1.1.min.js"></script>
<script src="js/library/jquery.dateFormat-1.0.js"></script>
<script src="js/offerList.js"></script>
<script src="js/settingsPage.js"></script>
</body>
</html>