dirty migration v1

This commit is contained in:
L3D 2023-11-01 02:49:29 +01:00
parent eccf6cb4bc
commit 40a04c631a
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
12 changed files with 6085 additions and 63 deletions

6027
assets/rendered_schedule.js Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,12 +2,9 @@ $full-width: 1920px;
$full-height: 1080px;
$color-bg: rgb(54, 54, 54);
$color-bg: rgb(0, 20, 10);
// $color-bg: rgb(20, 29, 36);
$color-bg-medium: rgb(74, 74, 74);
$color-bg-light: rgb(153, 153, 153);
$color-title: rgb(33, 56, 71);
$color-bg-medium: rgb(7, 7, 74);
$color-speaker: rgb(250, 177, 97);
$color-talk: rgb(90, 159, 212);
@ -15,4 +12,3 @@ $color-talk: rgb(90, 159, 212);
$color-warm-white: rgb(255, 252, 234);
$color-orange-strong: rgb(247, 107, 28);
$color-blue-strong: rgb(48, 105, 152);

View file

@ -1,7 +0,0 @@
title: About this Website
---
body:
This is a website that was made with the Lektor quickstart.
And it does not contain a lot of information.

View file

@ -1,4 +1,6 @@
title: VOC Info Aalen Geekend
_model: root
---
title: VOC Info Aalen
---
body:

View file

@ -1,9 +0,0 @@
title: Projects
---
body:
This is a list of the projects:
* Project 1
* Project 2
* Project 3

View file

@ -0,0 +1,8 @@
_model: html5infobeamer
---
title: Overview Schedule Aalen
---
body:
This is a basic demo website that shows how to use Lektor for a basic
website with some pages.

View file

@ -0,0 +1,11 @@
[model]
name = html5infobeamer
label = {{ this.title }}
[fields.title]
label = Title
type = string
[fields.body]
label = Body
type = markdown

View file

@ -1,5 +1,5 @@
[model]
name = Page
name = root
label = {{ this.title }}
[fields.title]

View file

@ -1,8 +1,8 @@
(() => {
// ns-params:@params
var scheduleFetchInterval = 60;
var scheduleURL = "/sps22/info/schedule.json";
var workerBaseURL = "/sps22/info/js/custom/core/";
var scheduleURL = "/schedule.json";
var workerBaseURL = "/js/custom/core/";
// <stdin>
window.informationProjectorConfig = /* @__PURE__ */ new Map();

View file

@ -5,21 +5,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ this.title }}</title>
<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/schedule.css'|asseturl }}" rel="stylesheet" type="text/css">
<script href="/config.js"></script>
</head>
<body>
<h1 class="header">{{ this.title }}</h1>
<div class="content">
{{ this.body }}
<ul>
<li class="infopointitem">
<span class="fa fa-hand-o-right bullet"></span><b>Schedule:</b><a class="infopoint" href="/schedule/">/schedule/</a>
</li>
</ul>
</div>
<img class="header" src="https://files.chvoc.ch/sps22/info//header.png" />
<main id="main">
</main>
<div id="clock"></div>
<script src="{{ '/js/luxon/luxon.min.js' | asseturl }}"></script>
<script src="{{ '/js/preact/preact.min.js' | asseturl }}"></script>
<script src="{{ '/js/htm/htm.js' | asseturl }}"></script>
<script src="{{ '/rendered_schedule.js' | asseturl }}"></script>
</body>
</html>

View file

@ -1,28 +1,25 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- <link rel="stylesheet" href="{{ '/static/style.css'|url }}"> -->
<title>{% block title %}Welcome{% endblock %} — voc-info</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ this.title }}</title>
<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">
<script href="/config.js"></script>
</head>
<body>
<header>
<h1>voc-info</h1>
<nav>
<ul class="nav navbar-nav">
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Welcome</a></li>
{% for href, title in [
['/projects', 'Projects'],
['/about', 'About']
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>
{% endfor %}
<h1 class="header">{{ this.title }}</h1>
<div class="content">
{{ this.body }}
<ul>
<li class="infopointitem">
<span class="fa fa-hand-o-right bullet"></span><b>InfoBeamer General:</b><a class="infopoint" href="/schedule/">/schedule/</a>
</li>
</ul>
</nav>
</header>
<div class="page content">
{% block body %}{% endblock %}
</div>
<footer>
&copy; Copyright 2023 by L3D.
</footer>
<script src="{{ '/js/luxon/luxon.min.js' | asseturl }}"></script>
<script src="{{ '/js/preact/preact.min.js' | asseturl }}"></script>
<script src="{{ '/js/htm/htm.js' | asseturl }}"></script>
</body>
</html>