forked from sclub/HAGearS3NG
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
91 lines (89 loc) · 3.53 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,user-scalable=no">
<title>HomeAssistant</title>
<script type="text/javascript" src="lib/jquery/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" href="css/materialdesignicons.min.css" media="all" type="text/css"/>
<link rel="stylesheet" href="lib/tau/wearable/theme/default/tau.min.css">
<link rel="stylesheet" media="all and (-tizen-geometric-shape: circle)" href="lib/tau/wearable/theme/default/tau.circle.min.css">
<!-- load theme file for your application -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Main page -->
<div class="ui-page ui-page-active" id="main" data-enable-page-scroll="false">
<div id="main-nav" class="ui-content ui-selector">
<div class="ui-item" data-title="Lights">
<div class="mdi mdi-lightbulb mdi-36px"></div>
</div>
<div class="ui-item" data-title="Switches">
<div class="mdi mdi-flash mdi-36px"></div>
</div>
<div class="ui-item" data-title="Scripts">
<div class="mdi mdi-file-document mdi-36px"></div>
</div>
<div class="ui-item" data-title="Covers">
<div class="mdi mdi-blinds mdi-36px"></div>
</div>
<div class="ui-item" data-title="Groups">
<div class="mdi mdi-account-multiple mdi-36px"></div>
</div>
<div class="ui-item" data-title="Settings">
<div class="mdi mdi-settings mdi-36px"></div>
</div>
</div>
<div id="main-spinner" class="ui-processing ui-processing-full-size hidden"></div>
</div>
<!-- Entities page -->
<div id="entities" class="ui-page">
<header class="ui-header">
<h2 id="entity-list-title" class="ui-title">Switches</h2>
</header>
<div class="ui-content">
<ul id="entity-list" class="ui-listview ui-snap-listview">
</ul>
</div>
<footer class="ui-footer ui-bottom-button">
<button id="refresh-button" class="ui-btn"><div class="mdi mdi-refresh mdi-48px"></div></button>
</footer>
<div id="entity-spinner" class="ui-processing ui-processing-full-size hidden"></div>
</div>
<div id="setup" class="ui-page">
<header class="ui-header">
<h2 class="ui-title">Setup</h2>
</header>
<div class="ui-content">
<form action="" method="" class="setup-form">
<label>HA Url: <input id="setup-url" type="url" placeholder="https://example.org"/></label>
<label>Cl1p.net Path: <input id="setup-token" type="text"/></label>
</form>
</div>
<footer class="ui-footer ui-bottom-button">
<button id="setup-save-button" class="ui-btn">Save</button>
</footer>
</div>
<div id="error-popup" class="ui-popup">
<div id="error-popup-contents" class="ui-popup-content">
</div>
<div class="ui-popup-footer ui-bottom-button">
<a id="error-popup-cancel" href="#" class="ui-btn" data-rel="back">OK</a>
</div>
</div>
<!-- Helpers -->
<script type="text/javascript" src="js/polyfills.js"></script>
<script type="text/javascript" src="lib/tau/wearable/js/tau.min.js"></script>
<script type="text/javascript" src="js/circle-helper.js"></script>
<!-- Libraries -->
<script type="text/javascript" src="js/Services.js"></script>
<script type="text/javascript" src="js/DataManager.js"></script>
<!-- Pages -->
<script type="text/javascript" src="js/pages/EntityMetadata.js"></script>
<script type="text/javascript" src="js/pages/EntitiesPage.js"></script>
<script type="text/javascript" src="js/pages/MainPage.js"></script>
<script type="text/javascript" src="js/pages/SettingsPage.js"></script>
<!-- App -->
<script src="index.js"></script>
<script src="lowBatteryCheck.js"></script>
</body>
</html>