30 lines
882 B
HTML
30 lines
882 B
HTML
<div
|
|
class="cte-events"
|
|
style="max-width: 800px; --cte-bg-color: transparent;"
|
|
data-cte-calendar-regex="Kalender"
|
|
data-cte-event-regex=""
|
|
data-cte-limit="5"
|
|
data-cte-days="365"
|
|
>
|
|
</div>
|
|
<script type="module">
|
|
const base_path = "/fileadmin";
|
|
const cal_path = base_path + "/cal";
|
|
const css1 = document.createElement("link");
|
|
css1.rel = "stylesheet";
|
|
css1.type = "text/css";
|
|
css1.href = cal_path + "/css/ct-events.css";
|
|
document.head.appendChild(css1);
|
|
const css2 = document.createElement("link");
|
|
css2.rel = "stylesheet";
|
|
css2.type = "text/css";
|
|
css2.href = cal_path + "/css/all.min.css"; // fontawesome
|
|
document.head.appendChild(css2);
|
|
import { load_all_events } from "/fileadmin/cal/js/ct-events.js";
|
|
await load_all_events({
|
|
instance: "https://example.krz.tools/",
|
|
default_image: base_path + "/img/logo.png",
|
|
// default_image_mobile: "...",
|
|
});
|
|
</script>
|