Files
monpas/application/views/monpas/pages/scoreomschrijving.php
T
2021-07-10 16:25:16 +02:00

54 lines
2.2 KiB
PHP

<div class="col-xs-12 mainpagina submenupage" id ="pagScores">
<div class="col-xs-3">
</div>
<div class="col-xs-7 " style="margin-left: 20px;">
<h4 style="margin-top: 40px"> Maak score omschrijving</h4>
<select
data-bind=" options : scoretypes,
optionsText : 'omschrijving',
value : selectedType,
optionsCaption : 'selecteer scoretype',
event : {change: fChangeScoretype}">
</select>
<!-- ko if: selectedType() -->
<div style="margin-top: 50px; ">
<table class="ls_table" style="border: 1px solid #6F0B3D; width: 100%">
<thead>
<tr>
<th style="width: 25%; border-right: 1px solid #6F0B3D; padding: 3px; ">scoreoptie
</th>
<th style="width: 75%; border-right: 1px solid #6F0B3D; padding: 3px; "><span>omschrijving</span>
<span class="fa fa-edit" data-bind="visible: editok() == false, click: fEditOmschrijving"> </span>
<span class="fa fa-file-text" data-bind="visible: editok() == true, click: fEditOmschrijving"> </span>
</th>
</tr>
</thead>
<tbody data-bind="foreach: selectedType().opties()">
<tr style="border-bottom: 1px solid #6F0B3D;">
<td style="border-right: 1px solid #6F0B3D; padding: 3px; vertical-align: text-top"
data-bind="text: optie">
</td>
<td style=" padding: 3px;" >
<!-- ko if: $parent.editok() == false -->
<span data-bind="text: scoretekst()" > </span>
<!-- /ko -->
<!-- ko if: $parent.editok() == true -->
<textarea style="width: 100%; border: none" rows="2"
data-bind="textInput: scoretekst, event: {input: $parent.fSaveEdit}" > </textarea>
<!-- /ko -->
</td>
</tr>
</tbody>
</table>
</div>
<!-- /ko -->
</div>
</div>