From d4f99a2ebdeb9430bc1798fcd1c25aff9b9f4230 Mon Sep 17 00:00:00 2001 From: Collina Systems Date: Sat, 4 Jul 2026 23:08:37 -0600 Subject: [PATCH] feat(becario.html): portal del becario (login/registro, horas, historial, solicitud) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mobile-first React CDN. Login/registro por celular; portal muestra horas y avance (calculado por backend), historial de jornadas, y formulario 'olvidé marcar entrada' → crea solicitud. Aviso visible si la cuenta está pendiente. Dockerfile + override incluyen becario.html. --- backend/Dockerfile | 2 +- docker-compose.override.yml | 1 + frontend/becario.html | 251 ++++++++++++++++++++++++++++++++++++ 3 files changed, 253 insertions(+), 1 deletion(-) create mode 100644 frontend/becario.html diff --git a/backend/Dockerfile b/backend/Dockerfile index 44702db..bd9f1e0 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -21,7 +21,7 @@ COPY --chown=node:node backend/src ./src # stat/leer los archivos; copiar con `--chmod=644 … /dir/` deja el propio # directorio en 0644 y nginx falla con "Permission denied". Por eso se fijan # los permisos explícitamente después del COPY. -COPY frontend/checada.html frontend/panel.html /usr/share/nginx/html/ +COPY frontend/checada.html frontend/panel.html frontend/becario.html /usr/share/nginx/html/ RUN chmod 755 /usr/share/nginx/html && chmod 644 /usr/share/nginx/html/*.html COPY --chmod=644 backend/nginx-default.conf /etc/nginx/http.d/default.conf COPY --chmod=755 backend/docker-entrypoint.sh /docker-entrypoint.sh diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 561d302..94b8ede 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -16,6 +16,7 @@ services: volumes: - ./frontend/checada.html:/usr/share/nginx/html/checada.html:ro - ./frontend/panel.html:/usr/share/nginx/html/panel.html:ro + - ./frontend/becario.html:/usr/share/nginx/html/becario.html:ro ports: # 80 → nginx (mismo path que producción: estáticos + proxy /api y /e) - "127.0.0.1:80:80" diff --git a/frontend/becario.html b/frontend/becario.html new file mode 100644 index 0000000..3e1f6f5 --- /dev/null +++ b/frontend/becario.html @@ -0,0 +1,251 @@ + + + + + +Taboada — Mis horas + + + + + +
+ + +