Files
monpas/application/views/monpas/compactsop/overzicht/_criterium.php
T

44 lines
2.8 KiB
PHP

<table style="border: 1px solid #A28A29; width: 100%; margin-top: 30px;" data-bind="with: topOrg() ? topOrg(): ''" >
<thead>
<tr style="border-bottom:1px solid #A28A29; ">
<th colspan="3" style="padding: 5px; color: white; background-color:#A28A29;">Compact SOPs per citerium</th>
</tr>
<tr style="border-bottom:1px solid #A28A29; ">
<th style="padding: 5px; color: white; background-color:#A28A29">Download</th>
<th style="padding: 5px; color: white; background-color:#A28A29 ">Soort</th>
<th style="padding: 5px; color: white; background-color:#A28A29 ">Organisatie</th>
</tr>
<tr style="border-bottom:1px solid #A28A29;" data-bind="visible: soort== 'BOP' ">
<th data-bind="style: {backgroundColor: achtergrond} " >
<button data-bind="visible: erIsEenSop(), click: $parent.fOpenPDF, style: {backgroundColor: kleur()} "
class="buttonCompact glyphicon glyphicon-open"
style=" height: 30px; width: 30px; padding-left: 8px; border-radius: 50%;
box-shadow: none; border: none; float: left">
</button></th>
<th style="padding: 5px;" data-bind="text: soort, style: {backgroundColor: achtergrond()} "></th>
<th style="padding: 5px;" data-bind="text: naam, style: {backgroundColor: achtergrond()} "></th>
</tr>
</thead>
<tbody data-bind="foreach: orgs">
<tr data-bind="visible: $index() == 0 || $parent.orgs()[$index()-1].label != label " style="border-bottom:1px solid #A28A29; ">
<td colspan ="3" data-bind="text: label" style="background-color: #faf7eb; text-align: center; font-weight: bold; vertical-align: text-top">
</td>
</tr>
<tr style="border-bottom:1px solid #A28A29; ">
<td data-bind="style: {backgroundColor: achtergrond} " style="border-bottom:1px solid #A28A29; ">
<button data-bind="visible: erIsEenSop(), click: $root.fOpenPDF, style: {backgroundColor: kleur()} "
class="buttonCompact glyphicon glyphicon-open"
style=" height: 30px; width: 30px; padding-left: 8px; border-radius: 50%;
box-shadow: none; border: none; float: left">
</button>
</td>
<td style="padding: 5px" data-bind="text: soort, style: {backgroundColor: achtergrond()} "></td>
<td style="padding: 5px" data-bind="text: naam, style: {backgroundColor: achtergrond()} ">
</td>
</tr>
</tbody>
</table>