site-accueil-insa/map.php

68 lines
2 KiB
PHP
Raw Normal View History

2020-09-19 16:08:07 +02:00
<?php
ob_start(); // Start reading html
2022-06-11 13:32:24 +02:00
//header('Location: construction.php');
2020-09-19 16:08:07 +02:00
?>
2022-06-13 01:21:54 +02:00
<main id ="reference">
2022-06-11 13:32:24 +02:00
<div class="box-jaune">
<span class="corners corners-top"></span>
<span class="corners corners-bottom"></span>
2022-06-13 01:21:54 +02:00
<div class="title">Carte de l'INSA - <span class="change-map-button animated" id="change-map-button">version : </span></div>
2022-06-11 13:32:24 +02:00
<span class="circles circles-top"></span>
<span class="circles circles-bottom"></span>
</div>
2022-06-11 21:32:03 +02:00
2022-06-13 01:21:54 +02:00
<div id="maps">
<!-- content will be included in #map3d -->
<?php include('assets/map/map3D.php') ?>
<!-- content wil be in #map2d -->
<?php include('assets/map/map2D.php') ?>
</div>
<!-- Note -->
2022-06-11 21:32:03 +02:00
<section>
<p>
Une petite note sur le numéro des salles : sur ton emploi du temps, le bâtiment est marqué en premier, et
ensuite le chiffre des centaines pour l'étage, et après à toi de trouver !
</p>
<p>
2022-06-13 01:21:54 +02:00
Par exemple, GM 212, c'est au GM, deuxième étage.<br>
Et si t'as Amphi 108, c'est au premier étage du STPI (c'est ton département et c'est il y a les amphis).
2022-06-11 21:32:03 +02:00
</p>
<p id="hint">
2022-06-13 01:21:54 +02:00
Fond de carte issu du site <a href="https://www.openstreetmap.org/#map=17/43.57103/1.46591" class="link">Open Street Map</a>.
2022-06-11 21:32:03 +02:00
</p>
</section>
2022-03-10 00:34:02 +01:00
2022-06-13 13:36:49 +02:00
<!-- needed for showing custom alert, JE FERAI UN TRUC MAISON PLUS TARD TKT -->
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
2022-06-13 01:21:54 +02:00
2022-06-13 13:36:49 +02:00
<!--- Switch between 2D and 3d maps --->
<script defer>
const Thatbutton = document.getElementById("change-map-button");
Thatbutton.addEventListener("click", (e) => {
document.body.classList.toggle("flat");
})
</script>
2022-06-13 01:21:54 +02:00
2022-06-13 13:36:49 +02:00
</main>
2022-06-13 01:21:54 +02:00
2020-09-19 16:08:07 +02:00
<?php
2022-01-20 21:49:52 +01:00
$infopage = ["", "Plan", ob_get_clean(), "", "map"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
2022-01-19 22:26:58 +01:00
include("structure/template.php");
?>