intval3/app/www/index.html

113 lines
3.5 KiB
HTML
Raw Normal View History

2017-08-22 02:49:35 +00:00
<!doctype html>
<html>
<head>
2017-11-23 00:48:45 +00:00
<title>INTVAL</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width = 320, initial-scale = 1.0, user-scalable = no, minimal-ui, viewport-fit=cover">
2017-11-23 00:48:45 +00:00
<link rel="stylesheet" href="static/css/codemirror.css" />
<link rel="stylesheet" href="static/css/monokai.css" />
2017-11-22 19:26:43 +00:00
<link rel="stylesheet" href="static/css/index.css" />
2017-08-22 02:49:35 +00:00
</head>
<body>
<div id="overlay">
<div id="spinner"></div>
</div>
<div id="app" class="page selected">
2017-11-23 00:48:45 +00:00
<h2>INTVAL</h2>
<div>
<div class="label">Counter</div>
<input type="number" id="counter" onclick="setCounter();" value="0" step="1" readonly />
</div>
<div>
2017-10-22 02:13:38 +00:00
<div class="label">Direction</div>
2017-10-22 02:17:32 +00:00
<span id="bwdLabel">BACKWARD</span>
2017-10-22 02:13:38 +00:00
<span id="fwdLabel" class="selected">FORWARD</span>
<label class="switch">
<input type="checkbox" id="dir" onclick="setDir();">
<span class="slider round"></span>
</label>
</div>
<div>
<div class="label">Exposure <span id="str">1/5</span></div>
<input type="number" id="exposure" value="630" min="0" onchange="setExposure();" />
<select id="scale" onchange="setExposureScale();">
<option value="ms" selected>ms</option>
<option value="sec">sec</option>
<option value="min">min</option>
<option value="hour">hour</option>
</select>
</div>
<div>
<div class="label">Delay</div>
<input type="number" id="delay" value="0" min="0" step="1" onchange="setDelay();" />
<select id="delayScale" onchange="setDelayScale();">
<option value="ms" selected>ms</option>
<option value="sec">sec</option>
<option value="min">min</option>
<option value="hour">hour</option>
</select>
</div>
<div>
<button id="seq" onclick="sequence();">START SEQUENCE</button>
</div>
<div>
<button id="frame" onclick="frame();">+1 FRAME</button>
</div>
2017-10-22 01:44:07 +00:00
</div>
<div id="settings" class="page">
<h2>SETTINGS</h2>
<div>
<div class="label">Rex-o-fader</div>
<select id="angle">
2017-10-24 13:56:59 +00:00
<option value="133" selected>0 (Normal)</option>
<option value="66">1 Stop</option>
<option value="33">2 Stop</option>
</select>
</div>
<div class="ble">
<h2>BLUETOOTH</h2>
<select id="bluetooth">
<option>N/A</option>
</select>
<button id="disconnect" onclick="mobile.ble.disconnect();">DISCONNECT</button>
<button id="scan" class="active" onclick="mobile.ble.scan();">SCAN FOR DEVICE</button>
</div>
<div class="ble">
<h2>WIFI</h2>
<div>
<input type="text" id="ssid" placeholder="Wifi SSID" />
</div>
<div>
<input type="password" id="password" placeholder="Wifi Password" />
</div>
<button id="wifi" onclick="alert('WIFI');">CONNECT</button>
</div>
</div>
<div id="mscript" class="page">
2017-11-23 00:48:45 +00:00
<h2>MSCRIPT</h2>
<textarea id="mscript_editor"></textarea>
<button id="compile">COMPILE</button>
<button id="mscript_seq">START SEQUENCE</button>
</div>
2017-11-21 18:50:01 +00:00
<footer>
2017-11-23 00:48:45 +00:00
<div id="settingsIcon" onclick="settingsPage();" class="icon">
<div> </div>
</div>
2017-11-23 00:48:45 +00:00
<div id="appIcon" onclick="appPage();" class="icon selected">
<div></div>
</div>
2017-11-23 00:48:45 +00:00
<div id="mscriptIcon" onclick="mscriptPage();" class="icon">
<div></div>
</div>
2017-11-21 18:50:01 +00:00
</footer>
<script src="cordova.js"></script>
<script src="static/js/spin.min.js"></script>
2017-11-23 00:48:45 +00:00
<script src="static/js/codemirror.js"></script>
<script src="static/js/intval.core.js"></script>
<script src="static/js/intval.web.js"></script>
<script src="static/js/intval.mobile.js"></script>
2017-11-23 00:48:45 +00:00
<script src="static/js/intval.mscript.js"></script>
<script src="static/js/index.js"></script>
2017-08-22 02:49:35 +00:00
</body>
</html>