diff --git a/balint_administrations.php b/balint_administrations.php index f1c275a..e374395 100644 --- a/balint_administrations.php +++ b/balint_administrations.php @@ -46,6 +46,7 @@ function balint_upgrade($nom_meta_base_version, $version_cible) { cextras_api_upgrade(balint_declarer_champs_extras(), $maj['create']); cextras_api_upgrade(balint_declarer_champs_extras(), $maj['1.0.1']); cextras_api_upgrade(balint_declarer_champs_extras(), $maj['1.0.3']); + cextras_api_upgrade(balint_declarer_champs_extras(), $maj['1.0.6']); include_spip('base/upgrade'); maj_plugin($nom_meta_base_version, $version_cible, $maj); diff --git a/base/balint.php b/base/balint.php index eb93800..ffddfc2 100644 --- a/base/balint.php +++ b/base/balint.php @@ -52,5 +52,17 @@ function balint_declarer_champs_extras($champs = array()) { ), ); + $champs['spip_rubriques']['preposition'] = array( + 'saisie' => 'input',//Type du champ (voir plugin Saisies) + 'options' => array( + 'nom' => 'preposition', + 'label' => 'preposition', + 'sql' => "varchar(30) NOT NULL DEFAULT ''", + 'defaut' => '',// Valeur par défaut + 'restrictions'=>array( + 'voir' => array('auteur' => ''),//Tout le monde peut voir + 'modifier' => array('auteur' => '0minirezo')),//Seuls les admins peuvent modifier + ), + ); return $champs; } diff --git a/content/article.html b/content/article.html index 13704ec..f999458 100644 --- a/content/article.html +++ b/content/article.html @@ -22,6 +22,7 @@

#TITRE

[

(#SOUSTITRE)

] + [(#DATE_AGENDA)]
#TEXTE
diff --git a/content/sommaire.html b/content/sommaire.html index 8a86bb6..65dcf39 100644 --- a/content/sommaire.html +++ b/content/sommaire.html @@ -1,13 +1,13 @@
+

[(#CHEMIN{images/Titre-AIPB.png}|inserer_attribut{alt,#NOM_SITE_SPIP}|image_reduire{900,120})]

-

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

-
+
[(#FICHIER|balise_img{#TITRE}|image_recadre{380:362,-,focus}|image_reduire{380,362})] - #DESCRIPTIF + #DESCRIPTIF
@@ -27,6 +27,10 @@
+
+

À la une

+ +
- +[(#REM) on fusionne pour l'instant les deux sections prévues initialement

À la une

-
- -
- -
- -
+
+]
diff --git a/css/_sq_balint.scss b/css/_sq_balint.scss index 6a04502..54a6c37 100644 --- a/css/_sq_balint.scss +++ b/css/_sq_balint.scss @@ -33,6 +33,12 @@ textarea[name="texte"]{ border-radius: 0.5rem; } +.cadre-transparent{ + padding: 1.5rem; + background: $bg-diapo; + border-radius: 0.5rem; +} + // pour empêcher l'opacité à 0.5 pendant le chargement AJAX : .loading > * { opacity: 1 !important; @@ -202,6 +208,12 @@ body{ // 2. SECTION MIS EN AVANT +.background-jaune{ + background: $bg-mis-en-avant; + background-size: cover; + background-repeat: repeat; +} + #mis-en-avant{ background: $bg-mis-en-avant; background-size: cover; @@ -212,9 +224,12 @@ body{ } } +.a-la-une{ + color: $bg-diapo-texte; +} + #agenda, .dernieres-nouvelles{ background: $fond-transparent; - border-left: solid 1px $couleur-liens; border-radius: 0.2rem; display: flex; flex-direction: column; @@ -232,6 +247,7 @@ body{ .dernieres-nouvelles{ text-align: left; padding: 0 1.2rem; + border-left: solid 1px $couleur-liens; } .agenda-evenement{ @@ -421,6 +437,12 @@ body{ .footer-options .generator { max-width: 300px; } + + .login_modal{ + background: $couleur-liens; + border-radius: 0.2rem; + } + .lien_cc svg { width: 30px; height: 30px; @@ -440,6 +462,18 @@ body{ } } +.page_sommaire .footer-options, .page_sommaire #footer-infos{ + background: #FFF0C7; + color: black !important; + h4{ + color: $fond-footer; + } + a:not(.login_modal){ + color: black !important; + } + +} + /**********************************************************************/ /************************ PAGE ASSOCIATION ****************************/ /**********************************************************************/ @@ -450,8 +484,8 @@ body{ border-radius: 0.2rem; padding: 0; .active a{ - color: $page-active; - font-weight: bold; + color: $page-active-clair; + } ul{ width: 100%; @@ -564,10 +598,12 @@ body{ } } .submit, .btn_editer { - background-color: #4f56cd; + //background-color: #4f56cd; + background-color: $fond-footer; color: $light; &:hover{ - background-color: #7276ee; + //background-color: #7276ee; + background-color: rgb(105, 182, 164); cursor: pointer; } } @@ -695,11 +731,11 @@ body{ } } -.photo-article{ - margin-bottom: 1.5rem; +.photo_article{ width: 100%; display: block; text-align: center; + background: white; } .liste-articles{ diff --git a/css/_variables.scss b/css/_variables.scss index 6cd20e7..51b98cf 100644 --- a/css/_variables.scss +++ b/css/_variables.scss @@ -1,23 +1,28 @@ $couleur-texte : black; $dark: #595959; -$fond-menu: #3b3f8a; -//$couleur-liens : #dc7544; +//$fond-menu: #3b3f8a; bleu-violet plus foncé +$fond-menu: #478E7E; +//$couleur-liens : #dc7544; orange moins vif $couleur-liens : #f67638; $gris-moyen : #7d7d7d; $gris-clair : #f2f2f2; -//$page-active: #ffe9aa; -$page-active: #ffdb70; -$fond-footer: #464ba3; -$titres-footer: #64d4af; +$page-active-clair: #fff99d; +$page-active: #ffb284; +//$fond-footer: #464ba3; bleu-violet +$fond-footer: #4B9886; +//$titres-footer : #4B9886; vert plus clair +$titres-footer : #ffb284; $fond-formulaires: rgba(255,255,255,0.8); $fond-transparent: rgba(255, 255, 255, 0.92); $breadcrumb-bg: none; $bg-body: url('../images/bg-web.jpg'); -$bg-presentation: url('../images/bg-rouge-fonce-3.jpg'); +$bg-presentation: url('../images/bg-gris-vert.jpg'); $bg-texte-presentation: url('../images/bg-encadre-blanc3.jpg'); -$bg-mis-en-avant: url('../images/delaunay_brut.jpg'); -$bg-a-la-une: url('../images/fond-une-jaune.jpg'); +$bg-mis-en-avant: url('../images/fond-une-jaune.jpg'); +$bg-a-la-une: url('../images/bg-web.jpg'); $bg-nous-contacter: url('../images/Fond-contact-bleuvert.jpg'); -$bg-diapo: rgba(255,243,219,0.75); -$bg-diapo-texte: rgba(0,13,158,0.65); \ No newline at end of file +// $bg-diapo: rgba(255,243,219,0.75); plus jaune et transparent +$bg-diapo : rgba(255,255,255,0.55); +// $bg-diapo-texte: rgba(0,13,158,0.65); +$bg-diapo-texte: #478E7E; \ No newline at end of file diff --git a/css/mon_site.css b/css/mon_site.css index b9995b3..b51940a 100644 --- a/css/mon_site.css +++ b/css/mon_site.css @@ -11897,6 +11897,12 @@ textarea[name="texte"] { border-radius: 0.5rem; } +.cadre-transparent { + padding: 1.5rem; + background: rgba(255, 255, 255, 0.55); + border-radius: 0.5rem; +} + .loading > * { opacity: 1 !important; } @@ -11950,14 +11956,14 @@ img { } .pagination strong, .pagination .lien_pagination { - background-color: #464ba3; + background-color: #4B9886; padding: 0.5rem 1rem; border-radius: 0.2rem; } .pagination strong { cursor: initial; - color: #ffdb70; + color: #ffb284; } .pagination .lien_pagination { @@ -11988,7 +11994,7 @@ body { /**********************************************************************/ #menu-principal { padding: 1rem 2rem; - background-color: #3b3f8a; + background-color: #478E7E; -webkit-transition: all 1s; transition: all 1s; } @@ -12014,7 +12020,7 @@ body { } #menu-principal .active a { - color: #ffdb70; + color: #ffb284; } #menu-principal .navbar-toggler { @@ -12047,7 +12053,7 @@ body { /**********************************************************************/ #presentation-accueil { padding: 10rem 0 2rem 0; - background: url("../images/bg-rouge-fonce-3.jpg"); + background: url("../images/bg-gris-vert.jpg"); background-size: cover; background-repeat: no-repeat; } @@ -12091,8 +12097,14 @@ body { font-weight: 700; } +.background-jaune { + background: url("../images/fond-une-jaune.jpg"); + background-size: cover; + background-repeat: repeat; +} + #mis-en-avant { - background: url("../images/delaunay_brut.jpg"); + background: url("../images/fond-une-jaune.jpg"); background-size: cover; background-repeat: no-repeat; padding: 4rem 0; @@ -12102,9 +12114,12 @@ body { margin: 2px 0; } +.a-la-une { + color: #478E7E; +} + #agenda, .dernieres-nouvelles { background: rgba(255, 255, 255, 0.92); - border-left: solid 1px #f67638; border-radius: 0.2rem; display: -webkit-box; display: flex; @@ -12117,7 +12132,7 @@ body { #agenda .h3, .dernieres-nouvelles .h3 { font-weight: 700; margin: 1.5rem; - color: rgba(0, 13, 158, 0.65); + color: #478E7E; } #agenda .h5, .dernieres-nouvelles .h5 { @@ -12127,6 +12142,7 @@ body { .dernieres-nouvelles { text-align: left; padding: 0 1.2rem; + border-left: solid 1px #f67638; } .agenda-evenement { @@ -12135,7 +12151,7 @@ body { #a-la-une { padding: 4rem 0; - background: url("../images/fond-une-jaune.jpg"); + background: url("../images/bg-web.jpg"); } #a-la-une h3 { @@ -12230,7 +12246,7 @@ body { /**********************************************************************/ #diaporama_accueil { height: 430px; - background: rgba(255, 243, 219, 0.75); + background: rgba(255, 255, 255, 0.55); } .carousel-item { @@ -12257,7 +12273,7 @@ body { } .diapo-texte { - background-color: rgba(0, 13, 158, 0.65); + background-color: #478E7E; padding: 2rem; align-self: center; width: 70%; @@ -12265,7 +12281,7 @@ body { } .diapo-bouton { - background-color: rgba(0, 13, 158, 0.65); + background-color: #478E7E; border: solid 2px white; border-radius: 0.2rem; padding: 0.5rem 2rem; @@ -12303,7 +12319,7 @@ body { /***************************** FOOTER *********************************/ /**********************************************************************/ #footer-infos { - background: #464ba3; + background: #4B9886; padding: 3rem 0; } @@ -12319,7 +12335,7 @@ body { } .footer h4 { - color: #64d4af; + color: #ffb284; font-weight: 600; } @@ -12329,7 +12345,7 @@ body { } .footer .footer-options { - background: #464ba3; + background: #4B9886; padding: 1rem 0; } @@ -12344,6 +12360,11 @@ body { max-width: 300px; } +.footer .login_modal { + background: #f67638; + border-radius: 0.2rem; +} + .footer .lien_cc svg { width: 30px; height: 30px; @@ -12381,6 +12402,19 @@ body { } } +.page_sommaire .footer-options, .page_sommaire #footer-infos { + background: #FFF0C7; + color: black !important; +} + +.page_sommaire .footer-options h4, .page_sommaire #footer-infos h4 { + color: #4B9886; +} + +.page_sommaire .footer-options a:not(.login_modal), .page_sommaire #footer-infos a:not(.login_modal) { + color: black !important; +} + /**********************************************************************/ /************************ PAGE ASSOCIATION ****************************/ /**********************************************************************/ @@ -12392,8 +12426,7 @@ body { } #menu-association .active a, #menu-methode .active a, #menu-groupes .active a, #menu-medias .active a { - color: #ffdb70; - font-weight: bold; + color: #fff99d; } #menu-association ul, #menu-methode ul, #menu-groupes ul, #menu-medias ul { @@ -12521,12 +12554,12 @@ body { } .formulaire_spip .boutons .submit, .formulaire_spip .boutons .btn_editer, .boutons .submit, .boutons .btn_editer { - background-color: #4f56cd; + background-color: #4B9886; color: #f8f9fa; } .formulaire_spip .boutons .submit:hover, .formulaire_spip .boutons .btn_editer:hover, .boutons .submit:hover, .boutons .btn_editer:hover { - background-color: #7276ee; + background-color: #69b6a4; cursor: pointer; } @@ -12685,11 +12718,11 @@ body { color: #595959; } -.photo-article { - margin-bottom: 1.5rem; +.photo_article { width: 100%; display: block; text-align: center; + background: white; } .liste-articles .bloc-textes { diff --git a/footer/sommaire.html b/footer/sommaire.html new file mode 100644 index 0000000..fabc1ec --- /dev/null +++ b/footer/sommaire.html @@ -0,0 +1,94 @@ +[] + + + + + diff --git a/formulaires/editer_auteur.html b/formulaires/editer_auteur.html index 55ec677..4cd7483 100644 --- a/formulaires/editer_auteur.html +++ b/formulaires/editer_auteur.html @@ -31,6 +31,7 @@
Avatar +
diff --git a/formulaires/editer_groupe.html b/formulaires/editer_groupe.html index 238a6d9..0a4d2e8 100644 --- a/formulaires/editer_groupe.html +++ b/formulaires/editer_groupe.html @@ -120,7 +120,7 @@ diff --git a/images/Logo-AIPB-Full.png b/images/Logo-AIPB-Full.png new file mode 100644 index 0000000..f801f73 Binary files /dev/null and b/images/Logo-AIPB-Full.png differ diff --git a/images/Titre-AIPB.png b/images/Titre-AIPB.png new file mode 100644 index 0000000..f3b64a2 Binary files /dev/null and b/images/Titre-AIPB.png differ diff --git a/images/bg-gris-vert.jpg b/images/bg-gris-vert.jpg new file mode 100644 index 0000000..de5d6fd Binary files /dev/null and b/images/bg-gris-vert.jpg differ diff --git a/inclure/a_la_une_contenu.html b/inclure/a_la_une_contenu.html new file mode 100644 index 0000000..55f0bdb --- /dev/null +++ b/inclure/a_la_une_contenu.html @@ -0,0 +1,11 @@ + +
+ #ANCRE_PAGINATION + +
+ +
+ +
+[] +
\ No newline at end of file diff --git a/inclure/bloc_article.html b/inclure/bloc_article.html index bfb9d4e..93655c1 100644 --- a/inclure/bloc_article.html +++ b/inclure/bloc_article.html @@ -7,12 +7,15 @@
-

#TITRE

+

#TITRE

- [(#DATE|affdate)] + [(#ENV{evenement}|=={oui}?{ + [(#DATE_AGENDA)], + [(#DATE|affdate)] + })]
- [
(#DESCRIPTIF|sinon{#TEXTE|couper{130,'...'}})
] + [
(#DESCRIPTIF|sinon{#TEXTE|couper{130,'...'}})
]
diff --git a/inclure/groupes_contenu.html b/inclure/groupes_contenu.html index 182c834..e6f86ad 100644 --- a/inclure/groupes_contenu.html +++ b/inclure/groupes_contenu.html @@ -14,7 +14,11 @@
diff --git a/paquet.xml b/paquet.xml index 1d16134..fecc623 100644 --- a/paquet.xml +++ b/paquet.xml @@ -6,7 +6,7 @@ compatibilite="[3.1.7;3.3.*]" logo="img/balint_64.png" documentation="" - schema="1.0.5" + schema="1.0.6" > Squelette AIPB