This commit is contained in:
2019-06-03 15:22:10 +02:00
parent ae4a72b08b
commit bbdde0d00d
13 changed files with 64 additions and 39 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -17,8 +17,7 @@ function map() {
id: 'mapbox.streets'
}).addTo(mymap);
L.marker([44.7365818, 4.9776488], {icon: greenIcon}).addTo(mymap)
.bindPopup("<b>Hello world!</b><br />I am le campus.").openPopup();
L.marker([44.7365818, 4.9776488], {icon: greenIcon}).addTo(mymap);
function onMapClick(e) {
popup
@@ -78,6 +77,7 @@ function slide() {
$('.gal-salles').bxSlider({
responsive: true,
pager:true,
preloadImages:'visible',
});
}
@@ -96,11 +96,11 @@ function links() {
}
function clickbutton() {
var $button = $('#ajax-test-form .radio');
var $button = $('#ajax-test-form .radio label');
$button.on('click', function(){
$(this).parent('.form-data').find('.check').removeClass('check');
$(this).addClass('check');
$(this).parents('.form-data').find('.check').removeClass('check');
$(this).parent('.radio').addClass('check');
});
}

View File

@@ -222,6 +222,7 @@
@include inlineflex();
margin: 20px 0px;
&> div{
overflow: hidden;
margin: 10px 10px;
min-width: 100px;
border: 2px solid $red;
@@ -238,6 +239,9 @@
visibility: hidden;
position: absolute;
}
label{
cursor: pointer;
}
}
}
&:nth-of-type(n+5):not(:nth-of-type(n+11)){
@@ -404,7 +408,7 @@
.sidebar{
position: absolute;
right: 0;
width: 300px;
width: 20%;
margin: -55px auto 0 20px;
h2{
background: $red;

View File

@@ -7,6 +7,7 @@ header{
justify-content: center;
width: 100%;
border-bottom: 1px solid $light-blue;
height: 105px;
nav{
@include inlineflex();
-ms-flex-pack: distribute;
@@ -35,6 +36,7 @@ header{
text-align: center;
max-width: 250px;
&>a{
white-space: nowrap;
line-height: 6rem;
border-top: 1px solid $light-blue;
border-bottom: 3px solid $green;

View File

@@ -346,7 +346,7 @@
background-size: cover;
position: absolute;
top: 0;
margin-left: -10vw;
margin-left: -27vw;
z-index: -1;
}
}
@@ -422,6 +422,9 @@
.sidebar{
width: 90%!important;;
text-align: center;
&:before{
margin-left: -8vw;
}
h2{
margin: auto;
}

View File

@@ -1,15 +1,30 @@
<div class="date">
<span class="dt">
Du
{% if page.header.date_begin %}
{% set mois_begin = 'MONTHS_OF_THE_YEAR'|ta(page.header.date_begin|date('n') - 1) %}
{% 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") }}">
{{ 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>
{% endif %}
à
{% 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") }}">
{{ page.header.date_end|date(system.pages.dateformat.short) }}
{{ page.header.date_end|date('d') }}
{{mois_end}}
{{ page.header.date_end|date('Y') }}
</time>
{% endif %}
</span>