|
@@ -34,6 +34,9 @@
|
|
|
<h4 class="section-title">Nos espace:</h4>
|
|
|
<div>
|
|
|
<a href="http://localhost:8080/lens/configure?espace=accueil"><button type="button" class="btn btn-danger btn-lg espace" >Accueil</button></a>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <a href="http://localhost:8080/lens/configure?espace=imprimante3D"><button type="button" class="btn btn-danger btn-lg espace" >Imprimante 3D</button></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</main>
|
|
@@ -48,18 +51,7 @@
|
|
|
<script src="js/bootstrap/js/bootstrap.js" type="text/javascript"></script>
|
|
|
|
|
|
<script>
|
|
|
- function lauchRequest(espace){
|
|
|
- console.log(espace);
|
|
|
- const xmlhttp = new XMLHttpRequest();
|
|
|
- // Get JSON File
|
|
|
- xmlhttp.onreadystatechange = function() {
|
|
|
- if (this.status == 200) {
|
|
|
- console.log(this.responseText);
|
|
|
- }
|
|
|
- };
|
|
|
- xmlhttp.open("GET", "http://localhost:8080/lens/configure?espace="+espace, true);
|
|
|
- xmlhttp.send();
|
|
|
- }
|
|
|
+
|
|
|
</script>
|
|
|
</body>
|
|
|
|