This commit is contained in:
naielv
2025-08-12 16:15:00 +02:00
parent 1d8ddd8d8b
commit d2a11d65a7
2 changed files with 9 additions and 4 deletions

View File

@@ -1011,6 +1011,11 @@ function SetPages() {
a.innerText = PAGES[key].Title; a.innerText = PAGES[key].Title;
document.getElementById("appendApps").append(a); document.getElementById("appendApps").append(a);
}); });
var a = document.createElement("a");
a.className = "button btn7";
a.href = "#index,qr";
a.innerText = "📷";
document.getElementById("appendApps").append(a);
} }
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {
SetPages(); SetPages();

View File

@@ -3,10 +3,10 @@ PAGES.index = {
Title: "Inicio", Title: "Inicio",
index: function() { index: function() {
container.innerHTML = ` container.innerHTML = `
<h1>¡Hola, ${SUB_LOGGED_IN_DETAILS.Nombre}!</h1> <h1>¡Hola, ${SUB_LOGGED_IN_DETAILS.Nombre}!</h1>
<em>Utiliza el menú superior para abrir un modulo</em> <em>Utiliza el menú superior para abrir un modulo</em>
<br><br> <br><br>
<button class="btn1" onclick="LogOutTeleSec()">Cerrar sesión</button> <button class="btn1" onclick="LogOutTeleSec()">Cerrar sesión</button>
`; `;
}, },
edit: function(mid) { edit: function(mid) {