-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·80 lines (77 loc) · 2.9 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">
<title>IRKitE</title>
<script src="index.js"></script>
<link rel="stylesheet" href="css/photon.min.css" class="css">
</head>
<body>
<div class="window">
<header class="toolbar toolbar-header">
<h1 class="title">IRKItE</h1>
<div class="toolbar-actions">
<div class="btn-group">
<button class="btn btn-default" onclick="return home();">
<span class="icon icon-home"></span>
</button>
</div>
<div class="btn-group pull-right">
<button class="btn btn-default" onclick="return setting();">
<span class="icon icon-cog"></span>
</button>
</div>
</div>
</header>
<div class="window-content">
<div id="home" class="content" style="display: none;">
<h2>Home</h2>
<div class="group">
<button id="get_message_button" class="btn-primary">
<span class="icon icon-down-bold">Get Last Signal</span>
</button>
</div>
<hr/>
<table class="table-striped">
<thead>
<tr><th>Send Signal</th><th>action</th><th>category</th><th>updated</th></tr>
</thead>
<tbody id="message_list">
</tbody>
</table>
</div><!-- home end -->
<div id="setting" class="content" style="display: none;"><!-- SETTING START -->
<h2>Setting</h2>
<form>
<div class="form-group">
<label>IRKit IP Address</label>
<input type="text" id="ip_address" name="ip_address" class="form-control"
placeholder="192.168.1.1" maxlength="15"><br/><br/>
<button id="get_client_token_button" disabled="disabled">Get Client Token</button>
</div>
<div class="form-group">
<label>IRKit Client Key</label>
<input type="text" id="client_key" name="client_key" class="form-control"
placeholder="NOT FOUND" disabled="disabled"><br/><br/>
</div>
<div class="form-group">
<label>IRKit Device ID</label>
<input type="text" id="device_id" name="device_id" class="form-control"
placeholder="NOT FOUND" disabled="disabled"><br/><br/>
</div>
</form>
</div><!-- setting end -->
</div>
<footer class="toolbar toolbar-footer">
<h1 class="title">Copyright © 2015, [email protected]</h1>
</footer>
</div>
</body>
<script src="node_modules/moment/moment.js"></script>
<script>
window.jQuery = window.$ = require("jquery");
</script>
<script>
initialize();
</script>
</html>