From 898b9bbb632cc4315ed4e342ebb9678039781bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Bouzour=C3=A8ne?= Date: Fri, 27 Jun 2025 11:44:16 +0200 Subject: [PATCH] People search: use responsive bs cols instead of a table --- frontend/index.css | 4 ++ views/people.html | 116 +++++++++++++++++++++++++++++---------------- 2 files changed, 79 insertions(+), 41 deletions(-) diff --git a/frontend/index.css b/frontend/index.css index a4e9322..bdb46b3 100644 --- a/frontend/index.css +++ b/frontend/index.css @@ -53,3 +53,7 @@ a { #licenses p { margin: 0; } + +.fs-7 { + font-size: .75rem !important; +} \ No newline at end of file diff --git a/views/people.html b/views/people.html index 10506bb..a6c6d02 100644 --- a/views/people.html +++ b/views/people.html @@ -1,7 +1,7 @@ {% extends "layouts/main.html" %} {% block main %} -
+
-
- - - - - - - - - - {% for Person in People %} - - - - - - {% endfor %} - -
NomAdresseSection
- {% if Person.IsMember %} - - {{ Person.LastName }} {{ Person.FirstName }} - - {% else %} - - {{ Person.LastName }} {{ Person.FirstName }} - - {% endif %} - - {{ Person.Address1 }} - {% if Person.Address1 and (Person.PostalCode or Person.City) %} - – - {% endif %} - {{ Person.PostalCode }} - {{ Person.City }} - - {% if Person.SectionID %} - {{ Person.Section.Name }} - {% endif %} -
+
+ + + {% for Person in People %} +
+
+
+
+ Nom +
+ +
+
+
+ Adresse +
+
+ {{ Person.Address1 }} +
+
+
+
+ Lieu +
+
+ {{ Person.PostalCode }} {{ Person.City }} +
+
+
+
+ Section +
+
+ {{ Person.Section.Name }} +
+
+
+
+ Création +
+
+ {{ Person.CreatedAt|date:"02.01.2006 - 15:04" }} +
+
+
+
+ Mise à jour +
+
+ {{ Person.UpdatedAt|date:"02.01.2006 - 15:04" }} +
+
+
+
+ {% endfor %}