forked from Freifunk-Leipzig/landingpage
set Statistik
This commit is contained in:
parent
751ef6180a
commit
d17c704153
|
@ -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
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
---
|
||||
title: "Stats"
|
||||
date: 2021-04-15T23:20:28+02:00
|
||||
style: single
|
||||
draft: true
|
||||
---
|
||||
# Stats content
|
||||
type: "stats"
|
||||
---
|
|
@ -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>
|
Loading…
Reference in New Issue