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