Cleanup debug interface html
This commit is contained in:
parent
4da4c93a3e
commit
896229001b
@ -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>
|
||||
<form id='in' onSubmit="return request()">
|
||||
<select id="list"></select>
|
||||
<input id="args" />
|
||||
<button id="execute">Ausführen</button>
|
||||
</form>
|
||||
|
||||
<h2>Brightness:</h2>
|
||||
<div id='container'>
|
||||
<form id='brightnessform' onSubmit="return setbrightness()">
|
||||
Rot: <input id="brightness" value=1.0 /><br/>
|
||||
<button id="sendbrightness">Setzen</button>
|
||||
</form>
|
||||
</div>
|
||||
<h2>Intensität:</h2>
|
||||
<form id='brightnessform' onSubmit="return setbrightness()">
|
||||
<input id="brightness" value=1.0 /><br/>
|
||||
<button id="sendbrightness">Setzen</button>
|
||||
</form>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<h2>Log:</h2>
|
||||
<div id='log'>
|
||||
<textarea readonly id='logs' style="width: 500px; height: 500px;"></textarea>
|
||||
</div>
|
||||
<textarea readonly id='logs' style="width: 500px; height: 500px;"></textarea>
|
||||
<script>
|
||||
function getRaw(from, callback){
|
||||
var xhttp = new XMLHttpRequest();
|
||||
|
Loading…
Reference in New Issue
Block a user