diff --git a/auditoria.php b/auditoria.php index 937710e..44f4fd6 100644 --- a/auditoria.php +++ b/auditoria.php @@ -416,27 +416,45 @@ {{clase_vista.nombre}} -
- {{clase_vista.usuario_nombre}} - {{clase_vista.registro_fecha_supervisor}} +
+
+ + {{clase_vista.usuario_nombre}} + + + {{`${new Date(clase_vista.registro_fecha_supervisor).toTimeString().slice(0, + 5)}`}} + +
Supervisor
{{clase_vista.carrera}}
-
- {{clase_vista.materia}} - -
- {{clase_vista.horario_hora}} - {{clase_vista.horario_fin}} -
-
- {{clase_vista.horario_grupo}} +
+ {{clase_vista.materia}} + +
+ + {{ new + Date(clase_vista.registro_fecha_ideal).toLocaleDateString('es-ES', { + weekday: 'long' }).replace(/^\w/, c => c.toUpperCase()) }} + + de + {{clase_vista.horario_hora.slice(0, + 5)}} + a + {{clase_vista.horario_fin.slice(0, + 5)}}
+ + Grupo {{clase_vista.horario_grupo}} + + {{clase_vista.salon}}
- {{clase_vista.salon}} -
{{clase_vista.nivel}}
+
+ {{clase_vista.nivel}} +
@@ -500,7 +518,7 @@ class="text-muted">{{store.current.justificada.registro_fecha_ideal}} a las {{store.current.justificada.horario_hora?.slice(0,5)}} + class="text-muted">{{$`{store.current.justificada.horario_hora?.slice(0,5)}`}} para el profesor {{store.current.justificada.profesor_nombre}}
diff --git a/css/auditoria-ux.css b/css/auditoria-ux.css index 360d726..44467be 100644 --- a/css/auditoria-ux.css +++ b/css/auditoria-ux.css @@ -10,9 +10,16 @@ font-weight: normal; } +.la-salle-regular { + font-family: 'La Salle Display Regular'; +} + +.la-salle-heavy { + font-family: 'La Salle Display Heavy'; +} + .detalle { padding: 2rem; - padding-inline: 8rem; } .profesor { @@ -26,8 +33,8 @@ fill: #001d68; } -.profesor-nombre { - font-size: 2rem; +.profesor-nombre, .materia_nombre { + font-size: 1.5rem; font-weight: 900; font-family: 'La Salle Display Regular'; color: black; @@ -69,7 +76,7 @@ background-color: #969696; } -.detalle main { +.detalle > main { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); @@ -84,11 +91,15 @@ .pp-card-icon { display: flex; flex-direction: row; - justify-content: space-between; + justify-content: space-around; align-items: center; } .pp-card div { + padding: 1rem; +} + +.pp-card > div { border-start-start-radius: 1rem; border-start-end-radius: 1rem; padding-inline: 1.5rem; @@ -128,6 +139,28 @@ } } +.supervisor div { + display: flex; + justify-content: center; + flex-direction: column; + + .supervisor_nombre { + font-size: 1.5rem; + font-weight: bolder; + } + + .supervisor_hora { + font-size: 1rem; + color: #3f3f3f; + } +} + +.horario { + font-size: 1rem; + display: grid; + grid-template-columns: 1fr 1fr; +} + .facultad { font-family: 'La Salle Display Heavy'; font-size: 1.4rem; diff --git a/fonts/svg/presentation.svg b/fonts/svg/presentation.svg new file mode 100644 index 0000000..471f45d --- /dev/null +++ b/fonts/svg/presentation.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/js/auditoría.js b/js/auditoría.js index 683dc0d..42d0201 100644 --- a/js/auditoría.js +++ b/js/auditoría.js @@ -353,6 +353,7 @@ const detalle = reactive({ this.registro_fecha = store.current.clase_vista = resultado + store.current.clase_vista.supervisor_hora = resultado } catch (error) { console.log('Error:', error)