diff --git a/content/article-forum.html b/content/article-forum.html index aacb89a..5619607 100644 --- a/content/article-forum.html +++ b/content/article-forum.html @@ -4,7 +4,7 @@ if (isset($GLOBALS['visiteur_session']['id_auteur']) AND $GLOBALS['visiteur_session']['id_auteur']) { ?> -
+

Forum

diff --git a/content/forum.html b/content/forum.html index 720e448..995cf52 100644 --- a/content/forum.html +++ b/content/forum.html @@ -1,6 +1,6 @@
-
+

Forum

diff --git a/content/groupe.html b/content/groupe.html deleted file mode 100644 index d003290..0000000 --- a/content/groupe.html +++ /dev/null @@ -1,70 +0,0 @@ -[(#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})] - - -
-
- - -

Dernières nouvelles

- - -#ANCRE_PAGINATION - -
- -
- -
- -
Il n'y a pas encore d'article dans ce pays.
- -
- - -
- -
\ No newline at end of file diff --git a/content/groupes.html b/content/groupes.html index 71d6802..3db6bbc 100644 --- a/content/groupes.html +++ b/content/groupes.html @@ -7,7 +7,7 @@
-
+

Les groupes

diff --git a/css/_sq_balint.scss b/css/_sq_balint.scss index 5f4ee6e..e0b03da 100644 --- a/css/_sq_balint.scss +++ b/css/_sq_balint.scss @@ -91,7 +91,7 @@ body{ padding-bottom: 3rem; } -.colonne-blanche{ +.cadre-blanc{ padding: 1.5rem; background: white; border-radius: 0.5rem; @@ -211,6 +211,7 @@ body{ #agenda, .dernieres-nouvelles{ background: $fond-transparent; + border-left: solid 1px $couleur-liens; border-radius: 0.2rem; display: flex; flex-direction: column; @@ -500,15 +501,42 @@ body{ } } - +.page-groupes{ + align-items: flex-start; +} .bloc-groupe{ - background: $fond-transparent; + border: solid 1px $gris-clair; + background: $light; padding: 1.5rem; border-radius: 0.5rem; margin: 2rem 0; } +.banniere-ville{ + position: relative; +} + +.ville-titre{ + position: absolute; + top: 0; + width: 100%; + height: 100%; + padding: 1rem; + background: rgba(255,255,255,0.8); + display: flex; + flex-direction: column; + justify-content: center; +} + +@include media-breakpoint-up(md) { + .ville-titre{ + width: 30%; + } +} + + + /**********************************************************************/ /**************** TOUS LES FORMULAIRES DE CONNEXION *******************/ /**********************************************************************/ diff --git a/css/mon_site.css b/css/mon_site.css index 1c42365..089caba 100644 --- a/css/mon_site.css +++ b/css/mon_site.css @@ -11967,7 +11967,7 @@ body { padding-bottom: 3rem; } -.colonne-blanche { +.cadre-blanc { padding: 1.5rem; background: white; border-radius: 0.5rem; @@ -12100,6 +12100,7 @@ body { #agenda, .dernieres-nouvelles { background: rgba(255, 255, 255, 0.92); + border-left: solid 1px #f67638; border-radius: 0.2rem; display: -webkit-box; display: flex; @@ -12444,13 +12445,45 @@ body { } } +.page-groupes { + -webkit-box-align: start; + align-items: flex-start; +} + .bloc-groupe { - background: rgba(255, 255, 255, 0.92); + border: solid 1px #f2f2f2; + background: #f8f9fa; padding: 1.5rem; border-radius: 0.5rem; margin: 2rem 0; } +.banniere-ville { + position: relative; +} + +.ville-titre { + position: absolute; + top: 0; + width: 100%; + height: 100%; + padding: 1rem; + background: rgba(255, 255, 255, 0.8); + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-pack: center; + justify-content: center; +} + +@media (min-width: 768px) { + .ville-titre { + width: 30%; + } +} + /**********************************************************************/ /**************** TOUS LES FORMULAIRES DE CONNEXION *******************/ /**********************************************************************/ diff --git a/inclure/bloc_groupe.html b/inclure/bloc_groupe.html index 6074e1f..dea414d 100644 --- a/inclure/bloc_groupe.html +++ b/inclure/bloc_groupe.html @@ -2,11 +2,11 @@
- +
- +

#SURTITRE

#SET{nb_articles,0} diff --git a/inclure/choix_ville.html b/inclure/choix_ville.html new file mode 100644 index 0000000..3ec3e7e --- /dev/null +++ b/inclure/choix_ville.html @@ -0,0 +1,11 @@ +
+ +
+ + + +
+ +
Il n'y a pas encore de groupe dans ce pays.
+ +
diff --git a/inclure/groupe-detail.html b/inclure/groupe-detail.html index eddd83f..2e44871 100644 --- a/inclure/groupe-detail.html +++ b/inclure/groupe-detail.html @@ -2,17 +2,29 @@ #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] +[(#REM) On récupère les id de tous les groupes de la ville pour les actualités et les images] [(#SET{groupes,#ARRAY})] + + [(#SET{groupes,#GET{groupes}|push{#ID_ARTICLE}})] + -[

Groupes de (#GET{ville})

] +
Retour + +
+ + [(#FICHIER|image_recadre{650:250,-,focus}|image_reduire{650, 250})] + + [(#CHEMIN{img/ville.png}|image_recadre{900:350,-,focus}|image_reduire{900, 350})] + +
+

Groupes de #GET{ville}

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

(#TITRE)

] + [

(#TITRE)

] [(#AUTORISER{modifier, article, #ID_ARTICLE}) Mettre à jour le groupe ] @@ -26,21 +38,13 @@
Responsables -
-
#NOM
+
#NOM [(#EMAIL|ou{#TELEPHONE}|oui) - ] + ]
- - - - [(#FICHIER|image_recadre{350:200,-,focus}|image_reduire{350, 200})] - -
diff --git a/inclure/groupes_contenu.html b/inclure/groupes_contenu.html index 4798d1f..182c834 100644 --- a/inclure/groupes_contenu.html +++ b/inclure/groupes_contenu.html @@ -1,20 +1,15 @@ -
-
+
+
-
- -
+ [(#ENV{id_article}|non) + + ] - - -
- -
Il n'y a pas encore de groupe dans ce pays.
- -
- + [(#ENV{id_article}|oui) + + ]