lightrix/remote/index.html

26 lines
1.1 KiB
HTML

<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-beta1/jquery.min.js"></script>
<script src="./matrix-0.4.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.css">
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
<body>
<div class="buttons">
<button onclick="setRoom(0)">pss9 Living Room</button>
<button onclick="setRoom(1)">pss9 Bedroom</button>
</div>
<div id="picker">
</div>
<div class="buttons">
<button onclick="setPattern('rainbow')">Rainbow</button>
<button onclick="setPattern('off')">off</button>
<input type="text" id="brightness" />
<button onclick="setBrightness()">Set Brightness</button>
</div>
<script src="./secrets.js"></script>
<script src="./index.js"></script>
</body>
</html>