fradrive/templates/course.hamlet
2018-04-15 00:01:52 +02:00

52 lines
1.5 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}
<div .container>
<div class="tab-group">
<div class="tab" data-tab-name="Übungsgruppen">
<div class="tab" data-tab-name="Übungsblätter">
<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
<div class="tab" data-tab-name="Klausuren">
<div class="tab" data-tab-name="Korrekturen">