59 lines
1.5 KiB
PHP
59 lines
1.5 KiB
PHP
<div class="col-xs-12 mainpagina" id="pagfuncties">
|
|
<div class="row" id ="pagBindFuncties">
|
|
<div class= "col-xs-12">
|
|
|
|
<span style="padding-right: 5px; "> Selecteer een instrument: </span>
|
|
<select data-bind="options: $root.modules,
|
|
optionsText: 'naam',
|
|
optionsValue: 'id',
|
|
value: selectedModule,
|
|
event: {change: $root.fGetFunctiesBijModule}">
|
|
</select>
|
|
|
|
|
|
<table class="table table-striped" style="width: 50%; margin-top: 20px;" data-bind="with: selectedModule">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 40%; padding-left: 10px">
|
|
<h4>Instrument voor:</h4>
|
|
</th>
|
|
<th style="width:5%;">
|
|
</th>
|
|
<th style="width:10%;">
|
|
|
|
</th>
|
|
<th style="width:5%">
|
|
|
|
</th>
|
|
<th style="width:40%;">
|
|
<h4>Niet voor:</h4>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody data-bind="foreach: $root.modulefuncties">
|
|
<tr>
|
|
<td>
|
|
<span data-bind="text:functienaam, visible: gekoppeld()">
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<div class="glyphicon glyphicon-menu-right" data-bind="visible: gekoppeld(), click: $root.fOntkoppel">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
<td> <div class="glyphicon glyphicon-menu-left" data-bind="visible: !gekoppeld(), click: $root.fKoppel">
|
|
</div>
|
|
</td>
|
|
<td><div data-bind="text:functienaam, visible: !gekoppeld()">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<button data-bind="click: $root.fGetBolletjesMonPon" >
|
|
getbolletjes
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div> |