set Statistik

This commit is contained in:
DrBroiler 2021-06-28 22:41:41 +02:00
parent 751ef6180a
commit d17c704153
3 changed files with 30 additions and 11 deletions

View File

@ -96,11 +96,10 @@ menu:
name: Meshkit und Gluon
url: /meshkit/
weight: 42
- identifier: hopglass
parent: map
name: HopGlass
url: /map/
weight: 43
# - identifier: hopglass
# parent: map
# name: HopGlass
# url: /map/
- identifier: statistic
parent: map
name: Statistik

View File

@ -1,7 +1,3 @@
---
title: "Stats"
date: 2021-04-15T23:20:28+02:00
style: single
draft: true
---
# Stats content
type: "stats"
---

24
layouts/stats/baseof.html Normal file
View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
{{- partial "head.html" . -}}
</head>
<body class="is-preload">
<div id="page-wrapper">
{{- partial "header.html" . -}}
<script type="text/javascript">
$(document).ready(function() {
if(window.location.hash) {
$("iframe").attr("src",
"https://stats.freifunk-leipzig.de/d/9mT4Bukmk/globale-statistiken?orgId=1" + window.location.hash);
}
});
</script>
<iframe src="https://stats.freifunk-leipzig.de/d/9mT4Bukmk/globale-statistiken?orgId=1"
width="100%" style="display:block; height: calc(100vh - 3.25em);width: 100%;">
</iframe>
</div>
{{- partial "scripts.html" . -}}
</body>
</html>