Cleanup debug interface html

This commit is contained in:
Andreas Völker 2019-01-01 12:51:34 +01:00
parent 4da4c93a3e
commit 896229001b

View File

@ -8,36 +8,28 @@
<h1>Andreas <i>DEBUG</i> Interface</h1>
<h2>Kommando:</h2>
<div id='container' style="display: none;">
<form id='in' onSubmit="return request()">
<select id="list"></select>
<input id="args" />
<button id="execute">Ausführen</button>
</form>
</div>
<h2>Brightness:</h2>
<div id='container'>
<h2>Intensität:</h2>
<form id='brightnessform' onSubmit="return setbrightness()">
Rot: <input id="brightness" value=1.0 /><br/>
<input id="brightness" value=1.0 /><br/>
<button id="sendbrightness">Setzen</button>
</form>
</div>
<h2>Gamma:</h2>
<div id='container'>
<form id='gammeform' onSubmit="return setgamma()">
Rot: <input id="gammar" value=2.8 /><br/>
Grün: <input id="gammag" value=2.65 /><br/>
Blau: <input id="gammab" value=2.65 /><br/>
<button id="sendgamma">Setzen</button>
</form>
</div>
<h2>Log:</h2>
<div id='log'>
<textarea readonly id='logs' style="width: 500px; height: 500px;"></textarea>
</div>
<script>
function getRaw(from, callback){
var xhttp = new XMLHttpRequest();