mirror of
https://github.com/TheGreyDiamond/elevatormapRewritten.git
synced 2026-01-31 08:10:24 +01:00
Added buttons to create a new elevator
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
<h5>
|
<h5>
|
||||||
Check it out now <br>
|
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= "/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>
|
</h5>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -72,11 +72,17 @@
|
|||||||
class="fas fa-map-marker-alt"
|
class="fas fa-map-marker-alt"
|
||||||
onclick="home()"
|
onclick="home()"
|
||||||
></i>
|
></i>
|
||||||
|
<i style="color: black; cursor: pointer" class="fas fas fa-plus" onclick="createNewElev()"></i>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<!-- End Document
|
<!-- End Document
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
function createNewElev(){
|
||||||
|
window.location.href = "/createElevator";
|
||||||
|
}
|
||||||
|
|
||||||
var amountOfImages = 0;
|
var amountOfImages = 0;
|
||||||
var markers = L.markerClusterGroup();
|
var markers = L.markerClusterGroup();
|
||||||
slideIndex = 1;
|
slideIndex = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user