Skip to content

Commit 1d607a2

Browse files
committed
removed google analytics and added cloudferro logo as well as mentioned that site is no longer maintained
1 parent 7160493 commit 1d607a2

File tree

2 files changed

+11
-21
lines changed

2 files changed

+11
-21
lines changed

web/cloudferro_logo.png

7.59 KB
Loading

web/index.html

+11-21
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@
22
<html lang="pl">
33

44
<head>
5-
<!-- Global site tag (gtag.js) - Google Analytics -->
6-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-153528940-1"></script>
7-
<script>
8-
window.dataLayer = window.dataLayer || [];
9-
10-
function gtag() {
11-
dataLayer.push(arguments);
12-
}
13-
gtag('js', new Date());
14-
15-
gtag('config', 'UA-153528940-1');
16-
</script>
175

186
<meta charset='utf-8' />
197
<title>Budynki OpenStreetMap</title>
@@ -357,20 +345,22 @@ <h5>Warstwy:</h5>
357345
<div id='map'></div>
358346
</div>
359347

360-
<!-- START Bootstrap-Cookie-Alert -->
361-
<!-- thanks to https://github.com/Wruczek/Bootstrap-Cookie-Alert -->
362-
<div class="alert text-center cookiealert" role="alert">
363-
&#x1F36A; Używamy cookies żeby monitorować popularność strony.
364-
<a href="https://cookiesandyou.com/" target="_blank" rel="noopener">Czym są cookies?</a>
365-
<button type="button" class="btn btn-primary btn-sm acceptcookies" aria-label="Close">
366-
OK
348+
<script>
349+
const closeBottomAlert = () => {
350+
$("#bottomAlert")[0].classList.remove("show")
351+
}
352+
</script>
353+
<div id="bottomAlert" class="alert text-center cookiealert show" role="alert">
354+
<span>Hosting dzięki: </span>
355+
<a class="mx-1" href="https://cloudferro.com" rel="noreferrer" target="_blank" title="CloudFerro"><img style="max-height: 35px" alt="CloudFerro" src="./cloudferro_logo.png"></a>
356+
<button type="button" class="btn btn-primary btn-sm mx-1" aria-label="Close" onclick="closeBottomAlert()">
357+
Zamknij
367358
</button>
359+
<span>Strona nie jest rozwijana/naprawiana i wymaga przepisania od nowa.</span>
368360
</div>
369-
<!-- END Bootstrap-Cookie-Alert -->
370361

371362
<script src="/map.js"></script>
372363
<script src="/misc.js"></script>
373-
<script src="https://cdn.jsdelivr.net/gh/Wruczek/Bootstrap-Cookie-Alert@gh-pages/cookiealert.js"></script>
374364
</body>
375365

376366
</html>

0 commit comments

Comments
 (0)