Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
z-dsfr
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
CGDD Public
BUN-Poleweb
Systeme de design de l etat
CMS SPIP
z-dsfr
Commits
23b034a4
Commit
23b034a4
authored
1 year ago
by
Folio Mikael
Browse files
Options
Downloads
Patches
Plain Diff
transfert dsfr-child dans le footer
Quelques modifications sur le footer
parent
e187c6eb
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
design_system_admin/inclure/footer.html
+40
-26
40 additions, 26 deletions
design_system_admin/inclure/footer.html
design_system_admin/inclure/head.html
+3
-4
3 additions, 4 deletions
design_system_admin/inclure/head.html
with
43 additions
and
30 deletions
design_system_admin/inclure/footer.html
+
40
−
26
View file @
23b034a4
...
...
@@ -42,7 +42,7 @@
<ul
class=
"fr-btns-group"
>
<BOUCLE_bloc_afficher_facebook
(
CONDITION
){
si
#CONFIG_VALUE
{
url_facebook
}|
strlen
|
>
{5}|oui}>
<li>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_facebook}"
t
arget=
"_blank"
title=
"Facebook - nouvelle fenêtre
"
>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_facebook}"
t
itle=
"Facebook
"
>
<span
class=
"fr-icon-facebook-circle-fill"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Suivez-nous sur Facebook
</span>
</a>
...
...
@@ -50,7 +50,7 @@
</BOUCLE_bloc_afficher_facebook>
<BOUCLE_bloc_afficher_twitter
(
CONDITION
){
si
#CONFIG_VALUE
{
url_twitter
}|
strlen
|
>
{5}|oui}>
<li>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_twitter}"
t
arget=
"_blank"
title=
"Twitter - nouvelle fenêtre
"
>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_twitter}"
t
itle=
"Twitter
"
>
<span
class=
"fr-icon-twitter-fill"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Suivez-nous sur Twitter
</span>
</a>
...
...
@@ -58,7 +58,7 @@
</BOUCLE_bloc_afficher_twitter>
<BOUCLE_bloc_afficher_instagram
(
CONDITION
){
si
#CONFIG_VALUE
{
url_instagram
}|
strlen
|
>
{5}|oui}>
<li>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_instagram}"
t
arget=
"_blank"
title=
"Instagram - nouvelle fenêtre
"
>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_instagram}"
t
itle=
"Instagram
"
>
<span
class=
"fr-icon-instagram-fill"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Suivez-nous sur Instagram
</span>
</a>
...
...
@@ -66,7 +66,7 @@
</BOUCLE_bloc_afficher_instagram>
<BOUCLE_bloc_afficher_linkedin
(
CONDITION
){
si
#CONFIG_VALUE
{
url_linkedin
}|
strlen
|
>
{5}|oui}>
<li>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_linkedin}"
t
arget=
"_blank"
title=
"Linkedin - nouvelle fenêtre
"
>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_linkedin}"
t
itle=
"Linkedin
"
>
<span
class=
"fr-icon-linkedin-box-fill"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Suivez-nous sur Linkedin
</span>
</a>
...
...
@@ -74,7 +74,7 @@
</BOUCLE_bloc_afficher_linkedin>
<BOUCLE_bloc_afficher_youtube
(
CONDITION
){
si
#CONFIG_VALUE
{
url_youtube
}|
strlen
|
>
{5}|oui}>
<li>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_youtube}"
t
arget=
"_blank"
title=
"Youtube - nouvelle fenêtr
e"
>
<a
class=
"fr-btn suivez-nous-sur"
href=
"#CONFIG_VALUE{url_youtube}"
t
itle=
"Youtub
e"
>
<span
class=
"fr-icon-youtube-fill"
aria-hidden=
"true"
></span>
<span
class=
"sr-only"
>
Suivez-nous sur Yuutube
</span>
</a>
...
...
@@ -133,47 +133,51 @@
<BOUCLE_ll_cat
(
CONDITION
){
si
#CLE
|=={0}|
oui
}
>
#SET{cat_ll, #VALEUR}
</BOUCLE_ll_cat>
<BOUCLE_ll_texte1
(
CONDITION
){
si
#CLE
|=={1}|
oui
}
>
<BOUCLE_hx_cat
(
CONDITION
){
si
#CLE
|=={1}|
oui
}
>
#SET{hx_cat, #VALEUR}
</BOUCLE_hx_cat>
<BOUCLE_ll_texte1
(
CONDITION
){
si
#CLE
|=={2}|
oui
}
>
#SET{texte1_ll, #VALEUR}
</BOUCLE_ll_texte1>
<BOUCLE_ll_url1
(
CONDITION
){
si
#CLE
|=={
2
}|
oui
}
>
<BOUCLE_ll_url1
(
CONDITION
){
si
#CLE
|=={
3
}|
oui
}
>
#SET{url1_ll, #VALEUR}
</BOUCLE_ll_url1>
<BOUCLE_ll_texte2
(
CONDITION
){
si
#CLE
|=={
3
}|
oui
}
>
<BOUCLE_ll_texte2
(
CONDITION
){
si
#CLE
|=={
4
}|
oui
}
>
#SET{texte2_ll, #VALEUR}
</BOUCLE_ll_texte2>
<BOUCLE_ll_url2
(
CONDITION
){
si
#CLE
|=={
4
}|
oui
}
>
<BOUCLE_ll_url2
(
CONDITION
){
si
#CLE
|=={
5
}|
oui
}
>
#SET{url2_ll, #VALEUR}
</BOUCLE_ll_url2>
<BOUCLE_ll_texte3
(
CONDITION
){
si
#CLE
|=={
5
}|
oui
}
>
<BOUCLE_ll_texte3
(
CONDITION
){
si
#CLE
|=={
6
}|
oui
}
>
#SET{texte3_ll, #VALEUR}
</BOUCLE_ll_texte3>
<BOUCLE_ll_url3
(
CONDITION
){
si
#CLE
|=={
6
}|
oui
}
>
<BOUCLE_ll_url3
(
CONDITION
){
si
#CLE
|=={
7
}|
oui
}
>
#SET{url3_ll, #VALEUR}
</BOUCLE_ll_url3>
<BOUCLE_ll_texte4
(
CONDITION
){
si
#CLE
|=={
7
}|
oui
}
>
<BOUCLE_ll_texte4
(
CONDITION
){
si
#CLE
|=={
8
}|
oui
}
>
#SET{texte4_ll, #VALEUR}
</BOUCLE_ll_texte4>
<BOUCLE_ll_url4
(
CONDITION
){
si
#CLE
|=={
8
}|
oui
}
>
<BOUCLE_ll_url4
(
CONDITION
){
si
#CLE
|=={
9
}|
oui
}
>
#SET{url4_ll, #VALEUR}
</BOUCLE_ll_url4>
<BOUCLE_ll_texte5
(
CONDITION
){
si
#CLE
|=={
9
}|
oui
}
>
<BOUCLE_ll_texte5
(
CONDITION
){
si
#CLE
|=={
10
}|
oui
}
>
#SET{texte5_ll, #VALEUR}
</BOUCLE_ll_texte5>
<BOUCLE_ll_url5
(
CONDITION
){
si
#CLE
|=={1
0
}|
oui
}
>
<BOUCLE_ll_url5
(
CONDITION
){
si
#CLE
|=={1
1
}|
oui
}
>
#SET{url5_ll, #VALEUR}
</BOUCLE_ll_url5>
<BOUCLE_ll_texte6
(
CONDITION
){
si
#CLE
|=={1
1
}|
oui
}
>
<BOUCLE_ll_texte6
(
CONDITION
){
si
#CLE
|=={1
2
}|
oui
}
>
#SET{texte6_ll, #VALEUR}
</BOUCLE_ll_texte6>
<BOUCLE_ll_url6
(
CONDITION
){
si
#CLE
|=={1
2
}|
oui
}
>
<BOUCLE_ll_url6
(
CONDITION
){
si
#CLE
|=={1
3
}|
oui
}
>
#SET{url6_ll, #VALEUR}
</BOUCLE_ll_url6>
</BOUCLE_B_ll>
[(#REM) Résultat traité et affiché ]
#SET{maxvaleur,12}
#SET{maxvaleur,12}
#SET{hx_cat,#GET{hx_cat}' '}
<div
class=
"fr-col-12 fr-col-sm-3 fr-col-md-[(#GET{maxvaleur}|modulo{#CONFIG_VALUE{nombre_de_liste_de_liens}})]"
>
<
h2
class=
"fr-footer__top-cat"
>
#GET{cat_ll}
</
h2
>
<
#GET
{
hx_cat
}
class=
"fr-footer__top-cat"
>
#GET{cat_ll}
</
#
GET
{hx_cat}
>
<ul
class=
"fr-footer__top-list"
>
[
<li>
<a
class=
"fr-footer__top-link"
href=
"#GET{url1_ll}"
>
(#GET{texte1_ll})
</a>
...
...
@@ -217,9 +221,15 @@
</p>
[(#REM) Affichage du second logo en fonction de la configuration dans le backoffice ]
<BOUCLE_second_logo
(
CONDITION
){
si
#CONFIG_VALUE
{
_masquer_logo_secondaire
}|=={
non
}|
oui
}
>
<p
class=
"secondlogo"
>
<img
src=
"#CONFIG_VALUE{second_logo_upload}"
alt=
"logo secondaire"
height=
"114"
/>
</p>
<BOUCLE_type_image
(
CONDITION
){
si
#CONFIG_VALUE
{
type_insertion_second_logo
}|=={
fichier
}|
oui
}
>
<p
class=
"secondlogo"
>
<img
src=
"#CONFIG_VALUE{second_logo_upload}"
alt=
"logo secondaire"
height=
"114"
/>
</p>
</BOUCLE_type_image>
<p
class=
"secondlogo"
>
#CONFIG_VALUE{second_logo_upload}
</p>
</
/
B_type_image>
</BOUCLE_second_logo>
</div>
<div
class=
"fr-footer__content"
>
...
...
@@ -284,7 +294,7 @@
</BOUCLE_B_lpp>
[(#REM) Résultat traité et affiché ]
<li>
<a
class=
"fr-footer__partners-link"
href=
"#GET{url_pp}"
title=
"#GET{text_alt_pp}
- Lien externe
"
>
<a
class=
"fr-footer__partners-link"
href=
"#GET{url_pp}"
title=
"#GET{text_alt_pp}"
>
<img
class=
"fr-footer__logo"
src=
"#GET{img_pp}"
alt=
"#GET{text_alt_pp}"
style=
"width:200px;height:auto;"
/>
</a>
</li>
...
...
@@ -318,7 +328,7 @@
</BOUCLE_B_lps>
[(#REM) Résultat traité et affiché ]
<li>
<a
class=
"fr-footer__partners-link"
href=
"#GET{url_ps}"
title=
"#GET{text_alt_ps}
- Lien externe
"
><img
class=
"fr-footer__logo"
src=
"#GET{img_ps}"
alt=
"#GET{text_alt_ps}"
style=
"width:200px;height:auto;"
/></a>
<a
class=
"fr-footer__partners-link"
href=
"#GET{url_ps}"
title=
"#GET{text_alt_ps}"
><img
class=
"fr-footer__logo"
src=
"#GET{img_ps}"
alt=
"#GET{text_alt_ps}"
style=
"width:200px;height:auto;"
/></a>
</li>
</B_B_lps>
</
/
B_B_lps>
...
...
@@ -395,19 +405,23 @@
[
<link
rel=
"stylesheet"
href=
"/(#CHEMIN{css/plugin-dse.css}|direction_css|timestamp)"
type=
"text/css"
/>
]
[
<link
rel=
"stylesheet"
href=
"(#CHEMIN{css/mycustom.css}|direction_css|timestamp)"
type=
"text/css"
/>
]
[
<link
rel=
"stylesheet"
href=
"(#CHEMIN{dsfr/utility/icons/icons.css}|direction_css)"
type=
"text/css"
/>
]
[
<link
rel=
"stylesheet"
href=
"(#CHEMIN{css/dsfr-child.css}|direction_css)"
type=
"text/css"
/>
]
#SET{test,#GET{test}|getNomDeDomaine}
<BOUCLE_test_domaine
(
CONDITION
){
si
#GET
{
test
}|=={
#CONFIG_VALUE
{
nom_de_domaine_en_production
}}|
oui
}
>
<BOUCLE_statistique
(
CONDITION
){
si
#CONFIG_VALUE
{
_masquer_statistiques
}|=={
non
}|
oui
}
>
#CONFIG_VALUE{script_statistiques}
</BOUCLE_statistique>
</BOUCLE_test_domaine>
<BOUCLE_test_pour_liens_externe
(
CONDITION
){
si
#CONFIG_VALUE
{
liens_externe_que_faire
}|=={
ut
ilisateur
}|
oui
}
>
<BOUCLE_test_pour_liens_externe
(
CONDITION
){
si
#CONFIG_VALUE
{
liens_externe_que_faire
}|=={
a
ut
omatique
}|
oui
}
>
<script
type=
"text/javascript"
>
// Exécute le code après le chargement complet du document
jQuery
(
document
).
ready
(
function
(
$
)
{
$
(
'
a[href^="http://"], a[href^="https://"]
'
).
each
(
function
()
{
var
href
=
$
(
this
).
attr
(
'
href
'
);
if
(
href
.
indexOf
(
location
.
hostname
)
==
-
1
)
{
// Vérifier si la balise
<
a
>
contient
une
balise
<
img
>
var
containsImage
=
$
(
this
).
find
(
'
img
'
).
length
>
0
;
if
(
href
.
indexOf
(
location
.
hostname
)
==
-
1
&&
!
containsImage
)
{
$
(
this
).
attr
(
'
target
'
,
'
_blank
'
);
}
});
...
...
This diff is collapsed.
Click to expand it.
design_system_admin/inclure/head.html
+
3
−
4
View file @
23b034a4
...
...
@@ -11,9 +11,8 @@
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"content-language"
content=
"#LANG"
/>
<title>
[(#ENV{titrepage}|supprimer_tags)] - [(#ENV{titre}|supprimer_tags)]
</title>
<title>
[(#ENV{titrepage}|supprimer_tags)] - [(#ENV{titre}|supprimer_tags)]
</title>
<meta
name=
"format-detection"
content=
"telephone=no"
>
[
<meta
name=
"description"
content=
"(#ENV{descriptif}|noP)"
/>
]
[(#REM)
Head standard de toutes les pages ;
...
...
@@ -25,7 +24,7 @@
]
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
[
<link
rel=
"stylesheet"
href=
"(#CHEMIN{dsfr/dsfr.css}|direction_css)"
type=
"text/css"
/>
]
[
<link
rel=
"stylesheet"
href=
"(#CHEMIN{css/dsfr-child.css}|direction_css)"
type=
"text/css"
/>
]
<meta
name=
"geo.region"
content=
"fr-FR"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment