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; $full-height: 1080px;
$color-bg: rgb(54, 54, 54); $color-bg: rgb(0, 20, 10);
// $color-bg: rgb(20, 29, 36); // $color-bg: rgb(20, 29, 36);
$color-bg-medium: rgb(74, 74, 74); $color-bg-medium: rgb(7, 7, 74);
$color-bg-light: rgb(153, 153, 153);
$color-title: rgb(33, 56, 71);
$color-speaker: rgb(250, 177, 97); $color-speaker: rgb(250, 177, 97);
$color-talk: rgb(90, 159, 212); $color-talk: rgb(90, 159, 212);
@ -15,4 +12,3 @@ $color-talk: rgb(90, 159, 212);
$color-warm-white: rgb(255, 252, 234); $color-warm-white: rgb(255, 252, 234);
$color-orange-strong: rgb(247, 107, 28); $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: 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] [model]
name = Page name = root
label = {{ this.title }} label = {{ this.title }}
[fields.title] [fields.title]

View file

@ -1,8 +1,8 @@
(() => { (() => {
// ns-params:@params // ns-params:@params
var scheduleFetchInterval = 60; var scheduleFetchInterval = 60;
var scheduleURL = "/sps22/info/schedule.json"; var scheduleURL = "/schedule.json";
var workerBaseURL = "/sps22/info/js/custom/core/"; var workerBaseURL = "/js/custom/core/";
// <stdin> // <stdin>
window.informationProjectorConfig = /* @__PURE__ */ new Map(); 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"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<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/schedule.css'|asseturl }}" rel="stylesheet" type="text/css">
<script href="/config.js"></script> <script href="/config.js"></script>
</head> </head>
<body> <body>
<h1 class="header">{{ this.title }}</h1> <img class="header" src="https://files.chvoc.ch/sps22/info//header.png" />
<div class="content"> <main id="main">
{{ this.body }}
<ul> </main>
<li class="infopointitem"> <div id="clock"></div>
<span class="fa fa-hand-o-right bullet"></span><b>Schedule:</b><a class="infopoint" href="/schedule/">/schedule/</a>
</li>
</ul>
</div>
<script src="{{ '/js/luxon/luxon.min.js' | asseturl }}"></script> <script src="{{ '/js/luxon/luxon.min.js' | asseturl }}"></script>
<script src="{{ '/js/preact/preact.min.js' | asseturl }}"></script> <script src="{{ '/js/preact/preact.min.js' | asseturl }}"></script>
<script src="{{ '/js/htm/htm.js' | asseturl }}"></script> <script src="{{ '/js/htm/htm.js' | asseturl }}"></script>
<script src="{{ '/rendered_schedule.js' | asseturl }}"></script>
</body> </body>
</html> </html>

View file

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