Adding Vortragsraum
This commit is contained in:
parent
8f3991d8e7
commit
4e04731ebd
4 changed files with 6077 additions and 2 deletions
49
assets/js/custom/nodes/schedule-vortragsraum.js
Normal file
49
assets/js/custom/nodes/schedule-vortragsraum.js
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
import * as fe from "../core/fetcher.js";
|
||||||
|
|
||||||
|
import * as ti from "../core/time.js";
|
||||||
|
|
||||||
|
import * as sc from "../core/screen.js";
|
||||||
|
|
||||||
|
// Import services
|
||||||
|
import * as serv from "../services/general.js";
|
||||||
|
|
||||||
|
// Import views
|
||||||
|
import * as dom from "../dom/schedule.js";
|
||||||
|
import * as clk from "../dom/clock.js";
|
||||||
|
|
||||||
|
|
||||||
|
// Empty JSON lists for data
|
||||||
|
let storage = {
|
||||||
|
scheduleData: undefined
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
let do_fetch = fe.configure({}, serv);
|
||||||
|
|
||||||
|
do_fetch(storage);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Main Loop
|
||||||
|
let screen_update = sc.configure(serv, dom);
|
||||||
|
let clock_update = sc.configure(serv, clk);
|
||||||
|
|
||||||
|
|
||||||
|
let cfg = {
|
||||||
|
"roomName": "Vortragsraum",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// Just do it
|
||||||
|
function main_loop() {
|
||||||
|
screen_update(storage, ti, cfg);
|
||||||
|
clock_update(storage, ti, cfg);
|
||||||
|
// update_screen();
|
||||||
|
// setTimeout(main_loop, 1 * 1000);
|
||||||
|
setTimeout(main_loop, 1 * 50);
|
||||||
|
};
|
||||||
|
|
||||||
|
main_loop();
|
6026
assets/rendered_schedule-vortragsraum.js
Normal file
6026
assets/rendered_schedule-vortragsraum.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@
|
||||||
<title>{{ this.title }}</title>
|
<title>{{ this.title }}</title>
|
||||||
<link href="{{ '/static/fork-awesome/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet" type="text/css">
|
<link href="{{ '/static/fork-awesome/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||||
<link rel="stylesheet" href="{{ '/css/schedule.css'|asseturl }}" rel="stylesheet" type="text/css">
|
<link rel="stylesheet" href="{{ '/css/schedule.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||||
<script href="/config.js"></script>
|
<script src="/config.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img class="header" src="https://files.chvoc.ch/sps22/info//header.png" />
|
<img class="header" src="https://files.chvoc.ch/sps22/info//header.png" />
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<title>{{ this.title }}</title>
|
<title>{{ this.title }}</title>
|
||||||
<link href="{{ '/static/fork-awesome/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet" type="text/css">
|
<link href="{{ '/static/fork-awesome/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||||
<link rel="stylesheet" href="{{ '/css/root_index.css'|asseturl }}" rel="stylesheet" type="text/css">
|
<link rel="stylesheet" href="{{ '/css/root_index.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||||
<script href="/config.js"></script>
|
<script src="/config.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 class="header">{{ this.title }}</h1>
|
<h1 class="header">{{ this.title }}</h1>
|
||||||
|
|
Loading…
Reference in a new issue