forked from c3re/c3re-website
Merge branch 'master' of ssh://git.c3re.de:2222/c3re/c3re-website
commit
2109fddeac
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 **********/
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue