-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex_local.html
46 lines (37 loc) · 1.31 KB
/
index_local.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
<!--
This dashboard is used by Dustlink. If you want to run a standalone dashboard
(i.e. static HTML), double-click on index.html, NOT this file.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Demo Dashboard</title>
<script type="text/javascript" src="/static/javascript/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="dragdropresize.js"></script>
<script type="text/javascript" src="inputselection_local.js"></script>
<script type="text/javascript" src="dashboard.js"></script>
<link type="text/css" rel="stylesheet" href="dashboard.css"/>
</head>
<body>
<div id="demodashboard"></div>
<div class="logo" id="logo">
<div>[ back ]</div>
<img src="logo.png" alt="logo" />
</div>
<script type="text/javascript">
$(document).ready(function(){
// position the logo
positionLogo();
// initialize the data input
initInputSelection({});
// load initial content right away
refreshDashboard();
// periodically refresh the dashboard
setInterval(refreshDashboard,1000);
});
</script>
</body>
</html>