diff --git a/README.md b/README.md index 418bcdf..1c4482b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ pip install lektor Run lektor: ```bash source lektor/bin/activate -lektor server -f scss +lektor server ``` esbuild instructions diff --git a/assets/js/custom/core/time.js b/assets/js/custom/core/time.js index f492a5d..6a31213 100644 --- a/assets/js/custom/core/time.js +++ b/assets/js/custom/core/time.js @@ -1,9 +1,9 @@ 'use strict'; // Fake 'now' date time for testing -const fakeNow = null; +// const fakeNow = null; -// const fakeNow = Date.parse("2023-11-04T13:10:00"); +const fakeNow = Date.parse("2023-11-04T13:10:00"); const fakeTimeDelta = fakeNow === null ? 0 : fakeNow - Date.now(); diff --git a/assets/rendered_schedule-vortragsraum.js b/assets/rendered_schedule-vortragsraum.js index 3df7ac6..411616e 100644 --- a/assets/rendered_schedule-vortragsraum.js +++ b/assets/rendered_schedule-vortragsraum.js @@ -45,7 +45,7 @@ __export(time_exports, { now: () => now }); - var fakeNow = null; + var fakeNow = Date.parse("2023-11-04T13:10:00"); var fakeTimeDelta = fakeNow === null ? 0 : fakeNow - Date.now(); var nowJS = () => Date.now() + fakeTimeDelta; var now = () => luxon.DateTime.fromMillis(nowJS()); diff --git a/assets/rendered_schedule.js b/assets/rendered_schedule.js index bdeb667..b13a871 100644 --- a/assets/rendered_schedule.js +++ b/assets/rendered_schedule.js @@ -45,7 +45,7 @@ __export(time_exports, { now: () => now }); - var fakeNow = null; + var fakeNow = Date.parse("2023-11-04T13:10:00"); var fakeTimeDelta = fakeNow === null ? 0 : fakeNow - Date.now(); var nowJS = () => Date.now() + fakeTimeDelta; var now = () => luxon.DateTime.fromMillis(nowJS()); diff --git a/assets/rendered_speaker-info-vortragsraum.js b/assets/rendered_speaker-info-vortragsraum.js index 18e9849..64b7ff3 100644 --- a/assets/rendered_speaker-info-vortragsraum.js +++ b/assets/rendered_speaker-info-vortragsraum.js @@ -45,7 +45,7 @@ __export(time_exports, { now: () => now }); - var fakeNow = null; + var fakeNow = Date.parse("2023-11-04T13:10:00"); var fakeTimeDelta = fakeNow === null ? 0 : fakeNow - Date.now(); var nowJS = () => Date.now() + fakeTimeDelta; var now = () => luxon.DateTime.fromMillis(nowJS()); diff --git a/configs/scss.ini b/configs/scss.ini new file mode 100644 index 0000000..ea2ea27 --- /dev/null +++ b/configs/scss.ini @@ -0,0 +1 @@ +use_compile_flag=false diff --git a/content/contents.lr b/content/contents.lr index 18df116..2bfa5f9 100644 --- a/content/contents.lr +++ b/content/contents.lr @@ -7,5 +7,7 @@ body: Hier findet ihr mehrere Endpunkte des HTML5 Info-Beamer. Der Infobeamer ist Optimiert auf eine Auflösung von ``1920x1080px`` zum Beispiel zum Einfügen im OBS als BrowserSource. +Achtung, aktuell läuft der HTML5 Info-Beamer mit einer "Faketime", die angezeigte Uhrzeit und Datum ist also falsch. + Quelle: [git.l3d.ch](https://git.l3d.ch/voc/html5-infobeamer-aalen-geekend-23.git). *Lizenz: [MIT](https://git.l3d.ch/voc/html5-infobeamer-aalen-geekend-23/raw/branch/main/LICENSE)* diff --git a/voc-info.lektorproject b/voc-info.lektorproject index 7379aa3..6f72f63 100644 --- a/voc-info.lektorproject +++ b/voc-info.lektorproject @@ -18,4 +18,4 @@ primary = yes locale = de_DE [packages] -lektor-scss = 1.4.2 +lektor-scss = 1.5.0