mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
make UI more intuitive
This commit is contained in:
@@ -175,6 +175,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$("input#autoexec-cb").on("click", function() {
|
$("input#autoexec-cb").on("click", function() {
|
||||||
|
showMessage('please wait for the ESP32 to reboot', 'WARNING');
|
||||||
var data = { 'timestamp': Date.now() };
|
var data = { 'timestamp': Date.now() };
|
||||||
autoexec = (this.checked)?1:0;
|
autoexec = (this.checked)?1:0;
|
||||||
data['autoexec'] = autoexec;
|
data['autoexec'] = autoexec;
|
||||||
|
|||||||
@@ -192,10 +192,10 @@
|
|||||||
<input id="save-autoexec1" type="button" class="btn btn-success" value="Save" />
|
<input id="save-autoexec1" type="button" class="btn btn-success" value="Save" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1>Start Squeezelite</h1>
|
<h1>Start Squeezelite (toggle to activate changes)</h1>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
<input type="checkbox" class="custom-control-input" id="autoexec-cb" checked="checked">
|
|
||||||
<label class="custom-control-label" for="autoexec-cb"></label>
|
<label class="custom-control-label" for="autoexec-cb"></label>
|
||||||
|
<input type="checkbox" class="custom-control-input" id="autoexec-cb" checked="checked">
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user