-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
173 lines (146 loc) · 8.5 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'ng-app='huewi'>
<head>
<title>hue Web Interface</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' />
<meta name='mobile-web-app-capable' content='yes' />
<meta name='mobile-web-app-title' content='huewi' />
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name='apple-mobile-web-app-title' content='huewi' />
<meta name='apple-mobile-web-app-status-bar-style' content='black' />
<meta http-equiv='x-dns-prefetch-control' content='off'>
<link rel="shortcut icon" type="image/png" href="./assets/img/huewi_logo.png"/>
<!-- >
<h3>Local bower_components ._=+-+=_. Local bower_components ._=+-+=_. Local bower_components</h3>
<link rel='stylesheet' href='./bower_components/bootstrap/dist/css/bootstrap.min.css'>
<link rel='stylesheet' href='./assets/css/huewi.css'>
<script type='text/javascript' src='./bower_components/jquery/dist/jquery.min.js'></script>
<script type='text/javascript' src='./bower_components/bootstrap/dist/js/bootstrap.min.js'></script>
<script type='text/javascript' src='./bower_components/angular/angular.min.js'></script>
<script type='text/javascript' src='./bower_components/angular-animate/angular-animate.min.js'></script>
<script type='text/javascript' src='./bower_components/angular-touch/angular-touch.min.js'></script>
< -->
<!-- build:css -->
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
<link rel='stylesheet' href='assets/css/huewi.css'>
<!-- endbuild -->
<script src='https://unpkg.com/axios/dist/axios.min.js' type='text/javascript'></script>
<script type='text/javascript' src='cordova.js'></script>
<!-- build:js -->
<script type='text/javascript' src='https://code.jquery.com/jquery-3.2.0.min.js'></script>
<script type='text/javascript' src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'></script>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js'></script>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular-animate.min.js'></script>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular-touch.min.js'></script>
<script type='text/javascript' src='../huepi/huepi.js'></script>
<script type='text/javascript' src='app/huewi.js'></script>
<script type='text/javascript' src='assets/js/addkey.js'></script>
<script type='text/javascript' src='assets/js/nospaces.js'></script>
<script type='text/javascript' src='assets/js/asarray.js'></script>
<script type='text/javascript' src='assets/js/timebasedgradient.js'></script>
<script type='text/javascript' src='assets/js/navdrawer.js'></script>
<script type='text/javascript' src='assets/js/menu.js'></script>
<script type='text/javascript' src='assets/js/hueconnector.js'></script>
<script type='text/javascript' src='app/huewi-controller.js'></script>
<script type='text/javascript' src='app/components/huewi-groups.js'></script>
<script type='text/javascript' src='app/components/huewi-lights.js'></script>
<script type='text/javascript' src='app/components/huewi-groupandlight.js'></script>
<script type='text/javascript' src='app/components/huewi-schedules.js'></script>
<script type='text/javascript' src='app/components/huewi-scenes.js'></script>
<script type='text/javascript' src='app/components/huewi-sensors.js'></script>
<script type='text/javascript' src='app/components/huewi-rules.js'></script>
<script type='text/javascript' src='app/components/huewi-bridge.js'></script>
<script type='text/javascript' src='app/components/huewi-about.js'></script>
<!-- endbuild -->
</head>
<body ng-controller='huewiController as vm'>
<div class='overlay timebasedgradient'>
<div class='container' id='huewiGroups'>
<div huewi-groups>
</div><!-- /huewi-groups -->
</div><!-- /container -->
<div class='container' id='huewiLights'>
<div huewi-lights><
</div><!-- /huewi-lights -->
<br>
</div><!-- /container -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.Menu.GetItem() === "Group" || vm.Menu.GetItem() === "Light"'>
<div class='inlay timebasedgradient'>
<div huewi-groupandlight id='huewiGroupAndLight' class='fading' ng-if='vm.Menu.GetItem() === "Group" || vm.Menu.GetItem() === "Light"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.Menu.GetItem() === "Schedules"'>
<div class='inlay timebasedgradient'>
<div huewi-schedules id='huewiSchedules' class='fading' ng-if='vm.Menu.GetItem() === "Schedules"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.Menu.GetItem() === "Scenes"'>
<div class='inlay timebasedgradient'>
<div huewi-scenes id='huewiScenes' class='fading' ng-if='vm.Menu.GetItem() === "Scenes"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.Menu.GetItem() === "Sensors"'>
<div class='inlay timebasedgradient'>
<div huewi-sensors id='huewiSensors' class='fading' ng-if='vm.Menu.GetItem() === "Sensors"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.Menu.GetItem() === "Rules"'>
<div class='inlay timebasedgradient'>
<div huewi-rules id='huewiRules' class='fading' ng-if='vm.Menu.GetItem() === "Rules"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.hueConnector.GetStatus() === "!Connected" || vm.Menu.GetItem() === "Bridge"'>
<div class='inlay timebasedgradient'>
<div huewi-bridge id='huewiBridge' class='fading' ng-if='vm.hueConnector.GetStatus() === "!Connected" || vm.Menu.GetItem() === "Bridge"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div class='overlay fading' ng-show='vm.Menu.GetItem() === "About"'>
<div class='inlay timebasedgradient'>
<div huewi-about id='huewiAbout' class='fading' ng-if='vm.Menu.GetItem() === "About"'>
</div>
</div><!-- /inlay -->
</div><!-- /overlay -->
<div id='navcontainer' class='timebasedgradient'>
<div id='navbutton' class='glyphicon glyphicon-menu-hamburger'></div>
<nav id='navdrawer'>
<h4>Settings</h4>
<div class='list-group'>
<li class='list-group-item' ng-click='vm.Menu.SetItem("Schedules")'>Schedules</li>
<li class='list-group-item' ng-click='vm.Menu.SetItem("Scenes")'>Scenes</li>
<li class='list-group-item' ng-click='vm.Menu.SetItem("Sensors")'>Sensors</li>
<li class='list-group-item' ng-click='vm.Menu.SetItem("Rules")'>Rules</li>
</div>
<div class='list-group'>
<li class='list-group-item' ng-click='vm.Menu.SetItem("Bridge")'>Bridge</li>
</div>
<div class='list-group'>
<li class='list-group-item' ng-click='vm.Menu.SetItem("About")'>About</li>
</div>
</nav><!-- /navdrawer -->
</div><!-- /navcontainer -->
<div class='status timebasedgradient'>
<h4>hue Web Interface</h4>
<div id='huewiStatusbar'>
<div>{{vm.hueConnector.GetStatus()}}</div>
<div>Bridge IP: {{vm.MyHue.BridgeIP}}</div>
<div>Bridge Name: {{vm.MyHue.BridgeName}}</div>
</div><!-- /huewiStatusbar -->
</div><!-- /status -->
<div class='toastposition'>
<div class='toast fading timebasedgradient' ng-click='vm.BackbuttonPressed()' ng-if='TESTCODE' >Test Android ToastMessage</div>
<div class='toast fading timebasedgradient' ng-show='vm.Menu.GetItem() === "QuitOnBack"'>
Please press back key again to quit
</div>
</div>
<div id='fadeafterloading' class='overlay fading' ng-show='true' style='background:black'>
</div>
<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','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-89591545-1', 'auto');ga('send', 'pageview');</script>
</body><!-- /huewiController -->
</html>