2024-09-16 11:29:02 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2024-09-18 16:41:31 +00:00
|
|
|
|
2024-09-16 11:29:02 +00:00
|
|
|
<a href="#headerTop">
|
|
|
|
<div class="goTop">
|
|
|
|
<p>🍿</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
2024-09-18 16:41:31 +00:00
|
|
|
<img src="../static/images/background.svg" class="background_svg">
|
2024-09-16 11:29:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div id="map"></div>
|
|
|
|
|
|
|
|
<div class="planning">
|
|
|
|
<div class="container_titrePlanning">
|
|
|
|
<div class="contenu_edt">
|
|
|
|
<h2 class="txt_edt">Emploi du temps</h2>
|
|
|
|
<div class="calendrier">
|
2024-09-18 16:41:31 +00:00
|
|
|
{% for date in dates %}
|
|
|
|
{% if date.choisi %}
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="date-selectionne">
|
2024-09-18 16:41:31 +00:00
|
|
|
<p class="jour">{{date.jour}}</p>
|
|
|
|
<p class="chiffre">{{date.chiffre}}</p>
|
|
|
|
<p class="mois">{{date.mois}}</p>
|
2024-09-16 11:29:02 +00:00
|
|
|
</div>
|
2024-09-18 16:41:31 +00:00
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('home', delta=date.index) }}">
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="date">
|
2024-09-18 16:41:31 +00:00
|
|
|
<p class="jour">{{date.jour}}</p>
|
|
|
|
<p class="chiffre">{{date.chiffre}}</p>
|
|
|
|
<p class="mois">{{date.mois}}</p>
|
2024-09-16 11:29:02 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
2024-09-18 16:41:31 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2024-09-16 11:29:02 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="line"></div>
|
|
|
|
</div>
|
2024-09-18 16:41:31 +00:00
|
|
|
{% for film in films.values() %}
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="container_infoFilm">
|
2024-09-18 16:41:31 +00:00
|
|
|
<img src={{ film.affiche }} class="affiche" />
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="infoFilm">
|
|
|
|
<div class="blur-background"></div>
|
|
|
|
<div>
|
2024-09-18 16:41:31 +00:00
|
|
|
<h3 class="titreFilm">{{film.title}}</h3>
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="info-content">
|
2024-09-18 16:41:31 +00:00
|
|
|
<p class="realisateur">Réalisateur : {{film.director}}</p>
|
|
|
|
<p class="casting">Casting : {{ film.casting }}</p>
|
|
|
|
<p class="genre">Genre : {{ film.genres }}</p>
|
|
|
|
<p class="duree">Durée : {{film.duree}}</p>
|
2024-09-16 11:29:02 +00:00
|
|
|
</div>
|
|
|
|
<div class="synopsis_container">
|
|
|
|
<p class="synopsis">
|
|
|
|
{{film.synopsis}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="height: 10px;"></div>
|
2024-09-18 16:41:31 +00:00
|
|
|
{% for cinename, seances in film.seances.items() %}
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="seance_container">
|
|
|
|
<div class="cinema">
|
2024-09-18 16:41:31 +00:00
|
|
|
<p>{{cinename}}</p>
|
2024-09-16 11:29:02 +00:00
|
|
|
</div>
|
|
|
|
<div class="horaires_container">
|
2024-09-18 16:41:31 +00:00
|
|
|
{% for seance in seances %}
|
2024-09-16 11:29:02 +00:00
|
|
|
<div class="horaire">
|
|
|
|
<p>{{seance}}</p>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="responsive-petite-div"></div>
|
|
|
|
{% endfor %}
|
|
|
|
<div class="responsive-div"></div>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
mapboxgl.accessToken = '###';
|
|
|
|
|
|
|
|
var map = new mapboxgl.Map({
|
|
|
|
container: 'map',
|
|
|
|
style: 'mapbox://styles/mapbox/streets-v11',
|
|
|
|
center: [2.3522, 48.8566],
|
|
|
|
zoom: 12
|
|
|
|
});
|
|
|
|
|
|
|
|
map.addControl(new mapboxgl.NavigationControl());
|
|
|
|
|
|
|
|
var locations = [
|
|
|
|
{ coordinates: [2.348973, 48.848363], description: "Écoles Cinéma club" },
|
|
|
|
{ coordinates: [2.546596, 48.840113], description: "UGC Ciné Cité Noisy-le-Grand" },
|
|
|
|
{ coordinates: [2.343014, 48.849777], description: "UGC Ciné Cité les Halles" },
|
|
|
|
{ coordinates: [2.342790, 48.849510], description: "Reflet Medicis" },
|
|
|
|
{ coordinates: [2.342790, 48.849510], description: "Fimothèque du quartier Latin" },
|
|
|
|
{ coordinates: [2.343223, 48.849980], description: "Le Champo" },
|
|
|
|
{ coordinates: [2.330526, 48.842813], description: "MK2 Parnasse" },
|
|
|
|
{ coordinates: [2.352129, 48.847530], description: "Le Grand Action" },
|
|
|
|
{ coordinates: [2.353602, 48.858676], description: "Luminor Hotel de Ville" },
|
|
|
|
{ coordinates: [2.344856, 48.871370], description: "Max Linder Panorama" },
|
|
|
|
{ coordinates: [2.342385, 48.847488], description: "Cinéma du Panthéon" },
|
|
|
|
{ coordinates: [2.349555, 48.841300], description: "Épée de bois" },
|
|
|
|
{ coordinates: [2.375488, 48.832448], description: "MK2 Bibliothèque" },
|
|
|
|
{ coordinates: [2.352312, 48.861584], description: "MK2 Beaubourg" }
|
|
|
|
];
|
|
|
|
|
|
|
|
locations.forEach(function (location) {
|
|
|
|
var el = document.createElement('div');
|
|
|
|
el.className = 'custom-marker';
|
|
|
|
|
|
|
|
var popup = new mapboxgl.Popup({ offset: 25 }).setText(location.description);
|
|
|
|
|
|
|
|
new mapboxgl.Marker(el)
|
|
|
|
.setLngLat(location.coordinates)
|
|
|
|
.setPopup(popup)
|
|
|
|
.addTo(map);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|