CMS-Statistikseite (schließt #195)

This commit is contained in:
Denys Konovalov 2023-04-03 14:37:04 +02:00
parent f91f75333a
commit ec28200c10

@ -28,28 +28,7 @@
</script>
<script id="status-seite">
const StatusPage = () => {
return h('div', {className: "row"},
h('div', {className: "column"},
h('h2', {}, "Build-Status"),
h('div', {className: "row"},
"Produktivumgebung: ",
h('a', {href: "https://drone.cantorgymnasium.de/gcg/gcg-website", target: "_blank"}, h('img', {src: "https://drone.cantorgymnasium.de/api/badges/gcg/gcg-website/status.svg"})),
h('div', {className: "row"},
"Entwicklungsumgebung: ",
h('a', {href: "https://drone.cantorgymnasium.de/cantortechnik/gcg-website", target: "_blank"}, h('img', {src: "https://drone.cantorgymnasium.de/api/badges/cantortechnik/gcg-website/status.svg"}))
))),
h('div', {className: "column"},
h('h2', {}, "Verfügbarkeit"),
h('div', {className: "row"},
"cantorgymnasium.de: ",
h('a', {href: "https://cantorgymnasium.de/", target: "_blank"}, h('img', {src: "https://status.cantorgymnasium.de/api/badge/16/status?upLabel=online&downLabel=offline&style=for-the-badge"})),
h('div', {className: "row"},
"test.cantorgymnasium.de: ",
h('a', {href: "https://test.cantorgymnasium.de/", target: "_blank"}, h('img', {src: "https://status.cantorgymnasium.de/api/badge/25/status?upLabel=online&downLabel=offline&style=for-the-badge"})),
h('div', {className: "row"},
"dev.cantorgymnasium.de: ",
h('a', {href: "https://dev.cantorgymnasium.de/", target: "_blank"}, h('img', {src: "https://status.cantorgymnasium.de/api/badge/31/status?upLabel=online&downLabel=offline&style=for-the-badge"}))
)))));
return h("iframe", {src: "https://grafana.cantorgymnasium.de/d/ni-7T-J4z/status?orgId=2&refresh=5s&kiosk", width: "100%", height: "100%"});
};
</script>
<script id="links">