Adding Music Notice
This commit is contained in:
parent
b3872e0149
commit
82c28e2d04
5 changed files with 89 additions and 10 deletions
|
@ -1,14 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
|
||||
|
||||
|
||||
let configure = () => undefined;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
export {
|
||||
configure
|
||||
}
|
||||
|
|
|
@ -2,3 +2,35 @@
|
|||
|
||||
@import "../styles/_schedule";
|
||||
@import "../styles/_clock";
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
left: 65px;
|
||||
top: 1020px;
|
||||
width: 1790px;
|
||||
}
|
||||
.music-info {
|
||||
font-family: lato;
|
||||
font-weight: 400;
|
||||
font-size: 22px;
|
||||
}
|
||||
.music-track {
|
||||
padding-left: .5em;
|
||||
padding-right: .5em;
|
||||
font-style: italic;
|
||||
}
|
||||
.music-artist {
|
||||
padding-left: .5em;
|
||||
padding-right: 3em;
|
||||
font-weight: 700;
|
||||
}
|
||||
.music-licence {
|
||||
padding-left: .5em;
|
||||
padding-right: 3em;
|
||||
}
|
||||
.music-link {
|
||||
padding-left: .5em;
|
||||
font-family: source code pro;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
|
|
@ -5,3 +5,13 @@ title: Vortragsraum Schedule Aalen Geekend 23
|
|||
body: Der HTML5 InfoBeamer des Vortragsraum
|
||||
---
|
||||
schedule: rendered_schedule-vortragsraum.js
|
||||
---
|
||||
type: infobeamer-with-music
|
||||
---
|
||||
music_artist: Daniel (C418)
|
||||
---
|
||||
music_title:
|
||||
|
||||
Minecraft - Volume Alpha
|
||||
---
|
||||
music_url: https://c418.org/
|
||||
|
|
|
@ -13,10 +13,30 @@ type = string
|
|||
[fields.type]
|
||||
label = Select Page Type
|
||||
type = select
|
||||
choices = infobeamer, bauchbinde
|
||||
choices = infobeamer, infobeamer-with-music, bauchbinde
|
||||
default = infobeamer
|
||||
|
||||
[fields.schedule]
|
||||
label = Schedule Javascript Address
|
||||
type = string
|
||||
default = rendered_schedule.js
|
||||
|
||||
[fields.music_title]
|
||||
label = Music Title
|
||||
type = string
|
||||
width = 1/2
|
||||
|
||||
[fields.music_artist]
|
||||
label = Music Artist
|
||||
type = string
|
||||
width = 1/2
|
||||
|
||||
[fields.music_licence]
|
||||
label = Music License
|
||||
type = string
|
||||
width = 1/2
|
||||
|
||||
[fields.music_url]
|
||||
label = Music Source
|
||||
type = string
|
||||
width = 1/2
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
|
||||
<meta name="author" content="L3D">
|
||||
<link href="{{ '/static/fork-awesome/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||
{% if this.type == 'infobeamer' %}
|
||||
{% if this.type == 'infobeamer' or this.type == 'infobeamer-with-music' %}
|
||||
<link rel="stylesheet" href="{{ '/css/schedule.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||
{% elif this.type == 'bauchbinde' %}
|
||||
<link rel="stylesheet" href="{{ '/css/speaker-info.css'|asseturl }}" rel="stylesheet" type="text/css">
|
||||
|
@ -22,13 +22,37 @@
|
|||
<script src="/config.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
{% if this.type == 'infobeamer' %}
|
||||
{% if this.type == 'infobeamer' or this.type == 'infobeamer-with-music' %}
|
||||
<img class="header" src="{{ '/images/geekend_23.svg' | asseturl }}" />
|
||||
{% endif %}
|
||||
<main id="main">
|
||||
|
||||
</main>
|
||||
<div id="clock"></div>
|
||||
{% if this.type == 'infobeamer-with-music' %}
|
||||
<footer class="music-info">
|
||||
{% if this.music_title is defined %}
|
||||
Musik:
|
||||
<span class="music-track">{{ this.music_title }}</span>
|
||||
{% endif %}
|
||||
{% if this.music_artist is defined %}
|
||||
von
|
||||
<span class="music-artist">{{ this.music_artist }}</span>
|
||||
{% endif %}
|
||||
{% if this.music_licence is defined %}
|
||||
Lizenz:
|
||||
<span class="music-licence">
|
||||
{{ this.music_licence }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if this.music_url is defined %}
|
||||
Link:
|
||||
<span class="music-link">
|
||||
{{ this.music_url }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</footer>
|
||||
{% endif %}
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue