Move styles and update index.html

This commit is contained in:
Adrien Vannson 2021-10-12 11:09:17 +02:00
parent 1256c08c8a
commit ab4b764924
2 changed files with 151 additions and 154 deletions

View File

@ -1,27 +1,12 @@
<!DOCTYPE HTML>
<html> <html>
<head> <head>
<meta charset="UTF-8">
<meta charset="UTF-8"> <title>GP(EN)S</title>
<link rel="stylesheet" href="resources/styles.css">
<title>perdu.html</title> </head>
<style> <body>
#searchResultInfos {
background-color: #BBBBBB;
}
#selectedSalleInfos {
background-color: #BBBBBB;
line-height: 150%;
}
#selectedSalleInfos h2 {
display: inline;
}
</style>
</head>
<body>
<script type="text/javascript" src="./svg-pan-zoom.min.js"></script> <script type="text/javascript" src="./svg-pan-zoom.min.js"></script>
<script type="text/javascript" src="./tinycolor-min.js"></script> <script type="text/javascript" src="./tinycolor-min.js"></script>
@ -100,13 +85,13 @@
salles[i].addEventListener('click', selectSalle); salles[i].addEventListener('click', selectSalle);
} }
} }
</script> </script>
<form> <form>
<label for="selector_site_M"> Site </label> <label for="selector_site_M"> Site </label>
<input type="radio" name="site" value="M" id=selector_site_M" checked="true">Monod</input> <input type="radio" name="site" value="M" id="selector_site_M" checked="true">Monod</input>
<input type="radio" name="site" value="D" id=selector_site_D">Descartes</input> <input type="radio" name="site" value="D" id="selector_site_D">Descartes</input>
| |
<label for="selector_batiment">Bâtiment : </label> <label for="selector_batiment">Bâtiment : </label>
<select name="batiment" id="selector_batiment"> <select name="batiment" id="selector_batiment">
@ -126,34 +111,34 @@
| |
<input type="button" value="Vue d'ensemble" id="overviewButton" onclick="overviewButton"/> <input type="button" value="Vue d'ensemble" id="overviewButton" onclick="overviewButton"/>
</form> </form>
<br/> <br/>
<object type="image/svg+xml" <object
data="https://perso.ens-lyon.fr/samy.avrillon/gpens/maps/M-MGN1-3.svg" type="image/svg+xml"
id="plan" data="https://perso.ens-lyon.fr/samy.avrillon/gpens/maps/M-MGN1-3.svg"
onload="initSvgSupport()"> id="plan"
onload="initSvgSupport()"
>
Votre navigateur ne sait pas charger les objets HTML.... Je vais voir ce que je peux faire.
</object>
Votre navigateur ne sait pas charger les objets HTML.... Je vais voir ce que je peux faire. <div id="selectedSalleInfos">
</object>
<div id="selectedSalleInfos">
Il faut que vous sélectionnez une salle. Il faut que vous sélectionnez une salle.
</div> </div>
<hr/> <hr/>
<form> <form>
<label for="salleNameSearch">Rechercher par nom de salle : </label> <input name="salleNameSearch" type="text" id="salleNameSearch"/> <input name=salleNameButton" type=button value="Rechercher" onclick="salleNameSearch" /> <label for="salleNameSearch">Rechercher par nom de salle : </label> <input name="salleNameSearch" type="text" id="salleNameSearch"/> <input name="salleNameButton" type=button value="Rechercher" onclick="salleNameSearch" />
<br/> <br/>
<label for="salleLocSearch">Rechercher par locataire : </label> <input name="salleLocSearch" type="text" id="salleLocSearch"/> <input name=salleLocButton" type=button value="Rechercher" onclick="salleLocSearch" /> <label for="salleLocSearch">Rechercher par locataire : </label> <input name="salleLocSearch" type="text" id="salleLocSearch"/> <input name="salleLocButton" type=button value="Rechercher" onclick="salleLocSearch" />
</form> </form>
<div id="searchResultInfos"> <div id="searchResultInfos">
Il faut que vous fassiez une recherche. Il faut que vous fassiez une recherche.
</div> </div>
</body> </body>
</html> </html>

12
resources/styles.css Normal file
View File

@ -0,0 +1,12 @@
#searchResultInfos {
background-color: #BBBBBB;
}
#selectedSalleInfos {
background-color: #BBBBBB;
line-height: 150%;
}
#selectedSalleInfos h2 {
display: inline;
}