fradrive/templates/submission.hamlet
2017-10-11 22:47:26 +02:00

39 lines
1.1 KiB
Plaintext

<pre style="display:none">
#{tshow submissionID}
#{tshow submission}
<table .table .table-striped>
$maybe ratingTime' <- ratingTime
<tr>
<td>Bewertet
<td>#{tshow ratingTime'}
$maybe points <- ratingPoints
<tr>
<td>Punkte
<td>#{tshow points}
$maybe comment <- ratingComment
<tr>
<td>Kommentar
<td>
<pre style="margin-bottom:0">#{comment}
$nothing
<tr>
<td colspan="2">Noch nicht bewertet
<div .container-fluid>
<div .row>
<div .col-md-6 .text-center style="margin-bottom:21px">
<a href=@{SubmissionDownloadArchiveR archiveName} download .btn .btn-lg .btn-default>
<span .glyphicon .glyphicon-cloud-download aria-hidden="true"> ZIP-Archive
<div .col-md-6 .panel .panel-default>
<div .panel-body>
Upload goes here…
<div .list-group>
$forall (Entity _ file, Entity _ sFile) <- files
<a href=@{SubmissionDownloadSingleR cID $ fileTitle file} download .list-group-item>
#{fileTitle file}
$if submissionFileIsUpdate sFile
<span .badge>Korrigiert