From 76dab3dca1af87877daba9476bab6edaef6562ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jorem=20Ju=C3=A1rez?=
Date: Wed, 8 Jul 2026 21:04:24 -0600
Subject: [PATCH] ui: campos sin caja en jornada pasada + pie "Powered by
Collina Systems"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- becario: los campos de "Cargar jornada pasada" (fecha/entrada/salida/
actividad) pierden el recuadro relleno y quedan como texto con una línea
sutil abajo, más elegante en móvil.
- Se añade un pie "Powered by Collina Systems" en las cuatro páginas
(checada, kiosco, panel, becario), en todas sus vistas.
Co-Authored-By: Claude Opus 4.8 (1M context)
---
frontend/becario.html | 21 ++++++++++++++++-----
frontend/checada.html | 3 +++
frontend/kiosco.html | 5 ++++-
frontend/panel.html | 11 ++++++++++-
4 files changed, 33 insertions(+), 7 deletions(-)
diff --git a/frontend/becario.html b/frontend/becario.html
index 5283307..12f99a3 100644
--- a/frontend/becario.html
+++ b/frontend/becario.html
@@ -79,6 +79,13 @@ const ErrorBar = ({ error, onClose }) => !error ? null : (
);
+// Pie de marca, compartido por las vistas de esta página.
+const PoweredBy = () => (
+
+ Powered by Collina Systems
+
+);
+
// ═══════════════ Acceso · login / registro ═══════════════
function Acceso({ onEntra }) {
const [modo, setModo] = useState(() =>
@@ -148,6 +155,7 @@ function Acceso({ onEntra }) {
)}
+
);
@@ -205,6 +213,9 @@ function Portal({ session, onSalir }) {
const pendiente = resumen.estado === "pendiente";
const meta = h.porcentaje >= 100;
const secTitle = { margin: "20px 0 9px", fontFamily: fonts.title, fontWeight: 600, fontSize: "15px", color: palette.brand };
+ // Campo "sin caja": solo el texto con una línea sutil abajo (más elegante que
+ // el recuadro relleno). Se pasa como override de style al Input cream.
+ const campoLimpio = { border: "none", borderBottom: `1.5px solid ${palette.line}`, borderRadius: 0, background: "transparent", padding: "10px 2px" };
return (
@@ -290,22 +301,22 @@ function Portal({ session, onSalir }) {
);
diff --git a/frontend/checada.html b/frontend/checada.html
index 3131f3a..d299cff 100644
--- a/frontend/checada.html
+++ b/frontend/checada.html
@@ -48,6 +48,9 @@ const Shell = ({ children }) => (
{children}
+
+ Powered by Collina Systems
+
);
diff --git a/frontend/kiosco.html b/frontend/kiosco.html
index 556ddb3..84d2472 100644
--- a/frontend/kiosco.html
+++ b/frontend/kiosco.html
@@ -38,6 +38,9 @@ const Shell = ({ children }) => (
{children}
+
+ Powered by Collina Systems
+
);
@@ -163,7 +166,7 @@ function App() {
useEffect(() => { apiFetch("/auth/session").then(setSession).catch(() => setSession(null)); }, []);
const salir = async () => { try { await apiFetch("/auth/logout", { method: "POST" }); } catch {} setSession(null); };
if (session === undefined) return ;
- if (!session) return ;
+ if (!session) return ;
return ;
}
ReactDOM.createRoot(document.getElementById("root")).render();
diff --git a/frontend/panel.html b/frontend/panel.html
index 012afef..762b139 100644
--- a/frontend/panel.html
+++ b/frontend/panel.html
@@ -66,6 +66,13 @@ const estadoDispTone = (e) => ({ pendiente: "warn", aprobado: "success", revocad
const iconBtn = (name, o) => {icons[name](o)};
+// Pie de marca, compartido por login y panel.
+const PoweredBy = () => (
+
+ Powered by Collina Systems
+
+);
+
// ── Modal de confirmación (sustituye el diálogo nativo del navegador) ──
// La llamada al backend vive en `onConfirm` (el padre); aquí solo la UI.
function ConfirmModal({ title, message, confirmLabel, variant, onConfirm, onCancel }) {
@@ -101,7 +108,7 @@ function Login({ onLogin }) {
} finally { setBusy(false); }
};
return (
-
+
Panel de supervisión
@@ -114,6 +121,7 @@ function Login({ onLogin }) {
+
);
}
@@ -630,6 +638,7 @@ function Panel({ session, onLogout }) {
{view.name === "detalle" && setView({ name: "lista" })} onError={setError} />}
{view.name === "solicitudes" && }
{view.name === "config" && }
+
);