forked from evanxd/sensorweb-frontend
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwidget.html
82 lines (82 loc) · 3.41 KB
/
widget.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<meta name="google-signin-client_id" content="463509681101-3mv6658rkbcq52dst0t3h17desmq6e8l.apps.googleusercontent.com">
<meta property="og:url" content="http://sensorweb.io">
<meta property="og:site_name" content="SensorWeb">
<meta property="og:title" content="Sharing IoT data to solve real world problems">
<meta property="og:description" content="SensorWeb is an open data platform for IoT. Share data from IoT devices without coding. Our platform allows you to create REST APIs through a Web interface.">
<meta property="og:image" content="http://sensorweb.io/images/promotion_01.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="1200">
<meta property="og:image" content="http://sensorweb.io/images/promotion_02.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="1200">
<meta property="twitter:title" content="SensorWeb">
<meta property="twitter:description" content="SensorWeb is an open data platform for IoT. Share data from IoT devices without coding. Our platform allows you to create REST APIs through a Web interface.">
<meta property="twitter:image:src" content="http://sensorweb.io/images/promotion_01.png">
<meta property="twitter:image:width" content="1200">
<meta property="twitter:image:height" content="1200">
<title>SensorWeb</title>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,700' rel='stylesheet' type='text/css'>
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<style>
html, body {
padding: 0;
margin: 0;
}
#pm25-title, #pm25, #last-update-title, #last-update {
color: #FFF;
position: absolute;
}
#pm25-title {
font-size: 1rem;
left: 43px;
top: -10px;
}
#pm25 {
font-size: 3rem;
left: 39px;
top: -14px;
}
#last-update-title {
font-size: 0.7rem;
left: 37px;
top: 67px;
}
#last-update {
font-size: 0.7rem;
left: 23px;
top: 99px;
}
</style>
</head>
<body>
<a id="link" target="_blank">
<h1 id="pm25-title">PM2.5</h1>
<p id="pm25"></p>
<h1 id="last-update-title">Last Update</h1>
<p id="last-update"></p>
<img src="./images/widget.gif" />
</a>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/lib/purl.js"></script>
<script src="js/moment-with-locales.min.js"></script>
<script src="js/config.js"></script>
<script src="js/widget.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75308712-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>