-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
225 lines (190 loc) · 11.7 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/jquery.mobile-1.3.1.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<!-- page Month -->
<div data-role="page" id="month">
<div data-role="header" data-position="fixed">
<h1>Agenda42</h1>
</div><!-- /header -->
<div data-role="content">
<div id="calendar" class="ui-grid-c">
<div class="ui-block-a"><a href="#day" data-role="button">1</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">2</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">3</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">4</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">5</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">6</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">7</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">8</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">9</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">10</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">11</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">12</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">13</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">14</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">15</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">16</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">17</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">18</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">19</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">20</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">21</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">22</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">23</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">24</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">25</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">26</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">27</a></div>
<div class="ui-block-d"><a href="#day" data-role="button">28</a></div>
<div class="ui-block-a"><a href="#day" data-role="button">29</a></div>
<div class="ui-block-b"><a href="#day" data-role="button">30</a></div>
<div class="ui-block-c"><a href="#day" data-role="button">31</a></div>
</div>
</div><!-- /content -->
<div data-role="footer" data-position="fixed">
<div class="ui-grid-b">
<div class="ui-block-a" style="margin-left: 10px; margin-top: 5px"><button data-inline="true" id="prevMonth">Previous</button></div>
<div class="ui-block-b"><h4 id="monthDisplay" style="text-align: center">Month</h4></div>
<div class="ui-block-c" style="text-align: right;margin-left: -15px; margin-top: 5px"><button data-inline="true" id="nextMonth">Next</button></div>
</div>
</div><!-- /footer -->
</div><!-- /page -->
<!-- Start of page: #day-->
<div data-role="page" id="day">
<div data-role="header" data-position="fixed">
<a data-role="button" data-icon="arrow-l" data-iconpos="notext" href="#month">Back</a>
<h1>Day</h1>
</div><!-- /header -->
<div data-role="content">
<div id="dayResults" data-role="collapsible-set">
</div>
</div><!-- /content -->
<div data-role="footer" style="text-align: center" data-position="fixed">
<a href="#actionsPopUp" data-role="button" data-icon="plus" data-inline="true" data-iconpos="notext" data-rel="dialog" data-transition="slideup" style="margin-top: 5px;margin-bottom: 15px" ></a>
</div><!-- /footer -->
</div><!-- /page day -->
<!-- Start of page: #actionsPopUp-->
<div data-role="page" id="actionsPopUp">
<div data-role="header">
<h1>Actions</h1>
</div><!-- /header -->
<div data-role="content">
<div data-role="controlgroup">
<a id="editEventAction" href="#eventEdit" data-role="button">Edit event</a>
<a id="newEventAction" href="#eventEdit" data-role="button">New event</a>
<a id="deleteEventAction" href="#" data-role="button" style="background: red">Delete event</a> <!-- onclick="deleteEvent()" -->
</div>
</div><!-- /content -->
</div><!-- /page actionsPopUp -->
<!-- Start of page: #eventEdit-->
<div data-role="page" id="eventEdit">
<!-- eventImagePanel -->
<div data-role="panel" id="eventImagePanel" data-position="right" data-display="overlay" class="panel-content">
<h2 style="text-align: center">Pick a Picture</h2>
<div data-role="controlgroup">
<a id="selectPictureButton" data-role="button" href="" data-icon="search">Select existing</a>
<a id="takeNewPictureButton" data-role="button" href="" data-icon="plus">Take new</a>
</div>
<a data-role="button" data-rel="close" href="" data-icon="delete">Close</a>
</div>
<div data-role="header" data-position="fixed">
<a data-role="button" data-icon="arrow-l" data-iconpos="notext" href="#day">Back</a>
<h1 id="eventEditHeader">Edit/New event</h1>
</div><!-- /header -->
<div data-role="content">
<div>
<input type="text" id="eventName" placeholder="Enter an event name"/>
</div>
<div class="ui-grid-a">
<div class="ui-block-a" style="padding-right: 5px">
<input id="eventBeginDate" type="date"/>
<label for="eventDuration">Length in minutes:</label>
<input type="range" name="eventDuration" id="eventDuration" min="1" max="300" data-highlight="true" />
</div>
<div class="ui-block-b" style="padding-left: 5px">
<input type="time" id="eventBeginTime"/>
<div class="containing-element ui-grid-b">
<div class="ui-block-a" style="text-align: right;padding-right: 5px ;padding-top: 15px"><label for="eventAlarm">Alarm:</label></div>
<div class="ui-block-b">
<select name="eventAlarm" id="eventAlarm" data-role="slider">
<option value="off">Off</option>
<option value="on">On</option>
</select>
</div>
</div>
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a" style="padding-right: 5px">
<textarea id="eventDescription" placeholder="Enter a description for the event"></textarea>
<input id="eventPlace" type="text" placeholder="Event place">
<a href="#directionsMap" data-role="button">Navigate</a>
</div>
<div class="ui-block-b" style="text-align: center; padding-left: 5px">
<img id="eventImage" src="apple-touch-icon.png">
</div>
</div>
<div data-role="navbar">
<ul>
<li><a id="buttonEventInvitedPeople" href="#" class="ui-btn-active ui-state-persist">Invited</a></li>
<li><a id="buttonContactsListView" href="#">Contacts</a></li>
</ul>
</div>
<ul id="eventInvitedPeople" style="margin-top: 15px" data-role="listview">
</ul>
<ul id="contactsListView" style="display: none;margin-top: 15px" data-role="listview">
</ul>
</div><!-- /content -->
<div data-role="footer" data-position="fixed">
<div class="ui-grid-a">
<div class="ui-block-a">
<a id="saveEvent" data-icon="check" data-iconpos="left" data-role="button">Save</a>
</div>
<div class="ui-block-b">
<a data-role="button" data-icon="delete" data-iconpos="right" data-rel="back">Discard</a>
</div>
</div>
</div><!-- /footer -->
</div><!-- /page eventEdit-->
<!-- Start of page: #directionsMap-->
<div data-role="page" id="directionsMap">
<div data-role="header">
<a data-role="button" data-icon="arrow-l" data-iconpos="notext" href="#eventEdit">Back</a>
<h1>Navigation</h1>
</div><!-- /header -->
<div data-role="content">
<div id="map-canvas" style="width:100%; height:300px"></div>
<div id="directionsPanel" style="width:100%;"></div>
</div><!-- /content -->
<div data- role="footer" data-position="fixed">
</div><!-- /footer -->
</div><!-- /page directionsMap -->
<script src="js/vendor/jquery-1.9.1.min.js"></script>
<script src="js/vendor/jquery.mobile-1.3.1.min.js" ></script>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAl4wz0Qhy84eRUU0yfJBijoSVxTPrL3co&sensor=true">
</script>
<script src="phonegap.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script src="js/phoneGapFunctions.js"></script>
</body>
</html>