diff --git a/static/map.svg b/static/80x80.svg similarity index 98% rename from static/map.svg rename to static/80x80.svg index 4210fd9..2478ce7 100644 --- a/static/map.svg +++ b/static/80x80.svg @@ -34,17 +34,10 @@ id="use1" style="stroke-width:0.395906;stroke-linecap:square;paint-order:stroke markers fill;stop-color:#000000" d="M 0,0 H 13.9194 V 13.919 H 0 Z M 28.4189,0.696 H 40.9464 V 13.223 H 28.4189 Z M 56.8377,1.392 H 67.9733 V 12.527 H 56.8377 Z m 28.4189,0.696 h 9.7436 v 9.743 h -9.7436 z m 28.4188,0.696 h 8.3517 v 8.351 h -8.3517 z m 28.4189,0.696 h 6.9597 v 6.959 h -6.9597 z m 28.4189,0.696 h 5.5677 v 5.567 h -5.5677 z m 28.4188,0.696 h 4.1758 v 4.175 h -4.1758 z m 28.4189,0.696 h 2.7839 v 2.783 h -2.7839 z m 28.4188,0.695 h 1.392 v 1.392 h -1.392 z m 28.4189,0.696 z m -270.3272,6.96 h 13.9195 v 13.92 H 13.8614 Z m 28.4189,0.696 H 54.8078 V 27.143 H 42.2803 Z m 28.4189,0.696 H 81.8347 V 26.447 H 70.6992 Z m 28.4188,0.696 h 9.7436 v 9.744 H 99.118 Z m 28.4189,0.696 h 8.3516 v 8.352 h -8.3516 z m 28.4188,0.696 h 6.9598 v 6.96 h -6.9598 z m 28.4189,0.696 h 5.5678 v 5.568 h -5.5678 z m 28.4189,0.696 h 4.1758 v 4.176 h -4.1758 z m 28.4188,0.696 h 2.7839 v 2.784 h -2.7839 z m 28.4189,0.696 h 1.3919 v 1.392 h -1.3919 z m 28.4188,0.696 z" />Coordinates (click on map)
- +
diff --git a/static/index.html b/static/index.html index 07dceb7..13f0ef7 100644 --- a/static/index.html +++ b/static/index.html @@ -18,7 +18,7 @@
- +

diff --git a/static/index.js b/static/index.js index f7bb046..3be7022 100644 --- a/static/index.js +++ b/static/index.js @@ -32,12 +32,12 @@ function renderItems() { clone.querySelector(".result").id = `item-${id}`; clone.querySelector("a").href = `form.html?id=${encodeURIComponent(id)}`; if (item.hidden) { - clone.querySelector(".result").classList.add('hidden'); + clone.querySelector(".result").classList.add('hidden') } else { count++; } container.appendChild(clone); - } + }; loading.remove(); updateCounter(count); } @@ -106,7 +106,7 @@ function search(e) { updateCounter(count); } -function updateCounter(count) { +function updateCounter(count){ const itemcount = document.getElementById('itemcount'); switch(count) {