forked from webinos-apps/app-proximity-reminders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (137 loc) · 6.51 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Proximity Reminder</title>
<script type="text/javascript" src="./js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="./js/jquery-ui-1.9.0.custom.min.js"></script>
<script type="text/javascript" src="./js/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="./js/jquery-ui-sliderAccess.js"></script>
<script type="text/javascript" src="./js/webinos.js"></script>
<script type="text/javascript" src="./js/globals.js"></script>
<script type="text/javascript" src="./js/storereminders.js"></script>
<script type="text/javascript" src="./js/geoTools.js"></script>
<script type="text/javascript" src="./js/viewreminders.js"></script>
<script type="text/javascript" src="./js/editreminder.js"></script>
<script type="text/javascript" src="./js/findreminders.js"></script>
<script type="text/javascript" src="./js/alertreminder.js"></script>
<script type="text/javascript" src="./js/main.js"></script>
<link rel="stylesheet" type="text/css" href="./css/proximityreminder.css" />
<link rel="stylesheet" type="text/css" href="./css/jquery-ui-1.9.0.custom.css" />
<link rel="stylesheet" type="text/css" href="./css/jquery-ui-timepicker-addon.css" />
<link rel="icon" type="image/png" href="./remind_me.png" />
</head>
<body>
<div id="content">
<h1 class="appHeading">ProximityReminder</h1>
<div id="reminderNotification" class="notificationDiv" style="display:none;">
</div>
<div id="frontpage">
<button id="createReminder" class="frontbutton" type="button" disabled="true">
Create a reminder
</button>
<button id="viewReminders" class="frontbutton" type="button" disabled="true">
View reminders
</button>
<input id="checkReminders" type="checkbox" value="true" defaultChecked="true">Check reminders</input>
</div>
<div id="morecontent">
<div id="editDiv" style="display:none;">
<hr />
<h1 id="editHeading">Add Reminder</h1>
<table id="editTable" class="editTable">
<tr style="display:none;">
<td>Reminder Id</td><td id="reminderIdCell"></td>
</tr>
<tr>
<td>Enabled?</td>
<td><input id="editEnabled" type="checkbox" value="true" defaultChecked="true"></input></td>
</tr>
<tr>
<td>Description</td>
<td><input id="editDescription" type="text"></input></td>
</tr>
<tr>
<td>When?</td>
<td>
<select id="dateSelect">
<option class="persistentOption" value="anytime">Any time</option>
<option class="persistentOption" value="selecttime">Select a time</option>
</select>
<div style="display:none;" id="dateWrapper">
Start: <input type="text" id="datepicker" /> <br/>
End: <input type="text" id="datepicker2" />
<br />
<div id="recurringWrapper" style="display:none;" >
<!-- Not fully implemented yet -->
Reccurring:
<select id="recurringSelect">
<option id="recurringOption-never" value="never" selected="true">Never</option>
<option id="recurringOption-daily" value="daily" >Daily</option>
<option id="recurringOption-weekly" value="weekly">Weekly</option>
<option id="recurringOption-monthly" value="monthly">Monthly</option>
<option id="recurringOption-yearly" value="yearly">Yearly</option>
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>Where?</td>
<td>
<select id="placeSelect">
<option value="_ANYWHERE" class="persistentOption" id="place-option-_ANYWHERE">
Anywhere
</option>
</select>
<div id="proximityDiv" style="display:none;">
Within <input id="proximityAmount" type="text" value="10" width="50px" />
<select id="proximityUnits">
<option selected="true" value="metres">metres</option>
<!--
<option>feet</option>
<option>yards</option>
<option>kilometers</option>
<option>miles</option>
-->
</select>
</div>
</td>
</tr>
<tr style="display:none;" id="placeAddRow1">
<td>Place description</td>
<td><input id="editPlaceDescription" type="text"/> </td>
</tr>
<tr style="display:none;" id="placeAddRow2">
<td>Select location</td>
<td>
<div style="width:300pt; height:300pt" id="editPlaceLocationSelect">
</div>
</td>
</tr>
</table>
<button id="saveReminderButton" class="frontbutton" type="button">
Save reminder
</button>
</div>
<div id="viewDiv" style="display:none;">
<hr />
<h1>Reminders</h1>
<ul id="viewList" data-role="listview" class="reminderList">
</ul>
<h1>Places</h1>
<ul class="placeList" id="placeUL">
</ul>
<div id="mapImgWrapper">
<h1 id="mapImgHeading"></h1>
<div id="mapImgDeleteButton"></div>
<div id="map"></div>
</div>
</div>
</div>
<div id="alertPopupDiv" title="Information" style="display:none;"></div>
<hr />
<p id="frontStatus" class='status'>Not connected to webinos</p>
</div>
</body>
</html>