6
0
Fork 0

Merge branch 'master' of ssh://git.c3re.de:2222/c3re/c3re-website

master
Goldwaage 2024-02-12 20:38:45 +01:00
commit 2109fddeac
4 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<div class="side-calendar">
<h2>Termine</h2>
<ul id="calendar">
<ul id="calendar" class="loading">
<br>
<a href="https://cloud.c3re.de/apps/calendar/p/RLKKkdjNYgXH8yEz/dayGridMonth/now">Zum Kalender</a>
<br>

View File

@ -13,6 +13,9 @@
<a class="icon" href="https://chaos.social/@c3re"><img alt="Mastodon" src="/img/mastodon.png" /></a>
<a class="icon" href="https://github.com/orgs/c3re"><img alt="Github" src="/img/github.png" /></a>
</li>
<li>
<a href="/kontakt/#anreise">Anreise</a>
</li>
</ul>
</div>

View File

@ -215,12 +215,17 @@ a.external:after {
margin-bottom: 0;
}
#calendar.loading{
height: 100em;
}
#calendar .row {
display: block;
}
#calendar .location{
margin-left: 0.25em;
cursor: pointer;
}
/********** set up break point **********/

View File

@ -13,6 +13,8 @@ document.addEventListener("DOMContentLoaded", function () {
let cal = JSON.parse(xmlHttp.responseText);
let $ = jQuery;
let box = $("#calendar");
box.removeClass("loading");
for (let item of cal) {
let li = $("<li/>");
//li.text(item.summary)