Skip to content
Snippets Groups Projects
Verified Commit e2fc0867 authored by Jakob Moser's avatar Jakob Moser
Browse files

Draft agenda component

parent 549c5c4c
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,27 @@ a.detail:hover {
color: white;
}
.agenda > section {
padding: 1em;
}
.agenda h2 {
margin-top: 0;
}
.agenda ol {
padding-left: 1.5em;
margin: 0;
}
.agenda .edit p {
margin: 0;
}
.agenda .edit {
border-top: 1px solid gray;
}
@media (max-width: 1670px) {
.tools.col-7 {
grid-template-columns: repeat(6, min-content);
......
export const Agenda = {
view(vnode) {
return m(
"section.agenda.box",
m("section.content", [
m("h2", "Tagesordnung"),
m(
"ol",
vnode.attrs.items.map(item => m("li", item)),
),
]),
m("section.edit", [
m("p", [
"Bearbeiten im ",
m("i.fa-solid.fa-list-check"),
" ",
m(
"a",
{
href: "https://fachschaft.cl.uni-heidelberg.de/todo",
target: "_blank",
},
[, "Todo-Tool"],
),
]),
]),
)
},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment