This commit is contained in:
naielv
2025-08-13 15:56:59 +02:00
parent ea8726e0d6
commit 1ebc7079eb
2 changed files with 141 additions and 165 deletions

View File

@@ -1,15 +1,19 @@
html { html {
color-scheme: light only; color-scheme: light only;
margin: 0;
} }
body { body {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
margin: 0;
} }
main { main {
/*max-width: 45rem; /*max-width: 45rem;
margin: 0 auto;*/ margin: 0 auto;*/
padding: 0 15px; padding: 15px;
margin-bottom: 0;
margin-top: 5px;
} }
.supermesh-indicator { .supermesh-indicator {

View File

@@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="es"> <html lang="es">
<head>
<head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="manifest.json" /> <link rel="manifest" href="manifest.json" />
@@ -9,10 +10,10 @@
<link href="static/euskaditech-css/simple.css" rel="stylesheet" /> <link href="static/euskaditech-css/simple.css" rel="stylesheet" />
<link href="static/toastr.min.css" rel="stylesheet" /> <link href="static/toastr.min.css" rel="stylesheet" />
%%PREFETCH%% %%PREFETCH%%
</head> </head>
<body> <body>
<div class="ribbon"> <div class="ribbon no_print" id="header_hide_query">
<div class="ribbon-orb"></div> <div class="ribbon-orb"></div>
<div class="ribbon-content"> <div class="ribbon-content">
@@ -32,27 +33,26 @@
<details id="tab-admin"> <details id="tab-admin">
<summary hidden>Admin</summary> <summary hidden>Admin</summary>
<div class="ribbon-panel"> <div class="ribbon-panel">
<div class="ribbon-button orange"> <label>Codigo de grupo:
<img src="https://raw.githubusercontent.com/darealshinji/haiku-icons/refs/heads/master/svg/Settings.svg"> <input type="text" id="LinkAccount_group" /></label>
<div class="label">Settings</div> <br />
</div> <label>Clave secreta:
<div class="ribbon-button"> <input type="text" id="LinkAccount_secret" /></label>
<img src="https://raw.githubusercontent.com/darealshinji/haiku-icons/refs/heads/master/svg/Lock_Lock.svg"> <br />
<div class="label">Security</div> <button type="button" onclick='LinkAccount(document.getElementById("LinkAccount_group").value, document.getElementById("LinkAccount_secret").value, true)'>
</div> Iniciar sesión
</button>
</div> </div>
</details> </details>
</div> </div>
</div> </div>
<img id="loading" src="load.gif" style="display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 50px); max-width: 400px;" /> <img id="loading" src="load.gif" style="display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 50px); max-width: 400px;" />
<details class="supermesh-indicator"> <details class="supermesh-indicator">
<summary> <summary>
<b>SuperMesh</b><br /> <b>SuperMesh</b><br />
<br /><small id="peerPID" style="font-family: monospace" <br /><small id="peerPID" style="font-family: monospace">PID ??????????</small>
>PID ??????????</small
>
</summary> </summary>
<ul id="peerList"></ul> <ul id="peerList"></ul>
<i>Todos los datos están encriptados.</i> <i>Todos los datos están encriptados.</i>
@@ -61,33 +61,13 @@
<header class="no_print" id="header_hide_query"> <header class="no_print" id="header_hide_query">
<details id="LinkAccount_details" open> <details id="LinkAccount_details" open>
<summary> <summary>
<b <b>TeleSec - <span id="groupId">???</span> - (<span id="peerCount">?</span>
>TeleSec - <span id="groupId">???</span> - (<span id="peerCount" nodos)</b>
>?</span
>
nodos)</b
>
</summary> </summary>
<fieldset id="auth_fieldSet"> <fieldset id="auth_fieldSet">
<legend>Credenciales</legend> <legend>Credenciales</legend>
<br /> <br />
<label
>Codigo de grupo:<br />
<input type="text" id="LinkAccount_group"
/></label>
<br />
<br />
<label
>Clave secreta:<br />
<input type="text" id="LinkAccount_secret"
/></label>
<br /><br />
<button
type="button"
onclick='LinkAccount(document.getElementById("LinkAccount_group").value, document.getElementById("LinkAccount_secret").value, true)'
>
Iniciar sesión
</button>
</fieldset> </fieldset>
</details> </details>
<!-- <button onclick="displayPost('index')">Ir a la pagina de inicio</button> --> <!-- <button onclick="displayPost('index')">Ir a la pagina de inicio</button> -->
@@ -111,15 +91,9 @@
</button> </button>
</details> </details>
</footer> --> </footer> -->
<img <img id="connectStatus" style="bottom: 15px; right: 15px; position: fixed; width: 50px" />
id="connectStatus"
style="bottom: 15px; right: 15px; position: fixed; width: 50px"
/>
</main> </main>
<img <img id="actionStatus" src="static/ico/statusok.png" style="
id="actionStatus"
src="static/ico/statusok.png"
style="
z-index: 2048; z-index: 2048;
margin: 0px; margin: 0px;
position: fixed; position: fixed;
@@ -129,12 +103,9 @@
width: 100px; width: 100px;
height: 100px; height: 100px;
display: none; display: none;
" " />
/>
<div id="snackbar"> <div id="snackbar">
Hay una nueva versión de TeleSec.<br /><a id="reload" Hay una nueva versión de TeleSec.<br /><a id="reload">Pulsa aqui para actualizar.</a>
>Pulsa aqui para actualizar.</a
>
</div> </div>
<script src="static/showdown.min.js"></script> <script src="static/showdown.min.js"></script>
<script src="static/qrcode/qrcode.min.js"></script> <script src="static/qrcode/qrcode.min.js"></script>
@@ -188,5 +159,6 @@
<script src="page/supercafe.js"></script> <script src="page/supercafe.js"></script>
<script src="page/notificaciones.js"></script> <script src="page/notificaciones.js"></script>
<script src="page/comedor.js"></script> <script src="page/comedor.js"></script>
</body> </body>
</html> </html>