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

65 lines
2.9 KiB
PHP

<div class="modal fade" id="editCriterium" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div style="background-color: #6F0B3D;width:100%; padding: 5px"> <h4 style="color: white">Wijzig criterium</h4>
</div>
<div style="margin-left: 25px;">
<table data-bind="with: selectedCriterium" style="width: 50%; margin-top: 20px;">
<thead>
<tr>
<th style="width: 95%;"><span>sorteercriterium:</span></th>
<th style= "width: 5%;"></th>
</tr>
</thead>
<tbody>
<tr>
<td> <input style="width: 100%"data-bind="value: criterium "/>
</td>
<td></td>
</tr>
</tbody>
<thead>
<tr>
<th><span>waarden</span>
</th>
<th></th>
</tr>
</thead>
<tbody data-bind="foreach: labels">
<tr>
<td data-bind="visible: !volgorde "> <input style="width: 100%; "data-bind="value: label"/>
</td>
<td>
<div data-bind="visible: index > 1 && !volgorde;">
<button class="noshow delete" data-bind=" click: $root.fDeleteLabel"></button>
</div>
</td>
</tr>
</tbody>
</table>
<table style="width: 50%;">
<tbody data-bind="foreach: nieuweLabels">
<tr>
<td style="width: 95%"> <input style="width: 100%; "data-bind="value: nieuwLabel"/>
</td>
<td style="width:5%">
<button class="noshow delete" data-bind="click: $root.fAnnuleerLabel"></button>
</td>
</tr>
</tbody>
</table>
<button class="noshow plus" data-bind="click: $root.fNieuwLabel"></button>
<span style="margin-left: 20px;">voeg waarde toe</span>
</div>
<div style="width: 598px; height: 40px;">
<button data-bind="click: $root.fSaveEdit" style="float:right; margin-right: 5px; color: white; background-color: #ded0d7" data-dismiss="modal">opslaan</button>
<button data-bind="click: $root.fAnnuleerCriterium" style="float:right; margin-right: 5px; color: white; background-color: #ded0d7" data-dismiss="modal">annuleer</button>
</div>
</div>
</div>
</div>