66 lines
4.3 KiB
PHP
66 lines
4.3 KiB
PHP
<?php
|
|
|
|
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
|
|
header("Cache-Control: post-check=0, pre-check=0", false);
|
|
header("Pragma: no-cache");
|
|
|
|
require 'header.php';
|
|
|
|
require "htmlheader.php";
|
|
|
|
?>
|
|
<div id='mainbody' class='mainbody'>
|
|
<div id='tabs'>
|
|
<ul>
|
|
<li><a href='#main'>Main</a></li>
|
|
<li><a href='#picker'>Picker</a></li>
|
|
<li><a href='#devices-tab'>Devices</a></li>
|
|
</ul>
|
|
<div id='main'>
|
|
<p><input type='button' class='buttonquarter' value='ALL' onClick='setTarget(0);' id='active-all'>
|
|
<input type='button' class='buttonquarter' value='CABU' onClick='setTarget(2);' id='active-up'>
|
|
<input type='button' class='buttonquarter' value='CABD' onClick='setTarget(1);' id='active-down'>
|
|
<input type='button' class='buttonquarter' value='WALL' onClick='setTarget(3);' id='active-wall'></p>
|
|
<input type='button' class='buttonquarter' value='CLDN' onClick='setTarget(5);' id='active-cldn'>
|
|
<input type='button' class='buttonquarter' value='GZBO' onClick='setTarget(6);' id='active-gzbo'>
|
|
<input type='button' class='buttonquarter' value='CCCC' onClick='setTarget(7);' id='active-cccc'>
|
|
<input type='button' class='buttonquarter' value='POST' onClick='setTarget(4);' id='active-post'></p>
|
|
<p><input type='button' class='buttonthird' value='Go Crazy' onClick='setPattern("crazy");'>
|
|
<input type='button' class='buttonthird' value='Christmas' onClick='setPattern("christmas");'>
|
|
<input type='button' class='buttonthird' value='4th of July' onClick='setPattern("julyfourth");'></p>
|
|
<!-- <input type='button' style='height: 3em; margin-bottom: 0.25em; width: 20em;' value='Red Green Blue' onClick='setPattern("rgb");'><br /> -->
|
|
<p><input type='button' class='buttonthird' value='Easter' onClick='setPattern("easter");'>
|
|
<input type='button' class='buttonthird' value='Halloween' onClick='setPattern("halloween");'>
|
|
<input type='button' class='buttonthird' value='Thanksgiving' onClick='setPattern("thanksgiving");'></p>
|
|
<p><input type='button' class='buttonthird' value='Cinco de Mayo' onClick='setPattern("mexico");'>
|
|
<input type='button' class='buttonthird' value='WSU' onClick='setPattern("wsu");'>
|
|
<input type='button' class='buttonthird' value='Cauldron' onClick='setPattern("cauldron");'></p>
|
|
<p><input type='button' class='buttonfull' value='Be Mellow' onClick='setPattern("mellow");'></p>
|
|
<p><input type='button' class='buttonsixth bc_red' value='Rd' onClick="$('#colorwheel').val('FF0000'); setColor();">
|
|
<input type='button' class='buttonsixth bc_green' value='Gr' onClick="$('#colorwheel').val('00FF00'); setColor();">
|
|
<input type='button' class='buttonsixth bc_blue' value='Bl' onClick="$('#colorwheel').val('0000FF'); setColor();">
|
|
<input type='button' class='buttonsixth bc_cyan' value='Cy' onClick="$('#colorwheel').val('09f6ff'); setColor();">
|
|
<input type='button' class='buttonsixth bc_purple' value='Pr' onClick="$('#colorwheel').val('d208ff'); setColor();">
|
|
<input type='button' class='buttonsixth bc_orange' value='Or' onClick="$('#colorwheel').val('ff5509'); setColor();"></p>
|
|
<!-- <input type='button' style='height: 3em; margin-bottom: 0.25em; width: 20em;' value='Mellow Random' onClick='setPattern("crazymellow");'><br /> -->
|
|
<p><input type='button' class='buttonhalf' value='Disable Auto' onClick='disableAuto();'>
|
|
<input type='button' class='buttonhalf' value='Lights Off' onClick='lightsOff()';></p>
|
|
<p>White: <input type='button' value='25%' onClick="$('#colorwheel').val('3F3F38'); setColor();">
|
|
<input type='button' value='50%' onClick="$('#colorwheel').val('7F7F72'); setColor();">
|
|
<input type='button' value='75%' onClick="$('#colorwheel').val('BFBFAC'); setColor();">
|
|
<input type='button' value='100%' onClick="$('#colorwheel').val('FFFFE5'); setColor();"></p>
|
|
</div>
|
|
<div id='picker'>
|
|
<input type='button' style='height: 3em; margin-bottom: 0.25em; width: 8em;' value='Set Color' onClick='setColor();'>
|
|
<input type='text' name='colorwheel' id='colorwheel' value='ff0000' /><br />
|
|
</div>
|
|
<div id="devices-tab">
|
|
<p><button class="button-refresh" id="btn-refresh-devices">Refresh List</button></p>
|
|
<div id="devices" class="devices"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
|
|
require "htmlfooter.php";
|