mirror of
https://github.com/TheGreyDiamond/elevatormapRewritten.git
synced 2025-07-18 02:23:50 +02:00
Added buttons to create a new elevator
This commit is contained in:
@ -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>
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user