/
index.html
105 lines (82 loc) · 3.45 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<title>Hello World</title>
</head>
<body>
<div class="app" id="app">
<div id="weather" class="weather">
</div>
<div id="clock" class="clock">
</div>
<div id="widget" class="widget">
</div>
<div id="flickr"
</div>
</div>
<script type="template" id="weather-template">
<h1 class="weather-main">
<canvas class="weather-icon" id="weather_icon" width="128" height="128"></canvas>
<span class="weather-temperature"><%- temperature %> °C</span>
</h1>
<h2 class="weather-summary"><%- summary %></h2>
</script>
<script type="template" id="weight-template">
<h1 class="weight">
<span class="weight-number"><%- weight %></span><span class="weight-unit">kg</span>
</h1>
<div class="weight-content"> </div>
</script>
<script type="template" id="welcome-user-template">
<h1>Hello <%= name %>!</h1>
<svg id="chart" class="chart" width="375" height="250"></svg>
</script>
<script type="template" id="new-user-template">
<div class="new-user">
<h1>Hello!</h1>
<p>Please scan the QR-Code to create a new account</p>
<img src="<%= qrURL %>" class="qr-code" width="200px" height="200px">
</div>
</script>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<script type="template" id="clock-template">
<h1 class="clock-time"><%- time %></h1>
<h2 class="clock-date"><%- date %></h2>
</script>
<script type="template" id="qod-template">
<h1><%- quote %></h1>
<h2>by <%- author %></h2>
<h3>provided by theysaidso.com</h3>
</script>
<script type="template" id="image-template">
<img src="<%- url %>">
<p><%- copyright %></p>
</script>
<!-- vendor -->
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/lodash.js"></script>
<script type="text/javascript" src="js/d3.min.js"></script>
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="js/skycons.js"></script>
<!-- common -->
<script type="text/javascript" src="js/api.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/fake-balance-board.js"></script>
<script type="text/javascript" src="js/widget.js"></script>
<!-- widgets -->
<script type="text/javascript" src="js/weight.js"></script>
<script type="text/javascript" src="js/weather.js"></script>
<script type="text/javascript" src="js/clock.js"></script>
<script type="text/javascript" src="js/qod.js"></script>
<script type="text/javascript" src="js/giphy.js"></script>
<script type="text/javascript" src="js/flickr.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>