Update index.html
This commit is contained in:
10
index.html
10
index.html
@@ -2100,16 +2100,20 @@
|
|||||||
var tts = false;
|
var tts = false;
|
||||||
var sc_nobtn = ""
|
var sc_nobtn = ""
|
||||||
if (urlParams.get("sc_nobtn") == "yes") {
|
if (urlParams.get("sc_nobtn") == "yes") {
|
||||||
sc_nobtn = "pointer-events: none"
|
sc_nobtn = "pointer-events: none; opacity: 0.5"
|
||||||
}
|
}
|
||||||
setTimeout(() => {tts = true; console.log("TTS Enabled"); toastr.info("Texto a voz disponible")}, 7500)
|
setTimeout(() => {tts = true; console.log("TTS Enabled"); toastr.info("Texto a voz disponible")}, 6500)
|
||||||
const tablebody = safeuuid();
|
const tablebody = safeuuid();
|
||||||
var btn_new = safeuuid();
|
var btn_new = safeuuid();
|
||||||
var tts_check = safeuuid();
|
var tts_check = safeuuid();
|
||||||
container.innerHTML = `
|
container.innerHTML = `
|
||||||
<h1>SuperCafé</h1>
|
<h1>SuperCafé</h1>
|
||||||
<button id="${btn_new}" style="${sc_nobtn};">Nueva comanda</button>
|
<button id="${btn_new}" style="${sc_nobtn};">Nueva comanda</button>
|
||||||
<label><b>Habilitar avisos:</b> <input type="checkbox" id="${tts_check}" style="height: 25px;width: 25px;"></label>
|
<br>
|
||||||
|
<label>
|
||||||
|
<b>Habilitar avisos:</b>
|
||||||
|
<input type="checkbox" id="${tts_check}" style="height: 25px;width: 25px;">
|
||||||
|
</label>
|
||||||
|
|
||||||
<div id="scrolltable"><table>
|
<div id="scrolltable"><table>
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user