-
Notifications
You must be signed in to change notification settings - Fork 491
/
index.html
executable file
·80 lines (49 loc) · 1.6 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no,
shrink-to-fit=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<title>LinkIt Connect 7681</title>
<style>
@import 'ui/css/evothings-app.css';
@import 'app.css';
</style>
<script>
// Redirect console.log to Evothings Workbench.
if (window.hyper && window.hyper.log) { console.log = hyper.log }
</script>
<script src="cordova.js"></script>
<script src="libs/jquery/jquery.js"></script>
<script src="libs/evothings/evothings.js"></script>
<script src="libs/evothings/ui/ui.js"></script>
<script src="app.js"></script>
</head>
<body ontouchstart="">
<header>
<button class="back" onclick="history.back()">
<img src="ui/images/arrow-left.svg" />
</button>
<img class="logotype" src="ui/images/logo.svg" alt="Evothings" />
</header>
<h1>LinkIt Connect 7681</h1>
<div id="startView">
<img class="center" style="width:100%" src="img/mediatek-linkitconnect.jpg">
<h2>Enter IP-address of the LinkIt Connect 7681</h2>
<input id="IPAddress" value="192.168.0.1" type="url">
<button id="connectButton" class="green wide"> Connect </button>
</div>
<div id="connectingView" style="display:none">
<div id="connectingIndicator">
<img src="img/loader.gif">
<p id="connectingStatus"></p>
</div>
</div>
<div id="controlView" style="display:none">
<p>Turn on and off the leds by clicking the circles.</p>
<div id="ledView">
</div>
<button id="disconnectButton" class="red wide"> Disconnect </button>
</div>
</body>
</html>