From 771e92112684ad2c857306063f6bd1a4eccaa388 Mon Sep 17 00:00:00 2001 From: frankknoll Date: Sun, 20 Mar 2022 15:49:09 +0100 Subject: [PATCH] adding slider example --- docs/intensivstationen.html | 17 +++++++++++++++++ src/help.txt | 1 + 2 files changed, 18 insertions(+) diff --git a/docs/intensivstationen.html b/docs/intensivstationen.html index 4cbac867965..632bc4d7805 100644 --- a/docs/intensivstationen.html +++ b/docs/intensivstationen.html @@ -9,6 +9,12 @@ + + @@ -19,6 +25,16 @@ document.addEventListener( "DOMContentLoaded", event => { + const slider = document.getElementById('slider'); + noUiSlider.create(slider, { + start: [20, 80], + connect: true, + range: { + 'min': 0, + 'max': 100 + } + }); + slider.noUiSlider.on('update', values => console.log(values[0], ' - ', values[1])); const intensiveCareCapacitiesChartView = new IntensiveCareCapacitiesChartView(document.getElementById("intensiveCareCapacities")); const freeBedsChartView = new FreeBedsChartView(document.getElementById('freeBeds')); const kreisSelect = document.querySelector('#kreisSelect'); @@ -460,6 +476,7 @@

+

Datensatz:
diff --git a/src/help.txt b/src/help.txt index 196401773d1..1704b8aeea5 100644 --- a/src/help.txt +++ b/src/help.txt @@ -15,6 +15,7 @@ get VAERS data: - download data (e.g. 2022VAERSData.zip) from https://vaers.hhs.gov/data/datasets.html and save and unzip in VAERS folder FK-FIXME: +- Fcron funktioniert nicht, jobs werden im Nachhinein nicht ausgeführt, verwende Autocron statt Fcron FK-TODO: - Intensivstationen ergänzen durch Tabelle oder Barchart: