From e9116c2ebcc8a3a6e5b3dfd3534d37d62234cb3d Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 9 Feb 2020 15:14:17 +0100 Subject: [PATCH] =?UTF-8?q?nouvelle=20mise=20en=20page=20de=20la=20page=20?= =?UTF-8?q?groupes=20(tout=20ajax)=20+=20correction=20balises=20s=C3=A9man?= =?UTF-8?q?tiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/sommaire.html | 20 +++++------ css/_sq_balint.scss | 20 +++++++---- css/mon_site.css | 21 +++++++---- inclure/bloc_groupe.html | 4 +-- inclure/groupe-detail.html | 61 +++++++++++++++++++++++++++++++ inclure/groupes_contenu.html | 70 ++++++++++++++++++++++-------------- inclure/menu-groupes.html | 2 +- 7 files changed, 147 insertions(+), 51 deletions(-) create mode 100644 inclure/groupe-detail.html diff --git a/content/sommaire.html b/content/sommaire.html index 7688012..8552dfb 100644 --- a/content/sommaire.html +++ b/content/sommaire.html @@ -3,20 +3,20 @@
- [(#LOGO_SITE_SPIP|image_reduire{510,0})] +

[(#LOGO_SITE_SPIP|inserer_attribut{alt,#NOM_SITE_SPIP}|image_reduire{510,0})]

- [(#FICHIER|image_recadre{380:362,-,focus}|image_reduire{380,362})] + [(#FICHIER|balise_img{#TITRE}|image_recadre{380:362,-,focus}|image_reduire{380,362})] #DESCRIPTIF
-
+
#TEXTE
-
+
@@ -28,19 +28,19 @@
-
+
+ @@ -49,7 +49,7 @@
-

À la une

+

À la une

@@ -62,7 +62,7 @@
-

Nous contacter

+

Nous contacter

diff --git a/css/_sq_balint.scss b/css/_sq_balint.scss index 075f716..7d38584 100644 --- a/css/_sq_balint.scss +++ b/css/_sq_balint.scss @@ -15,7 +15,7 @@ } /* polices */ -* { font-family: 'Cabin', sans-serif; font-size: 1.1rem} +* { font-family: 'Cabin', sans-serif; font-size: 1.05rem} i.fas { font-family: fontawesome; font-style: normal; font-weight: 400; } h1, .h1, h2, .h2, h3, .h3, h4, .h4, legend, .h1-like, .h2-like, .h3-like, .h4-like { font-family: 'Cabin', sans-serif; } @@ -197,22 +197,27 @@ body{ } } -#agenda{ +#agenda, .dernieres-nouvelles{ background: $fond-transparent; border-radius: 0.2rem; display: flex; flex-direction: column; text-align: center; - h3{ + .h3{ font-weight: 700; margin: 1.5rem; color: $bg-diapo-texte; } - h4{ - font-weight:500; + .h5{ + font-weight:600; } } +.dernieres-nouvelles{ + text-align: left; + padding: 0 1.2rem; +} + .agenda-evenement{ margin: 0 1.5rem 1.5rem 1.5rem; } @@ -273,7 +278,7 @@ body{ #nous-contacter{ background: $bg-nous-contacter; padding: 4rem 0 3rem 0; - h3{ + .h3{ color: $light; font-weight: 700; padding: 1rem; @@ -473,6 +478,9 @@ body{ color: $dark; padding: 0.5rem 1rem; }*/ +#menu-groupes{ + margin-top: 0; +} @include media-breakpoint-up(lg) { #menu-groupes li:not(:last-of-type){ diff --git a/css/mon_site.css b/css/mon_site.css index 0b19d91..1b2a14a 100644 --- a/css/mon_site.css +++ b/css/mon_site.css @@ -11880,7 +11880,7 @@ fieldset.reponse_formulaire { /* polices */ * { font-family: 'Cabin', sans-serif; - font-size: 1.1rem; + font-size: 1.05rem; } i.fas { @@ -12086,7 +12086,7 @@ body { margin: 2px 0; } -#agenda { +#agenda, .dernieres-nouvelles { background: rgba(255, 255, 255, 0.92); border-radius: 0.2rem; display: -webkit-box; @@ -12097,14 +12097,19 @@ body { text-align: center; } -#agenda h3 { +#agenda .h3, .dernieres-nouvelles .h3 { font-weight: 700; margin: 1.5rem; color: rgba(0, 13, 158, 0.65); } -#agenda h4 { - font-weight: 500; +#agenda .h5, .dernieres-nouvelles .h5 { + font-weight: 600; +} + +.dernieres-nouvelles { + text-align: left; + padding: 0 1.2rem; } .agenda-evenement { @@ -12176,7 +12181,7 @@ body { padding: 4rem 0 3rem 0; } -#nous-contacter h3 { +#nous-contacter .h3 { color: #f8f9fa; font-weight: 700; padding: 1rem; @@ -12417,6 +12422,10 @@ body { color: $dark; padding: 0.5rem 1rem; }*/ +#menu-groupes { + margin-top: 0; +} + @media (min-width: 992px) { #menu-groupes li:not(:last-of-type) { border: none; diff --git a/inclure/bloc_groupe.html b/inclure/bloc_groupe.html index 1abb763..6074e1f 100644 --- a/inclure/bloc_groupe.html +++ b/inclure/bloc_groupe.html @@ -2,11 +2,11 @@
- +
- +

#SURTITRE

#SET{nb_articles,0} diff --git a/inclure/groupe-detail.html b/inclure/groupe-detail.html new file mode 100644 index 0000000..eddd83f --- /dev/null +++ b/inclure/groupe-detail.html @@ -0,0 +1,61 @@ +[(#REM) On affiche tous les groupes appartenant à la même Ville] + +#SET{ville,#INFO_SURTITRE{article,#ENV{id_article}}} + +[(#REM) On récupère les id de tous les groupes de la ville pour les actualités] +[(#SET{groupes,#ARRAY})] + +[

Groupes de (#GET{ville})

] + + + +[(#SET{groupes,#GET{groupes}|push{#ID_ARTICLE}})] + +
+ [

(#TITRE)

] + [(#AUTORISER{modifier, article, #ID_ARTICLE}) +
Mettre à jour le groupe + ] +
+
+
Adresse : #SOUSTITRE
+
Fréquence : [(#DESCRIPTIF|textebrut)]
+
#TEXTE
+
+ +
+ Responsables + +
+
#NOM
+ [(#EMAIL|ou{#TELEPHONE}|oui) + ] +
+ +
+ + + + [(#FICHIER|image_recadre{350:200,-,focus}|image_reduire{350, 200})] + + +
+
+ + + + +

Articles de #GET{ville}

+ #ANCRE_PAGINATION + [] +
+ +
+ +
+ +
+ [] +
diff --git a/inclure/groupes_contenu.html b/inclure/groupes_contenu.html index f356838..4798d1f 100644 --- a/inclure/groupes_contenu.html +++ b/inclure/groupes_contenu.html @@ -1,34 +1,52 @@ - +
+
-

#INFO_TITRE{rubrique,#ENV{id_rubrique}}

+ -
- -
- - - +
+ +
+ + + +
+ +
Il n'y a pas encore de groupe dans ce pays.
+
- -
Il n'y a pas encore de groupe dans ce pays.
- + +
+ + +
-

Dernières nouvelles

-[(#REM) On récupère les id de tous les groupes du pays] -[(#SET{groupes,#ARRAY})] - - [(#SET{groupes,#GET{groupes}|push{#ID_ARTICLE}})] - -
- -
- -
- -
Il n'y a pas encore d'article dans ce pays.
- -
diff --git a/inclure/menu-groupes.html b/inclure/menu-groupes.html index 07a3571..42405c2 100644 --- a/inclure/menu-groupes.html +++ b/inclure/menu-groupes.html @@ -1,7 +1,7 @@