Move Load Wikidata items button

This commit is contained in:
Edward Betts 2021-05-09 08:17:40 +02:00
parent 6ac18907b2
commit 9e12f66cc6
2 changed files with 12 additions and 12 deletions

View file

@ -20,7 +20,7 @@
#load-btn {
position: absolute;
top: 20px;
left: 50%;
left: 62.5%;
transform: translate(-50%, 0);
}

View file

@ -10,7 +10,17 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
</head>
<body>
<div id="map"></div>
<div id="map">
</div>
<button id="load-btn" type="button" class="btn btn-primary btn-lg">
<span id="loading" class="visually-hidden">
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading ...
</span>
<span id="load-text">
Load Wikidata items
</span>
</button>
<div id="sidebar">
<div class="card m-2" id="search-card">
@ -36,16 +46,6 @@
</div>
</div>
<button id="load-btn" type="button" class="btn btn-primary btn-lg">
<span id="loading" class="visually-hidden">
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading ...
</span>
<span id="load-text">
Load Wikidata items
</span>
</button>
<script>
var start_lat = {{ lat | tojson }};
var start_lng = {{ lng | tojson }};