forked from dotkom/notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile.html
243 lines (215 loc) · 8.28 KB
/
mobile.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
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html lang="en">
<head>
<title>Notifier</title>
<meta charset="utf-8" />
<!-- Remove Safari UI elements -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- Black status bar (wifi, battery indicator etc) - maybe use black-translucent ? -->
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!-- Use a static viewport, prevent zooming/scaling -->
<meta name="viewport" content="user-scalable=0" />
<!-- Set the default Home Screen name for the web app -->
<meta name="apple-mobile-web-app-title" content="Notifier">
<!-- App icons -->
<!-- Any device -->
<link href="mimg/icon-57.png" rel="apple-touch-icon-precomposed" />
<!--iPhone-->
<link href="mimg/icon-57.png" sizes="57x57" rel="apple-touch-icon-precomposed" />
<!--iPad-->
<link href="mimg/icon-72.png" sizes="72x72" rel="apple-touch-icon-precomposed" />
<!--iPhone Retina-->
<link href="mimg/icon-114.png" sizes="114x114" rel="apple-touch-icon-precomposed" />
<!--iPad Retina-->
<link href="mimg/icon-144.png" sizes="144x144" rel="apple-touch-icon-precomposed" />
<!-- Splash image -->
<!-- iPhone -->
<link href="mimg/splash-320x460.png" sizes="320x460" media="(device-width: 320px)" rel="apple-touch-startup-image" />
<!-- iPhone4 -->
<link href="mimg/splash-640x920.png" sizes="640x920" media="(device-width: 320px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<!-- iPhone5 -->
<link href="mimg/splash-640x1096.png" sizes="640x1096" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<!-- iPad Portrait -->
<link href="mimg/splash-768x1004.png" sizes="768x1004" media="(min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait)" rel="apple-touch-startup-image" />
<!-- iPad Landscape -->
<link href="mimg/splash-1024x748.png" sizes="1024x748" media="(min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!-- iPad Retina Portrait -->
<link href="mimg/splash-1536x2008.png" sizes="1536x2008" media="(device-width: 1536px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<!-- iPad Retina Landscape -->
<link href="mimg/splash-2048x1496.png" sizes="2048x1496" media="(device-width: 1536px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<!-- CSS Less -->
<link rel="stylesheet" type="text/css" href="less/mobile.css" />
<link rel="stylesheet" type="text/css" href="less/palettes/blue.css" id="palette" />
</head>
<body>
<div id="container">
<div id="office">
<div id="status">Laster</div>
<div id="subtext">Henter kontorstatus...</div>
</div>
<div id="todays">
<div id="schedule">
<div class="title">Kontoret i dag</div>
<div id="servant">- Laster kontorvakt...</div>
<div id="meetings">Laster møteplan...</div>
</div>
<div id="coffee">
<div class="title">Kaffe på kontoret</div>
<div id="pots">- Laster antall kanner...</div>
<div id="age">Laster kaffestatus...</div>
</div>
</div>
<div id="cantinas">
<div id="left">
<div class="title">
Laster...
</div>
<div class="hours">- Laster...</div>
<div id="dinnerbox"></div>
</div>
<div id="right">
<div class="title">
Laster...
</div>
<div class="hours">- Laster...</div>
<div id="dinnerbox"></div>
</div>
</div>
<div id="bus">
<div id="firstBus">
<div class="name">
<img class="loadingLeft" src="img/loading.gif" />
</div>
<div class="first">
<span class="line"></span>
<span class="time"></span>
</div>
<div class="second">
<span class="line"></span>
<span class="time"></span>
</div>
<div class="third">
<span class="line"></span>
<span class="time"></span>
</div>
</div>
<div id="middle">
<img src="mimg/logo-atb-small.png" />
</div>
<div id="secondBus">
<div class="name">
<img class="loadingRight" src="img/loading.gif" />
</div>
<div class="first">
<span class="time"></span>
<span class="line"></span>
</div>
<div class="second">
<span class="time"></span>
<span class="line"></span>
</div>
<div class="third">
<span class="time"></span>
<span class="line"></span>
</div>
</div>
</div>
<div id="news">
<div class="post">
<div class="title">Laster tittel...</div>
<div class="item" data="https://online.ntnu.no/">
<img src="org/online/placeholder.png" width="107">
<div class="textwrapper">
<div class="author">– Laster forfatter... Laster dato...</div>
Laster tekst...
</div>
</div>
</div>
<div class="post">
<div class="title">Laster tittel...</div>
<div class="item" data="https://online.ntnu.no/">
<img src="org/online/placeholder.png" width="107">
<div class="textwrapper">
<div class="author">– Laster forfatter... Laster dato...</div>
Laster tekst...
</div>
</div>
</div>
<div class="post">
<div class="title">Laster tittel...</div>
<div class="item" data="https://online.ntnu.no/">
<img src="org/online/placeholder.png" width="107">
<div class="textwrapper">
<div class="author">– Laster forfatter... Laster dato...</div>
Laster tekst...
</div>
</div>
</div>
<div class="post">
<div class="title">Laster tittel...</div>
<div class="item" data="https://online.ntnu.no/">
<img src="org/online/placeholder.png" width="107">
<div class="textwrapper">
<div class="author">– Laster forfatter... Laster dato...</div>
Laster tekst...
</div>
</div>
</div>
</div>
<div id="logo">
<a href="https://online.ntnu.no">
<img src="mimg/logo-big.png" />
</a>
</div>
<!--
<div id="options">
<span class="title">Bussvalg</span>
<div id="busBox">
<div id="firstBus" class="busStop">
<input type="text" placeholder="Busstopp" style="z-index:300;"></input><br />
<select>
<option>til byen</option>
<option selected="selected">fra byen</option>
</select>
</div>
<label for="showBus">
<img id="busLogo" src="/mobile/mimg/logo-atb-small.png" />
</label>
<div id="secondBus" class="busStop">
<input type="text" placeholder="Busstopp"></input><br />
<select>
<option selected="selected">til byen</option>
<option>fra byen</option>
</select>
</div>
</div>
<div id="busSuggestions">
</div>
-->
</div>
<!-- JS No Dependencies -->
<script src="libs/jquery-2.0.0.min.js"></script>
<script src="js/missing.js"></script>
<script src="js/hotfix.js"></script>
<!-- JS Behind the scenes -->
<script src="js/browser.js"></script> <!-- browser needs jquery -->
<script src="js/constants.js"></script> <!-- constants needs browser -->
<script src="js/analytics.js"></script> <!-- analytics needs constants -->
<script src="js/defaults.js"></script> <!-- defaults needs browser -->
<!-- JS Affiliation and Such -->
<script src="js/ajaxer.js"></script> <!-- ajaxer needs jquery -->
<script src="js/affiliation.js"></script> <!-- affiliation needs images -->
<script src="js/palettes.js"></script> <!-- palettes needs affiliation -->
<!-- JS Services -->
<script src="js/bus.js"></script>
<script src="js/cantina.js"></script>
<script src="js/coffee.js"></script>
<script src="js/hours.js"></script>
<script src="js/meetings.js"></script>
<script src="js/news.js"></script>
<script src="js/office.js"></script>
<script src="js/servant.js"></script>
<!-- Document ready sript -->
<script src="cs/mobile.js"></script>
</body>
</html>