diff --git a/public/index.php b/public/index.php index ccc19fd..385b5a1 100644 --- a/public/index.php +++ b/public/index.php @@ -6,7 +6,7 @@ require_once __DIR__ . '/../src/Apps.php'; $authed = Auth::isAuthenticated(); $user = $authed ? Auth::user() : ['email' => '', 'name' => '']; -$apps = $authed ? Apps::catalog() : []; +$apps = $authed ? Apps::catalog(Auth::isSocio()) : []; /** * Devuelve los eventos del día agrupados: @@ -122,6 +122,8 @@ function icon(string $name): string { 'briefcase' => '', 'calendar' => '', 'users' => '', + 'clock' => '', + 'gear' => '', ]; return $svgs[$name] ?? $svgs['document']; } @@ -322,14 +324,6 @@ a{color:inherit;text-decoration:none;}
- - - - - - - -
- - - Cerrar sesión
diff --git a/views/calendario.html b/views/calendario.html index 2240d97..414d655 100644 --- a/views/calendario.html +++ b/views/calendario.html @@ -309,12 +309,6 @@ footer.legend .pill { display:inline-block; padding:2px 8px; border-radius:20px;
?
…
- - - - Cerrar sesión @@ -474,14 +468,6 @@ let search = ''; let selected = null; let authUser = { email:'', name:'' }; -// Gear icon solo visible para socios (window.DONNA inyectado por Bootstrap) -if (window.DONNA && window.DONNA.isSocio) { - document.addEventListener('DOMContentLoaded', () => { - const g = document.getElementById('btn-gear'); - if (g) g.style.display = 'inline-flex'; - }); -} - function $(id){ return document.getElementById(id); } function esc(s){ return (s==null?'':String(s)).replace(/&/g,'&').replace(/"/g,'"').replace(//g,'>'); } function stripTime(d){ const o=new Date(d); o.setHours(0,0,0,0); return o; } diff --git a/views/escrituras.html b/views/escrituras.html index 70e80cc..0736f57 100644 --- a/views/escrituras.html +++ b/views/escrituras.html @@ -469,12 +469,6 @@ tr.editing-row td textarea.editable {
?
Cargando… - - - - @@ -617,13 +611,6 @@ tr.editing-row td textarea.editable {