58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
<div .container>
|
|
<div .scrolltable>
|
|
<table .table.table--striped.table--hover.table--vertical>
|
|
$maybe school <- schoolMB
|
|
<tr .table__row>
|
|
<th #school .table__th>Fakultät/Institut
|
|
<td .table__td>
|
|
<div.table__td-content>
|
|
#{schoolName school}
|
|
$maybe descr <- courseDescription course
|
|
<tr .table__row>
|
|
<th #description .table__th>Beschreibung
|
|
<td .table__td>
|
|
<div.table__td-content>
|
|
#{descr}
|
|
$maybe link <- courseLinkExternal course
|
|
<tr .table__row>
|
|
<th #website .table__th>Website
|
|
<td .table__td>
|
|
<div.table__td-content>
|
|
<a href=#{link} target="_blank" rel="noopener" title="Website des Kurses">#{link}
|
|
<tr .table__row>
|
|
<th #participants .table__th>Teilnehmer
|
|
<td .table__td>
|
|
<div.table__td-content>
|
|
#{participants}
|
|
$maybe capacity <- courseCapacity course
|
|
\ von #{capacity}
|
|
$maybe regFrom <- courseRegisterFrom course
|
|
<tr .table__row>
|
|
<th #registration .table__th>Anmeldezeitraum
|
|
<td .table__td>
|
|
<div.table__td-content>
|
|
Ab #{formatTimeGerWD regFrom}
|
|
$maybe regTo <- courseRegisterTo course
|
|
\ bis #{formatTimeGerWD regTo}
|
|
$if registrationOpen
|
|
<tr .table__row>
|
|
<th .table__th>
|
|
<td .table__td>
|
|
<div .table__td-content.course__registration.container>
|
|
<form method=post action=@{CourseR tid csh CRegisterR} enctype=#{regEnctype}>
|
|
$# regWidget is defined through templates/widgets/registerForm
|
|
^{regWidget}
|
|
|
|
$# <div .container>
|
|
$# <div .tab-group>
|
|
$# <div .tab data-tab-name="Übungsblätter">
|
|
$# ^{modal "#modal-toggler__new-sheet" Nothing}
|
|
$# <h3 .tab-title>Übungsblätter
|
|
$# <h1>TODO: Sortierbare Tabelle der bisherigen Übungsblätter
|
|
$# <div .tab data-tab-name="Übungsgruppen">
|
|
$# <h3 .tab-title>Übungsgruppen
|
|
$# <h1>TODO: Sortierbare Tabelle der Übungsgruppen
|
|
$# <div .tab data-tab-name="Klausuren">
|
|
$# <h3 .tab-title>Klausuren
|
|
$# <div>...
|