-
Notifications
You must be signed in to change notification settings - Fork 0
/
hikingguide.html
191 lines (113 loc) · 4.07 KB
/
hikingguide.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
<!DOCTYPE HTML>
<html manifest="offline.appcache">
<!-- HTML header -->
<head>
<!-- Title -->
<title data-l10n-id="hiking-guide-title">Hiking Guide</title>
<!-- Localization files -->
<link rel="resource" type="application/l10n" href="locales/locales.ini">
<!-- FirefoxOS general styles -->
<link rel="stylesheet" type="text/css" href="shared/style/action_menu.css">
<link rel="stylesheet" type="text/css" href="shared/style/buttons.css">
<link rel="stylesheet" type="text/css" href="shared/style/headers.css">
<link rel="stylesheet" type="text/css" href="shared/style/input_areas.css">
<link rel="stylesheet" type="text/css" href="shared/style/switches.css">
<link rel="stylesheet" type="text/css" href="shared/style_unstable/lists.css">
<!-- Localization code -->
<script type="text/javascript" src="shared/js/l10n.js"></script>
<!-- OpenLayers javascript code -->
<script type="text/javascript" src="OpenLayers/OpenLayers.js"></script>
<!-- enyo javascript code -->
<script type="text/javascript" src="enyo/enyo.js"></script>
<!-- Application own styles -->
<link rel="stylesheet" type="text/css" href="css/hikingguide.css">
</head>
<!-- HTML body -->
<body id="body">
<!-- Application javascript code -->
<script type="text/javascript" src="js/hikingguide.js"></script>
<!-- Container for all screens -->
<div id="container">
<!-- Main screen -->
<section id="mainwindow" role="region" data-position="current">
<!-- Header -->
<header>
<!-- Button for settings -->
<button id="menubutton"><span data-l10n-id="settings-button-text" class="icon icon-menu">Settings</span></button>
<!-- Heading -->
<h1 data-l10n-id="main-heading">Hiking Guide</h1>
</header>
<!-- Map -->
<div id="map" class="mapa">
<!-- Map buttons toolbar (over map) -->
<div id="bottom-toolbar" class="bottom-toolbar invisible">
<!-- Manual refresh button -->
<button id="locate" class="refresh-btn bottom-btn"></button>
<!-- Refresh pause & play button -->
<button id="locateplaypause" class="pause-btn bottom-btn"></button>
<!-- Way delete button -->
<button id="waydelete" class="delete-btn bottom-btn"></button>
</div>
</div>
</section>
<!-- Settings screen -->
<section id="settings" class="skin-dark" role="region" data-position="left">
<!-- Header -->
<header>
<!-- Settings OK button -->
<menu type="toolbar"><button id="settingsokbutton" data-l10n-id="settings-ok-text">OK</button></menu>
<!-- Heading -->
<h1 data-l10n-id="settings-heading">Settings</h1>
</header>
<!-- Track file -->
<section data-type="list">
<!-- Label -->
<header><label for="trackfile" data-l10n-id="settings-track-file-text">Track file</label></header>
<!-- File input -->
<ul>
<li id="trackfileitem">
<p>
<input type="file" placeholder="GPX, KML" id="trackfile" name="files[]" />
</p>
</li>
<li id="trackfileselectitem">
<p>
<select id="trackfileselect">
<option></option>
</select>
</p>
</li>
</ul>
</section>
<!-- Position refresh options -->
<section class="radiobuttons" data-type="list">
<!-- Label -->
<header><label for="refreshoptions" data-l10n-id="settings-refresh-position-text">Refresh position</label></header>
<!-- Options -->
<ul>
<!-- Manual refresh -->
<li>
<p>
<label>
<input id="manuallocate" name="refreshoptions" checked="" type="radio">
<span></span>
</label>
<span data-l10n-id="settings-refresh-position-manual-text">Manual</span>
</p>
</li>
<!-- Automatic refresh -->
<li>
<p>
<label>
<input id="autolocate" name="refreshoptions" type="radio">
<span></span>
</label>
<span data-l10n-id="settings-refresh-position-automatic-text">Automatic</span>
</p>
</li>
</ul>
</section>
</section>
</div>
</body>
</html>