forked from rebillar/site-accueil-insa
typos
This commit is contained in:
parent
5fca5a771b
commit
2185ca503b
5 changed files with 18 additions and 24 deletions
|
@ -26,16 +26,14 @@ section ul li {
|
|||
}
|
||||
|
||||
.img_blouse {
|
||||
diplay: inline-block;
|
||||
display: inline-block;
|
||||
width: 20vw;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#photos_blouse {
|
||||
display: block;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
|
@ -53,8 +53,6 @@ section {
|
|||
background-clip: border-box;
|
||||
background-size: 200% auto;
|
||||
color: #fff;
|
||||
background-clip: text;
|
||||
text-fill-color: transparent;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
animation: textclip 2s linear infinite;
|
||||
|
|
|
@ -206,7 +206,7 @@ function handleClickOnBuilding(x,y) {
|
|||
if (intersects.length > 0) {
|
||||
|
||||
var selector = intersects[0].object.name.toString().toLowerCase(); // Name of the building we clicked on
|
||||
console.debug(selector)
|
||||
console.log(selector)
|
||||
// Wait for getSelectors() to be done
|
||||
// If we do not wait, everything will be executed before checking what is inside the database
|
||||
getSelectors().then((data) => {
|
||||
|
|
12
map.php
12
map.php
|
@ -48,19 +48,19 @@ ob_start(); // Start reading html
|
|||
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<!-- needed for showing custom alert, JE FERAI UN TRUC MAISON PLUS TARD TKT -->
|
||||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<!-- needed for showing custom alert, JE FERAI UN TRUC MAISON PLUS TARD TKT -->
|
||||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!--- Switch between 2D and 3d maps --->
|
||||
<script defer>
|
||||
<!--- 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>
|
||||
</script>
|
||||
|
||||
</main>
|
||||
|
||||
<?php
|
||||
$infopage = ["", "Plan", ob_get_clean(), "", "map"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
|
||||
|
|
|
@ -173,7 +173,6 @@ if(!isset($relativepath)) {
|
|||
|
||||
<?php
|
||||
|
||||
$co_y_0 = [0, 48.85, 97.7, 146.55, 195.4, 244.25, 293.1, 341.95, 390.8, 439.65, 488.5];
|
||||
$texte_y_0 = ["Accueil", "Planning", "Plan", "Blouse", "Parrainage", "Homework", "Chansons", "Les stats", "Boomario", "PKpeach", "Photos"];
|
||||
$lien_y_0 = ["index.php", "planning.php", "map.php", "blouse.php", "parrainage.php", "vacances.php", "chansons.php", "stats.php", "team.php?team=boomario", "team.php?team=pkpeach", "photos.php"];
|
||||
for($i = 0; $i <= 10; $i++) {
|
||||
|
@ -188,10 +187,9 @@ if(!isset($relativepath)) {
|
|||
</a>';
|
||||
}
|
||||
|
||||
$co_y_1 = [-23.5, 25.35,74.2, 123.05, 171.9, 220.75, 269.6, 318.45, 367.3, 416.15, 465];
|
||||
$texte_y_1 = ["Lydia/Izly", "Les clubs", "Prévention", "Com'ville", "Enigme", "", "", "", "Download", "Les com's", "Infos"];
|
||||
$lien_y_1 = ["lydia.php", "clubs.php", "prevs.php", "map_com_ville.php", "enigma.php", "", "", "", "downloads.php", "coms.php", "info.php"];
|
||||
for($i = 0; $i <= 10; $i++) {
|
||||
$texte_y_1 = ["Lydia/Izly", "Les clubs", "Prévention", "Com'ville", "Enigme", "Download", "Les com's", "", "Infos"];
|
||||
$lien_y_1 = ["lydia.php", "clubs.php", "prevs.php", "map_com_ville.php", "enigma.php", "downloads.php", "coms.php", "", "info.php"];
|
||||
for($i = 0; $i <= 8; $i++) {
|
||||
echo
|
||||
'<a href="'.$lien_y_1[$i].'" class="mobile-menu-link">
|
||||
<svg class="mobile-brick menu-link" viewBox="-2 -2 51 21">
|
||||
|
|
Loading…
Reference in a new issue