Loading portal/static/js/components/pages/Calendar.mjs 0 → 100644 +18 −0 Original line number Diff line number Diff line import { Base } from "./Base.mjs" export const Calendar = { oncreate() { document.title = "Kalender · FS Coli Portal" }, view() { return m(Base, [ m("section", [ m("iframe", { src: "https://cloud.stura.uni-heidelberg.de/index.php/apps/calendar/embed/HptQm9caKgi2kirx/dayGridMonth/now", style: {width: "90vw", height: "80vh", borderRadius: "20px", overflow: "hidden"}, frameborder: "0" }) ]), ]) }, } portal/static/js/components/pieces/Nav.mjs +7 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,13 @@ export const Nav = { label: "Uni-Dienste", }), ), m( "li", m(NavPageLink, { href: "/calendar", label: "Kalender", }), ), ]), ), m( Loading portal/static/js/portal.mjs +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ import { UniServices } from "./components/pages/UniServices.mjs" import { Tacos } from "./components/pages/Tacos.mjs" import { Unlock } from "./components/pages/Unlock.mjs" import { Fachschaftssitzung } from "./components/pages/Fachschaftssitzung.mjs" import { Calendar } from "./components/pages/Calendar.mjs" import { Login } from "./components/pages/Login.mjs" import { Me } from "./components/pages/Me.mjs" import "/static/lib/mithril/mithril.min.js" Loading @@ -23,6 +24,7 @@ m.route(document.body, "/", { "/unlock": Unlock, "/fachschaftssitzung": Fachschaftssitzung, "/tacos": Tacos, "/calendar": Calendar, "/login": Login, "/me": Me, }) Loading
portal/static/js/components/pages/Calendar.mjs 0 → 100644 +18 −0 Original line number Diff line number Diff line import { Base } from "./Base.mjs" export const Calendar = { oncreate() { document.title = "Kalender · FS Coli Portal" }, view() { return m(Base, [ m("section", [ m("iframe", { src: "https://cloud.stura.uni-heidelberg.de/index.php/apps/calendar/embed/HptQm9caKgi2kirx/dayGridMonth/now", style: {width: "90vw", height: "80vh", borderRadius: "20px", overflow: "hidden"}, frameborder: "0" }) ]), ]) }, }
portal/static/js/components/pieces/Nav.mjs +7 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,13 @@ export const Nav = { label: "Uni-Dienste", }), ), m( "li", m(NavPageLink, { href: "/calendar", label: "Kalender", }), ), ]), ), m( Loading
portal/static/js/portal.mjs +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ import { UniServices } from "./components/pages/UniServices.mjs" import { Tacos } from "./components/pages/Tacos.mjs" import { Unlock } from "./components/pages/Unlock.mjs" import { Fachschaftssitzung } from "./components/pages/Fachschaftssitzung.mjs" import { Calendar } from "./components/pages/Calendar.mjs" import { Login } from "./components/pages/Login.mjs" import { Me } from "./components/pages/Me.mjs" import "/static/lib/mithril/mithril.min.js" Loading @@ -23,6 +24,7 @@ m.route(document.body, "/", { "/unlock": Unlock, "/fachschaftssitzung": Fachschaftssitzung, "/tacos": Tacos, "/calendar": Calendar, "/login": Login, "/me": Me, })