fradrive/templates/widgets/massinput/examParts/layout.hamlet
2022-10-12 09:35:16 +02:00

37 lines
882 B
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
<table>
<thead>
<tr>
<th>
_{MsgExamPartNumber} #
<span .form-group__required-marker>
<th>_{MsgExamPartName}
<th>_{MsgExamPartMaxPoints}
<th>
_{MsgExamPartWeight} #
<span .form-group__required-marker>
<td>
<tr .form-group__hint>
<td>
_{MsgExamPartNumberTip}
<td>
_{MsgExamPartNameTip}
<td>
<td>
_{MsgExamPartWeightTip}
<td>
<tbody>
$forall coord <- review liveCoords lLength
<tr .massinput__cell>
^{cellWdgts ! coord}
<td>
^{fvWidget (delButtons ! coord)}
<tfoot>
<tr .massinput__cell.massinput__cell--add>
^{addWdgts ! (0, 0)}