Skip to content

Commit

Permalink
Factorise templates Mustache
Browse files Browse the repository at this point in the history
Co-authored-by: Fabien Lamarque <[email protected]>
  • Loading branch information
egaillot and Fabinout committed Jun 11, 2024
1 parent 6eab693 commit de221e9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
3 changes: 3 additions & 0 deletions public/assets/styles/commun.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
font-family: 'Marianne';
}
4 changes: 0 additions & 4 deletions public/assets/styles/pageAccueil.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
body {
font-family: 'Marianne';
}

.bouton-franceconnect {
display: block;
cursor: pointer;
Expand Down
6 changes: 1 addition & 5 deletions src/vues/erreur.mustache
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Vitrine eIDAS-France</title>
<link rel="stylesheet" href="/statique/assets/styles/fontes.css">
<link rel="stylesheet" href="/statique/assets/styles/pageAccueil.css">
{{>fragments/commun}}

<h1>Une erreur s'est produite</h1>
<p>{{descriptionErreur}}</p>
Expand Down
6 changes: 6 additions & 0 deletions src/vues/fragments/commun.mustache
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Vitrine eIDAS-France</title>
<link rel="stylesheet" href="/statique/assets/styles/fontes.css">
<link rel="stylesheet" href="/statique/assets/styles/commun.css">

5 changes: 1 addition & 4 deletions src/vues/pageAccueil.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Vitrine eIDAS-France</title>
<link rel="stylesheet" href="/statique/assets/styles/fontes.css">
{{>fragments/commun}}
<link rel="stylesheet" href="/statique/assets/styles/pageAccueil.css">


Expand Down

0 comments on commit de221e9

Please sign in to comment.