maj
This commit is contained in:
parent
ae4a72b08b
commit
bbdde0d00d
@ -3,13 +3,13 @@ FRONTMATTER_ERROR_PAGE: |
|
|||||||
---
|
---
|
||||||
title: %1$s
|
title: %1$s
|
||||||
---
|
---
|
||||||
|
|
||||||
# Erreur : Frontmatter invalide
|
# Erreur : Frontmatter invalide
|
||||||
|
|
||||||
Path: `%2$s`
|
Path: `%2$s`
|
||||||
|
|
||||||
**%3$s**
|
**%3$s**
|
||||||
|
|
||||||
```
|
```
|
||||||
%4$s
|
%4$s
|
||||||
```
|
```
|
||||||
@ -115,19 +115,7 @@ FORM:
|
|||||||
VALIDATION_FAIL: '<b>La validation a échoué :</b>'
|
VALIDATION_FAIL: '<b>La validation a échoué :</b>'
|
||||||
INVALID_INPUT: Saisie non valide
|
INVALID_INPUT: Saisie non valide
|
||||||
MISSING_REQUIRED_FIELD: 'Champ obligatoire manquant :'
|
MISSING_REQUIRED_FIELD: 'Champ obligatoire manquant :'
|
||||||
MONTHS_OF_THE_YEAR:
|
MONTHS_OF_THE_YEAR: [Janvier, Février, Mars, Avril, Mai, Juin, Juillet, Août, Septembre, Octobre, Novembre, Décembre]
|
||||||
- Janvier
|
|
||||||
- Février
|
|
||||||
- Mars
|
|
||||||
- Avril
|
|
||||||
- Mai
|
|
||||||
- Juin
|
|
||||||
- Juillet
|
|
||||||
- Août
|
|
||||||
- Septembre
|
|
||||||
- Octobre
|
|
||||||
- Novembre
|
|
||||||
- Décembre
|
|
||||||
DAYS_OF_THE_WEEK:
|
DAYS_OF_THE_WEEK:
|
||||||
- Lundi
|
- Lundi
|
||||||
- Mardi
|
- Mardi
|
||||||
|
5
user/config/plugins/twig-extensions.yaml
Normal file
5
user/config/plugins/twig-extensions.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
enabled: false
|
||||||
|
modules:
|
||||||
|
- array
|
||||||
|
- intl
|
||||||
|
- date
|
@ -1,4 +1,5 @@
|
|||||||
absolute_urls: false
|
absolute_urls: false
|
||||||
|
timezone: Europe/Paris
|
||||||
param_sep: ':'
|
param_sep: ':'
|
||||||
wrapped_site: false
|
wrapped_site: false
|
||||||
reverse_proxy_setup: false
|
reverse_proxy_setup: false
|
||||||
@ -8,12 +9,14 @@ username_regex: '^[a-z0-9_-]{3,16}$'
|
|||||||
pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}'
|
pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}'
|
||||||
intl_enabled: true
|
intl_enabled: true
|
||||||
languages:
|
languages:
|
||||||
|
supported:
|
||||||
|
- fr
|
||||||
include_default_lang: true
|
include_default_lang: true
|
||||||
translations: true
|
translations: true
|
||||||
translations_fallback: true
|
translations_fallback: true
|
||||||
session_store_active: false
|
session_store_active: true
|
||||||
http_accept_language: false
|
http_accept_language: true
|
||||||
override_locale: false
|
override_locale: true
|
||||||
home:
|
home:
|
||||||
alias: /home
|
alias: /home
|
||||||
hide_in_urls: false
|
hide_in_urls: false
|
||||||
|
0
user/languages/.gitkeep
Normal file
0
user/languages/.gitkeep
Normal file
1
user/languages/en.yaml
Normal file
1
user/languages/en.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
MONTHS_OF_THE_YEAR: [January, February, March, April, May, June, July, August, September, October, November, December]
|
1
user/languages/fr.yaml
Normal file
1
user/languages/fr.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
MONTHS_OF_THE_YEAR: [Janvier, Février, Mars, Avril, Mai, Juin, Juillet, Août, Septembre, Octobre, Novembre, Décembre]
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -17,8 +17,7 @@ function map() {
|
|||||||
id: 'mapbox.streets'
|
id: 'mapbox.streets'
|
||||||
}).addTo(mymap);
|
}).addTo(mymap);
|
||||||
|
|
||||||
L.marker([44.7365818, 4.9776488], {icon: greenIcon}).addTo(mymap)
|
L.marker([44.7365818, 4.9776488], {icon: greenIcon}).addTo(mymap);
|
||||||
.bindPopup("<b>Hello world!</b><br />I am le campus.").openPopup();
|
|
||||||
|
|
||||||
function onMapClick(e) {
|
function onMapClick(e) {
|
||||||
popup
|
popup
|
||||||
@ -78,6 +77,7 @@ function slide() {
|
|||||||
$('.gal-salles').bxSlider({
|
$('.gal-salles').bxSlider({
|
||||||
responsive: true,
|
responsive: true,
|
||||||
pager:true,
|
pager:true,
|
||||||
|
preloadImages:'visible',
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -96,11 +96,11 @@ function links() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clickbutton() {
|
function clickbutton() {
|
||||||
var $button = $('#ajax-test-form .radio');
|
var $button = $('#ajax-test-form .radio label');
|
||||||
|
|
||||||
$button.on('click', function(){
|
$button.on('click', function(){
|
||||||
$(this).parent('.form-data').find('.check').removeClass('check');
|
$(this).parents('.form-data').find('.check').removeClass('check');
|
||||||
$(this).addClass('check');
|
$(this).parent('.radio').addClass('check');
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -222,6 +222,7 @@
|
|||||||
@include inlineflex();
|
@include inlineflex();
|
||||||
margin: 20px 0px;
|
margin: 20px 0px;
|
||||||
&> div{
|
&> div{
|
||||||
|
overflow: hidden;
|
||||||
margin: 10px 10px;
|
margin: 10px 10px;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
border: 2px solid $red;
|
border: 2px solid $red;
|
||||||
@ -238,6 +239,9 @@
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
label{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:nth-of-type(n+5):not(:nth-of-type(n+11)){
|
&:nth-of-type(n+5):not(:nth-of-type(n+11)){
|
||||||
@ -404,7 +408,7 @@
|
|||||||
.sidebar{
|
.sidebar{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 300px;
|
width: 20%;
|
||||||
margin: -55px auto 0 20px;
|
margin: -55px auto 0 20px;
|
||||||
h2{
|
h2{
|
||||||
background: $red;
|
background: $red;
|
||||||
|
@ -7,6 +7,7 @@ header{
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid $light-blue;
|
border-bottom: 1px solid $light-blue;
|
||||||
|
height: 105px;
|
||||||
nav{
|
nav{
|
||||||
@include inlineflex();
|
@include inlineflex();
|
||||||
-ms-flex-pack: distribute;
|
-ms-flex-pack: distribute;
|
||||||
@ -35,6 +36,7 @@ header{
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
&>a{
|
&>a{
|
||||||
|
white-space: nowrap;
|
||||||
line-height: 6rem;
|
line-height: 6rem;
|
||||||
border-top: 1px solid $light-blue;
|
border-top: 1px solid $light-blue;
|
||||||
border-bottom: 3px solid $green;
|
border-bottom: 3px solid $green;
|
||||||
|
@ -346,7 +346,7 @@
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-left: -10vw;
|
margin-left: -27vw;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -422,6 +422,9 @@
|
|||||||
.sidebar{
|
.sidebar{
|
||||||
width: 90%!important;;
|
width: 90%!important;;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
&:before{
|
||||||
|
margin-left: -8vw;
|
||||||
|
}
|
||||||
h2{
|
h2{
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,30 @@
|
|||||||
<div class="date">
|
<div class="date">
|
||||||
<span class="dt">
|
<span class="dt">
|
||||||
Du
|
{% set mois_begin = 'MONTHS_OF_THE_YEAR'|ta(page.header.date_begin|date('n') - 1) %}
|
||||||
{% if page.header.date_begin %}
|
{% set mois_end = 'MONTHS_OF_THE_YEAR'|ta(page.header.date_end|date('n') - 1) %}
|
||||||
|
|
||||||
|
{% if not page.header.date_end %}
|
||||||
|
Le
|
||||||
<time class="dt-begin" datetime="{{ page.header.date_begin|date("c") }}">
|
<time class="dt-begin" datetime="{{ page.header.date_begin|date("c") }}">
|
||||||
{{ page.header.date_begin|date(system.pages.dateformat.short) }}
|
{{ page.header.date_begin|date('d') }}
|
||||||
|
{{mois_begin}}
|
||||||
|
{{ page.header.date_begin|date('Y') }}
|
||||||
|
à
|
||||||
|
{{ page.header.date_begin|date('g', "Europe/Paris") }}h{{ page.header.date_begin|date('i', "Europe/Paris") }}
|
||||||
</time>
|
</time>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
à
|
|
||||||
{% if page.header.date_end %}
|
{% if page.header.date_end %}
|
||||||
|
Du
|
||||||
|
<time class="dt-begin" datetime="{{ page.header.date_begin|date("c") }}">
|
||||||
|
{{ page.header.date_begin|date('d') }}
|
||||||
|
{{mois_begin}}
|
||||||
|
{{ page.header.date_begin|date('Y') }}
|
||||||
|
</time>
|
||||||
|
au
|
||||||
<time class="dt-end" datetime="{{ page.header.date_end|date("c") }}">
|
<time class="dt-end" datetime="{{ page.header.date_end|date("c") }}">
|
||||||
{{ page.header.date_end|date(system.pages.dateformat.short) }}
|
{{ page.header.date_end|date('d') }}
|
||||||
|
{{mois_end}}
|
||||||
|
{{ page.header.date_end|date('Y') }}
|
||||||
</time>
|
</time>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user