change embed gluon meshviewer

This commit is contained in:
DrBroiler 2021-02-11 01:56:23 +01:00
parent 9fdfaaf43c
commit 2eab45586e
11 changed files with 85 additions and 40 deletions

View File

@ -10,13 +10,13 @@ disqusShortname = ""
[[menu.map]]
identifier = "Meshviewer"
name = "Meshviewer"
url = "http://karte.leipzig.freifunk.net:8018/meshviewer2/build/"
url = "map"
weight = 10
[[menu.firmware]]
identifier = "Firmware"
name = "Gluon"
url = "https://images.freifunk-leipzig.de/"
url = "gluon/"
weight = 10
[[menu.kontakt]]
@ -34,7 +34,6 @@ disqusShortname = ""
#[communtiy]
# url_map_meshviewer = "http://karte.leipzig.freifunk.net:8018/meshviewer2/build/#!/de/map"
[params]
description = "Another fine responsive site template freebie by HTML5 UP."
images = ["images/pic01.jpg"]

3
content/calendar.md Normal file
View File

@ -0,0 +1,3 @@
---
type: "calendar"
---

View File

@ -1,11 +0,0 @@
---
Title: "Contact Us"
description: "Tell us what you think about our little operation."
date: "2019-02-06T00:00:00"
tags: ["tag1","tag2"]
## Size param refers to the css class for the <section> tag
## Opions are: xsmall, small, medium, large, xlarge, max
## Default is 'auto'
size: "medium"
---
{{< form-contact >}}

View File

@ -1,24 +0,0 @@
---
Title: "This Is A Generic Page"
description: "A generic page for every non-generic situation."
date: "2019-02-06T00:00:00"
image: 'images/pic01.jpg'
tags: ["tag1","tag2"]
---
### This is a subheading
Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur sapien risus, commodo eget turpis at, elementum convallis enim turpis, lorem ipsum dolor sit amet nullam.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus. Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum.
{{< subheadings >}}
{{< subheader >}}
### And now a subheading
Adipiscing faucibus nunc placerat. Tempus adipiscing turpis non blandit accumsan eget lacinia nunc integer interdum amet aliquam ut orci non col ut ut praesent. Semper amet interdum mi. Phasellus enim laoreet ac ac commodo faucibus faucibus. Curae lorem ipsum adipiscing ac. Vivamus ornare laoreet odio vis praesent.
{{< /subheader >}}
{{< subheader >}}
### And another subheading
Adipiscing faucibus nunc placerat. Tempus adipiscing turpis non blandit accumsan eget lacinia nunc integer interdum amet aliquam ut orci non col ut ut praesent. Semper amet interdum mi. Phasellus enim laoreet ac ac commodo faucibus faucibus. Curae lorem ipsum adipiscing ac. Vivamus ornare laoreet odio vis praesent.
{{< /subheader >}}
{{< /subheadings >}}

3
content/gluon.md Normal file
View File

@ -0,0 +1,3 @@
---
type: gluon
---

3
content/map.md Normal file
View File

@ -0,0 +1,3 @@
---
type: "meshviewer"
---

View File

@ -6,4 +6,4 @@ button_news:
button_calendar:
enable: true
title: "Kalender"
link: "/"
link: "https://next.dezentrale.cloud/nextcloud/apps/calendar/p/fMxrf4srxN65TpcW/dayGridMonth/now"

View File

@ -8,7 +8,7 @@ banner:
link: "#"
class: "primary"
- title: "Chatte mit der Community"
link: "#"
link: "https://matrix.to/#/#freifunk:chat.dezentrale.space"
### Highlight ###
highlight:

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://dezentrale.space/kalender/" + window.location.hash);
}
});
</script>
<iframe src="https://dezentrale.space/kalender/"
width="100%" style="display:block; height: calc(100vh - 3.25em);width: 100%;">
</iframe>
</div>
{{- partial "scripts.html" . -}}
</body>
</html>

24
layouts/gluon/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://images.freifunk-leipzig.de/" + window.location.hash);
}
});
</script>
<iframe src="https://images.freifunk-leipzig.de/"
width="100%" style="display:block; height: calc(100vh - 3.25em);width: 100%;">
</iframe>
</div>
{{- partial "scripts.html" . -}}
</body>
</html>

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",
"http://karte.leipzig.freifunk.net:8018/meshviewer2/build/" + window.location.hash);
}
});
</script>
<iframe src="http://karte.leipzig.freifunk.net:8018/meshviewer2/build/"
width="100%" style="display:block; height: calc(100vh - 3.25em);width: 100%;">
</iframe>
</div>
{{- partial "scripts.html" . -}}
</body>
</html>