From 621aeb6d571b1ac60bbc5b3f0ac638a4cfc92ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sol=20Le=C3=B3n?= Date: Tue, 10 Oct 2023 19:33:23 -0300 Subject: [PATCH] Removed unused CSS and optimize responsive layout Removed unnecessary/unused CSS classes in our styles.css which was causing performance issue. Updated templates to adopt grid layout for more efficient and easy arrangement of documents in CSS. This is accompanied by enhancing responsiveness at different breakpoints. This optimizes webpage loading speed and improve user experience for devices with different screen sizes. --- Cuentas/templates/alumni.html | 51 ++-- Cuentas/templates/components/header.html | 2 +- Cuentas/templates/components/user_card.html | 16 +- Cuentas/templates/profesores.html | 20 +- .../templates/components/ficha-list-card.html | 2 +- Fichas/templates/ficha_list.html | 12 +- templates/components/login_modal.html | 9 +- templates/landing.html | 2 +- theme/static/css/dist/styles.css | 274 +++++++++--------- 9 files changed, 187 insertions(+), 201 deletions(-) diff --git a/Cuentas/templates/alumni.html b/Cuentas/templates/alumni.html index 3da1b3e..993a98b 100644 --- a/Cuentas/templates/alumni.html +++ b/Cuentas/templates/alumni.html @@ -7,43 +7,40 @@ {% endblock %} {% block content %} -
- - {% include 'components/header.html' with header_title='Alumnes' %} +
+
+ {% include 'components/sidebar.html' %} +
+
+ {% include 'components/header.html' with header_title='Alumnes' %} +
-
- {% include 'components/sidebar.html' %} -
-
+
-
-
+
+
TERCERO +
+
+ {% include 'components/user_list.html' with users=users|filter_by_year:"3" %} +
-
- {% include 'components/user_list.html' with users=users|filter_by_year:"3" %} -
-
-
-
+
+
CUARTO +
+
+ {% include 'components/user_list.html' with users=users|filter_by_year:"4" %} +
-
- {% include 'components/user_list.html' with users=users|filter_by_year:"4" %} -
-
-
-{% endblock content %} - -{% block footer %} - {% include 'components/footer.html' %} -{% endblock %} \ No newline at end of file +
+{% endblock content %} \ No newline at end of file diff --git a/Cuentas/templates/components/header.html b/Cuentas/templates/components/header.html index ad15a13..8dc69b9 100644 --- a/Cuentas/templates/components/header.html +++ b/Cuentas/templates/components/header.html @@ -1,4 +1,4 @@ -
+