fradrive/templates/course.hamlet
2018-04-14 23:31:18 +02:00

55 lines
1.3 KiB
Plaintext

<div .container>
<h2>#{courseName course}
$maybe school <- schoolMB
<h4>#{schoolName school}
$maybe descr <- courseDescription course
<h3 #description>Beschreibung
<p> #{descr}
$maybe link <- courseLinkExternal course
<h3 #linl>Homepage
<a href=#{link}>#{link}
<div .container>
<h3>Übersicht
<table>
<tr>
<th>Teilnehmer
<td>
#{participants}
$maybe capacity <- courseCapacity course
\ von #{capacity}
<tr>
<th>Anmeldezeitraum
<td>
$maybe regFrom <- courseRegisterFrom course
#{formatTimeGerWD regFrom}
$maybe regTo <- courseRegisterTo course
\ bis #{formatTimeGerWD regTo}
<form method=post action=@{CourseR tid csh CourseShowR} enctype=#{regEnctype}>
^{regWidget}
$# TODO: maybe übungsblätter
<div .container>
<h3>Übungsblätter
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Blatt
<th>Abgabe ab
<th>Abgabe bis
<th>Bewertung</th>
<tbody>
<tr>
<td>
<a class="btn btn-link" href="http://localhost:3000/course/S2018/ffp/ex/Blatt%201/show" role="button">Blatt 1
<td>Do 11.04.18
<td>Do 11.04.18
<td>NotGraded
$# TODO: maybe klausuren
<div .container>
<h3>Klausuren
<span>...
$# ...