fradrive/templates/course.hamlet
2018-04-15 00:47:24 +02:00

61 lines
1.7 KiB
Plaintext

<div .container>
<h2>#{courseName course}
<table>
$maybe school <- schoolMB
<tr>
<th #school>Fakultät/Institut
<td>
#{schoolName school}
$maybe descr <- courseDescription course
<tr>
<th #description>Beschreibung
<td>
<p>#{descr}
$maybe link <- courseLinkExternal course
<tr>
<th #website>Website
<td>
<a href=#{link}>#{link}
<tr>
<th #participants>Teilnehmer
<td>
#{participants}
$maybe capacity <- courseCapacity course
\ von #{capacity}
<tr>
<th #registration>Anmeldezeitraum
<td>
$maybe regFrom <- courseRegisterFrom course
#{formatTimeGerWD regFrom}
$maybe regTo <- courseRegisterTo course
\ bis #{formatTimeGerWD regTo}
<a>Anmelden
$# <form method=post action=@{CourseR tid csh CourseShowR} enctype=#{regEnctype}>
$# ^{regWidget}
<div .container>
<div .tab-group>
<div .tab data-tab-name="Übungsblätter">
<h3 .tab-title>Übungsblätter (hardcoded table below)
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Blatt
<th>Abgabe ab
<th>Abgabe bis
<th>Bewertung</th>
<tbody>
<tr>
<td>
<a 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 .tab data-tab-name="Übungsgruppen">
<h3 .tab-title>Übungsgruppen
<div>...
<div .tab data-tab-name="Klausuren">
<h3 .tab-title>Klausuren
<div>...