feat: release v3.5.0 - formal MVP Bedelia closure, SDD harness, cartelera export, docs cleanup & model fixes

This commit is contained in:
2026-10-16 13:18:02 -03:00
parent 94009ec552
commit 39c80f573b
53 changed files with 767 additions and 32 deletions
+62
View File
@@ -4,6 +4,13 @@
{% block content %}
<div class="container-fluid px-0">
<!-- Membrete exclusivo para impresión A4 de recepción y bedelía -->
<div class="print-header text-center mb-4">
<h2 class="fw-bold mb-1">Universidad de la Ciudad de Buenos Aires (UniCABA)</h2>
<h4 class="text-secondary mb-1">Cartelera Oficial de Asignación de Aulas y Cursadas</h4>
<p class="mb-0 fs-6">Fecha: <strong>{{ format_date(today, format='full')|capitalize }}</strong> — Plataforma Admin Edu-Space Bedelía</p>
</div>
<!-- Header -->
<div class="row mb-3 align-items-center">
<div class="col-md-7">
@@ -14,6 +21,12 @@
<p class="text-muted small mb-0">Cronograma de clases y asignación de aulas activas para el día de hoy</p>
</div>
<div class="col-md-5 text-md-end mt-3 mt-md-0">
<a href="/schedule/export_csv?date={{ today }}{% if hide_virtual %}&hide_virtual=1{% endif %}{% if floor_filter %}&floor={{ floor_filter }}{% endif %}{% if shift_filter %}&shift={{ shift_filter }}{% endif %}" class="btn btn-outline-success me-2" title="Descargar como planilla Excel/CSV">
<i class="bi bi-file-earmark-excel me-1"></i>Excel / CSV
</a>
<button type="button" class="btn btn-outline-dark me-2" onclick="window.print()" title="Imprimir cartelera del día">
<i class="bi bi-printer me-1"></i>Imprimir
</button>
{% if user.has_permission('reservations', 'read_write') %}
<a href="/schedule/add_reservation" class="btn btn-success me-2">
<i class="bi bi-plus-circle me-1"></i>Nueva Reserva
@@ -426,4 +439,53 @@ document.addEventListener('DOMContentLoaded', function() {
}
});
</script>
<style>
@media print {
body {
background-color: #ffffff !important;
color: #000000 !important;
font-size: 10pt !important;
}
.sidebar, .navbar, .btn, .breadcrumb, form, .card-footer, #refresh-btn, #toggle-view-btn, .pagination, .alert, .badge.bg-opacity-10 {
display: none !important;
}
.main-content, .container-fluid, .content-wrapper, main {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
max-width: 100% !important;
}
.print-header {
display: block !important;
margin-bottom: 1.5rem !important;
border-bottom: 2px solid #000 !important;
padding-bottom: 0.5rem !important;
}
.card {
border: 1px solid #cccccc !important;
box-shadow: none !important;
break-inside: avoid;
margin-bottom: 1rem !important;
}
.table {
border-collapse: collapse !important;
width: 100% !important;
}
.table td, .table th {
border: 1px solid #dddddd !important;
padding: 6px 8px !important;
color: #000 !important;
}
a {
text-decoration: none !important;
color: #000 !important;
}
}
@media screen {
.print-header {
display: none !important;
}
}
</style>
{% endblock %}