Added buttons to create a new elevator

This commit is contained in:
TheGreyDiamond
2021-07-05 20:45:57 +02:00
parent b05241f493
commit 51d92c139d
2 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,7 @@
<h5>
Check it out now <br>
<a href= "/map" ><button class="button-primary">Visit the map <i class="fas fa-arrow-right"></i> </button></a>
<a href= "/createElevator" ><button class="button-primary">Create a new elevator <i class="fas fa-arrow-right"></i> </button></a>
</h5>
</div>

View File

@ -72,11 +72,17 @@
class="fas fa-map-marker-alt"
onclick="home()"
></i>
<i style="color: black; cursor: pointer" class="fas fas fa-plus" onclick="createNewElev()"></i>
</aside>
<!-- End Document
-->
<script type="text/javascript">
function createNewElev(){
window.location.href = "/createElevator";
}
var amountOfImages = 0;
var markers = L.markerClusterGroup();
slideIndex = 1;