From 04de3d3d30a4ef893fd1d12f5af92602625ad78a Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 16 Oct 2023 17:36:53 -0400 Subject: [PATCH 1/6] =?UTF-8?q?affichage=20vie-etudiante.gohtml=20Ajout=20?= =?UTF-8?q?de=20classes=20aux=20=C3=A9l=C3=A9ments=20HTML=20des=20tableaux?= =?UTF-8?q?=20Modification=20du=20contenu=20des=20tableaux=20Ajout=20du=20?= =?UTF-8?q?fichier=20vie-etudiante.css=20Formattage=20basique=20du=20conte?= =?UTF-8?q?nu=20des=20tableaux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/vie-etudiante.css | 17 +++ templates/html/vie-etudiante.gohtml | 197 ++++++++++++++++++++-------- 2 files changed, 157 insertions(+), 57 deletions(-) create mode 100644 public/css/vie-etudiante.css diff --git a/public/css/vie-etudiante.css b/public/css/vie-etudiante.css new file mode 100644 index 0000000..c8ba3f5 --- /dev/null +++ b/public/css/vie-etudiante.css @@ -0,0 +1,17 @@ +.table { + font-family: "Poppins"; +} + +td { + padding: 5px 10px; +} + +.tableRowHeading { + font-weight: 600; +} + +.tableRow:nth-child(odd) {} + +.tableRow:nth-child(even) { + background-color: #F4F4F4; +} \ No newline at end of file diff --git a/templates/html/vie-etudiante.gohtml b/templates/html/vie-etudiante.gohtml index 104df94..3622bed 100644 --- a/templates/html/vie-etudiante.gohtml +++ b/templates/html/vie-etudiante.gohtml @@ -5,148 +5,231 @@ AGECEM | Vie étudiante {{ template "general-html" }} + {{ template "header-html" }}

Vie étudiante

-

Organismes thématiques

- - +

Organismes thématiques

+
+ + - + + - + + + - + + + - - - - - + + + - + + + - + + + - + + + + - + + + - - + + + + + + - + + + + - + + + + + - + + + + +
NomDescription LocalPoste téléphoniquePosteStatut
AMEMusique C-060 7919Actif
BEAMBandes-dessinées et animation F-024a 5930Actif
CICF-027c
Club AventurierActivités en plein air F-011b 2730Actif
Équipe SantéSecourisme et premiers soins F-011 2361Actif
Montpetit DonjonJeux de table et de rôle C-067 2299Actif
MAELÉcriture et lecture F-027bN/AActif
OGREJeux vidéo F-011c 5647Actif
Radio
RECEMRadio étudianteActifActifActif
ORGASMEActif F-027dActifActif
SOISpiritualité et développement personnelN/AN/AInactif
MotDitJournal étudiantN/AN/AInactif

-

Associations de programme

- - +

Associations de programme

+
+ + + - + + + - - - - + + + - + + + - + + + - - - - + + + + + + + + + + + + + + + + +
NomDescription Local Poste téléphoniqueStatut
ADEPTInfomatique F-045 2286Actif
ASI
ATIMIntégration Multimédia F-041 2652Actif
AEALCArts, Lettres et Communications A-125r 2873Actif
PAPIArts visuels F-023 2795Actif
TEE
TGEGénie Électrique C-063 2638Actif
ASISoins InfirmiersN/AN/AInactif
TEEÉducation à l'enfanceN/AN/AInactif

-

Comités

- - +

Comités

+
+ + + - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NomDescription Local Poste téléphoniqueStatut
CAP
ESPACEF-011d2418
CFEM
ASEGDiversité de sexualité et de genre B-06N/AActif
CICDiversité ethnoculturelleF-027cN/AActif
Comité MobMobilisationN/AN/AActif
EUMC-CEMC-0542356
ESPACEEnvironnementF-011d2418Actif
CÉSI
Friperie Friperie F-027a 2248Actif
CAPAction PolitiqueN/AN/AInactif
CÉSISolidarité InternationaleN/AN/AInactif
CFEMFéminismeN/AN/AInactif
EUMC-CEMHébergement d'un·e étudiant·e réfugié·eC-0542356Inactif
-- 2.45.2 From 3657b1796908aec708d4038724d19b6b0589f8be Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 16 Oct 2023 17:39:34 -0400 Subject: [PATCH 2/6] Ajout d'une classe tableRow manquante --- templates/html/vie-etudiante.gohtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/html/vie-etudiante.gohtml b/templates/html/vie-etudiante.gohtml index 3622bed..01efe31 100644 --- a/templates/html/vie-etudiante.gohtml +++ b/templates/html/vie-etudiante.gohtml @@ -182,7 +182,7 @@ N/A Actif - + Comité Mob Mobilisation N/A -- 2.45.2 From b78fbd033f9520c8132fc54d30cdef37daf82a35 Mon Sep 17 00:00:00 2001 From: Alexel Date: Thu, 19 Oct 2023 17:05:04 -0400 Subject: [PATCH 3/6] =?UTF-8?q?alignement=20centr=C3=A9,=20style=20les=20h?= =?UTF-8?q?2=20et=20hr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/vie-etudiante.css | 12 ++++++++++++ templates/html/vie-etudiante.gohtml | 10 +++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/public/css/vie-etudiante.css b/public/css/vie-etudiante.css index c8ba3f5..af42ea9 100644 --- a/public/css/vie-etudiante.css +++ b/public/css/vie-etudiante.css @@ -1,5 +1,6 @@ .table { font-family: "Poppins"; + margin-bottom: 20px; } td { @@ -14,4 +15,15 @@ td { .tableRow:nth-child(even) { background-color: #F4F4F4; +} + +.vieEtudianteWrapper { + display: flex; + flex-flow: column; + align-items: center; +} + +.separator { + width: 75%; + border: 1px solid #C4C4C4; } \ No newline at end of file diff --git a/templates/html/vie-etudiante.gohtml b/templates/html/vie-etudiante.gohtml index 01efe31..ed0374b 100644 --- a/templates/html/vie-etudiante.gohtml +++ b/templates/html/vie-etudiante.gohtml @@ -11,7 +11,7 @@ {{ template "header-html" }}

Vie étudiante

-

Organismes thématiques

+

Organismes thématiques

@@ -98,8 +98,8 @@
NomInactif
-
-

Associations de programme

+
+

Associations de programme

@@ -158,8 +158,8 @@
NomInactif
-
-

Comités

+
+

Comités

-- 2.45.2 From 98122947818333246c16beb4a671e23153316cbd Mon Sep 17 00:00:00 2001 From: Alexel Date: Thu, 19 Oct 2023 17:10:23 -0400 Subject: [PATCH 4/6] Ajustement responsive du contenu des tableaux --- public/css/vie-etudiante.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/public/css/vie-etudiante.css b/public/css/vie-etudiante.css index af42ea9..8856b64 100644 --- a/public/css/vie-etudiante.css +++ b/public/css/vie-etudiante.css @@ -1,6 +1,7 @@ .table { font-family: "Poppins"; margin-bottom: 20px; + font-size: 0.625rem; } td { @@ -11,7 +12,9 @@ td { font-weight: 600; } -.tableRow:nth-child(odd) {} +.tableRow:nth-child(odd) { + background-color: #FFF; +} .tableRow:nth-child(even) { background-color: #F4F4F4; @@ -26,4 +29,16 @@ td { .separator { width: 75%; border: 1px solid #C4C4C4; +} + +@media screen and (min-width: 768px) { + .table { + font-size: 0.875rem; + } +} + +@media screen and (min-width: 1140px) { + .table { + font-size: 1rem; + } } \ No newline at end of file -- 2.45.2 From 0698a8fb73d928ddc0e84ebdf8fbc779b3874de2 Mon Sep 17 00:00:00 2001 From: Alexel Date: Thu, 26 Oct 2023 15:13:09 -0400 Subject: [PATCH 5/6] Retrait des descriptions et corrections Ajout de couleurs pour les organismes actifs et inactifs --- public/css/vie-etudiante.css | 8 +++ templates/html/vie-etudiante.gohtml | 100 ++++++++++------------------ 2 files changed, 43 insertions(+), 65 deletions(-) diff --git a/public/css/vie-etudiante.css b/public/css/vie-etudiante.css index 8856b64..af2dd80 100644 --- a/public/css/vie-etudiante.css +++ b/public/css/vie-etudiante.css @@ -20,6 +20,14 @@ td { background-color: #F4F4F4; } +.organismeActif { + background-color: rgb(200, 255, 200); +} + +.organismeInactif { + background-color: rgb(255, 200, 200); +} + .vieEtudianteWrapper { display: flex; flex-flow: column; diff --git a/templates/html/vie-etudiante.gohtml b/templates/html/vie-etudiante.gohtml index ed0374b..5f300ce 100644 --- a/templates/html/vie-etudiante.gohtml +++ b/templates/html/vie-etudiante.gohtml @@ -14,88 +14,76 @@

Organismes thématiques

Nom
- - + - - + - + - - + - - + - - + - - + - - + - - + - - - - + + + - - - - + + + - - + - - +
NomDescriptionNom Local Poste Statut
AMEMusiqueAME C-060 7919ActifActif
BEAMBandes-dessinées et animation F-024a 5930ActifActif
Club AventurierActivités en plein air F-011b 2730ActifActif
Équipe SantéSecourisme et premiers soins F-011 2361ActifActif
Montpetit DonjonJeux de table et de rôle C-067 2299ActifActif
MAELÉcriture et lecture F-027b N/AActifActif
OGREJeux vidéo F-011c 5647ActifActif
RECEMRadio étudianteActifActifActifA-125sN/AActif
ORGASMEActifF-027dActifActifF-049N/AActif
SOISpiritualité et développement personnel N/A N/AInactifInactif
MotDitJournal étudiant N/A N/AInactifInactif

@@ -103,59 +91,51 @@ - - - + - - + - - + - - + - - + - - + - - +
NomDescription Local Poste téléphonique Statut
ADEPTInfomatique F-045 2286ActifActif
ATIMIntégration Multimédia F-041 2652ActifActif
AEALCArts, Lettres et Communications A-125r 2873ActifActif
PAPIArts visuels F-023 2795ActifActif
TGEGénie Électrique C-063 2638ActifActif
ASISoins Infirmiers N/A N/AInactifInactif
TEEÉducation à l'enfance N/A N/AInactifInactif

@@ -163,73 +143,63 @@ - - - + - - + - - + - - + - - + - - + - - + - - + - - - - + + +
NomDescription Local Poste téléphonique Statut
ASEGDiversité de sexualité et de genre B-06 N/AActifActif
CICDiversité ethnoculturelle F-027c N/AActifActif
Comité MobMobilisation N/A N/AActifActif
ESPACEEnvironnement F-011d 2418ActifActif
Friperie Friperie F-027a 2248ActifActif
CAPAction Politique N/A N/AInactifInactif
CÉSISolidarité Internationale N/A N/AInactifInactif
CFEMFéminisme N/A N/AInactifInactif
EUMC-CEMHébergement d'un·e étudiant·e réfugié·eC-0542356InactifN/AN/AInactif
-- 2.45.2 From a577acb9e13a377371c9c6c0121c840f9bbbc02e Mon Sep 17 00:00:00 2001 From: Alexel Date: Thu, 26 Oct 2023 15:14:39 -0400 Subject: [PATCH 6/6] =?UTF-8?q?Raccourcir=20"Poste=20t=C3=A9l=C3=A9phoniqu?= =?UTF-8?q?e"=20=C3=A0=20"Poste"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/html/vie-etudiante.gohtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/html/vie-etudiante.gohtml b/templates/html/vie-etudiante.gohtml index 5f300ce..bec497a 100644 --- a/templates/html/vie-etudiante.gohtml +++ b/templates/html/vie-etudiante.gohtml @@ -92,7 +92,7 @@ Nom Local - Poste téléphonique + Poste Statut @@ -144,7 +144,7 @@ Nom Local - Poste téléphonique + Poste Statut -- 2.45.2