forked from FirstLegoLeague/clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontrols.html
30 lines (29 loc) · 1.01 KB
/
controls.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
<!doctype html>
<script src="js/audio5.js"></script>
<link rel="stylesheet" href="css/Clock.css">
<script src="js/angular.min.js"></script>
<script src="js/ngStorage.min.js"></script>
<script src="js/ClockControlsCtrl.js"></script>
<body ng-app="Clock" ng-controller="ClockControlsCtrl">
<fieldset>
<legend>Clock control</legend>
<p>
<input type="text" ng-model="seconds">
<button ng-click="arm(seconds)">Arm</button>
<button ng-click="start()">Start</button>
<button ng-click="stop()">Stop</button>
<button ng-click="playPause()">Pause</button>
<button ng-click="mode()">Toggle tenths</button>
</p>
</fieldset>
<fieldset>
<legend>MHub Config</legend>
<p>
Host <input ng-model="config.host">
</p>
<p>
Node <input ng-model="config.node">
</p>
<p><button ng-click="update(config)">Update config</button></p>
</fieldset>
</body>