228 lines
8.7 KiB
PHP
228 lines
8.7 KiB
PHP
<div class="col-sm-12 mainpagina" id ="pagoverzichtscores">
|
|
|
|
<div class="col-sm-12 col-md-4" >
|
|
<div style = "max-height: 300px; overflow-y:auto">
|
|
|
|
<!-- ko if : orgsoort() ==4 -->
|
|
<div data-bind="visible: orgsoort()== 4, with: toporg">
|
|
<p data-bind="text: brin + ' - ' + naam"></p>
|
|
</div>
|
|
<!-- /ko -->
|
|
|
|
<!-- ko if : orgsoort() ==3 -->
|
|
<div data-bind="visible: orgsoort() == 3">
|
|
<table style="width: 100%;">
|
|
<tbody data-bind="with: toporg">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td data-bind="click: $root.fToggleGeopend" style="width:16px;">
|
|
<button class="noshowklein openbutton"
|
|
data-bind="css: {'closebutton': geopend() }">
|
|
</button>
|
|
</td>
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
<tr data-bind="visible: geopend">
|
|
<td></td>
|
|
<td colspan = 2>
|
|
<table style="width: 100%;">
|
|
<tbody data-bind="foreach: scholen">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- /ko -->
|
|
|
|
<!-- ko if: orgsoort() ==2 -->
|
|
|
|
<table style="width: 100%">
|
|
<tbody data-bind="foreach: toporg">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td data-bind="click: $root.fToggleGeopend" style="width:16px;">
|
|
<button class="noshowklein openbutton"
|
|
data-bind="css: {'closebutton': geopend() }">
|
|
</button>
|
|
</td>
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
<tr data-bind="visible: geopend">
|
|
<td></td>
|
|
<td colspan = 2 style="padding-left: 20px;">
|
|
<table style="width: 100%">
|
|
<tbody data-bind="foreach: bgs">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td data-bind="click: $root.fToggleGeopend" style="width:16px;">
|
|
<button class="noshowklein openbutton"
|
|
data-bind="css: {'closebutton': geopend() }">
|
|
</button>
|
|
</td>
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
<tr data-bind="visible: geopend">
|
|
<td></td>
|
|
<td colspan = 2 style="padding-left: 20px;">
|
|
<table>
|
|
<tbody data-bind="foreach: scholen">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
<!-- /ko -->
|
|
|
|
<!-- ko if: orgsoort() ==1 -->
|
|
<table style="width: 100%;">
|
|
<tbody data-bind="foreach: toporg">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td data-bind="click: $root.fToggleGeopend" style="width:16px;">
|
|
<button class="noshowklein openbutton"
|
|
data-bind="css: {'closebutton': geopend() }">
|
|
</button>
|
|
</td>
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
<tr data-bind="visible: geopend()">
|
|
<td></td>
|
|
<td colspan = 2>
|
|
<table style="width: 100%;">
|
|
<tbody data-bind="foreach: kamers">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td data-bind="click: $root.fToggleGeopend" style="width:16px;">
|
|
<button class="noshowklein openbutton"
|
|
data-bind="css: {'closebutton': geopend() }">
|
|
</button>
|
|
</td>
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
|
|
<tr data-bind="visible: geopend()">
|
|
<td></td>
|
|
<td colspan = 2>
|
|
<table style="width: 100%;">
|
|
<tbody data-bind="foreach: bgs">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td data-bind="click: $root.fToggleGeopend" style="width:16px;">
|
|
<button class="noshowklein openbutton"
|
|
data-bind="css: {'closebutton': geopend() }">
|
|
</button>
|
|
</td>
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
<tr data-bind="visible:geopend()">
|
|
<td></td>
|
|
<td colspan = 2>
|
|
<table style="width: 100%;">
|
|
<tbody data-bind="foreach: scholen">
|
|
<tr class="selectable" data-bind="css: {'selected': $root.selectedOrg().id == id}">
|
|
<td class="orgtd brin" data-bind="text: brin, click: $root.fSwitchOrg"></td>
|
|
<td class='orgtd' data-bind="text: naam, click: $root.fSwitchOrg"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!-- /ko -->
|
|
</div>
|
|
<div data-bind="visible: selectedOrg().soort == 4 && usernivo() <= 1" style="margin-top:10px">
|
|
Medewerker:
|
|
<select data-bind=" options : users,
|
|
optionsText : 'naam',
|
|
value : selectedUser,
|
|
optionsCaption : 'Schoolgemiddelde',
|
|
event : {change: fGetUserScores},
|
|
enable : users().length >1 ">
|
|
</select>
|
|
</div>
|
|
<hr />
|
|
|
|
</div> <!-- col-md-4 -->
|
|
<div class="col-sm-12 col-md-8">
|
|
<div data-bind="visible:orgversions().length == 0">
|
|
<!-- ko if : selectedOrg().soort < 4 -->
|
|
Selecteer een school
|
|
<!-- /ko -->
|
|
<!-- ko if: selectedOrg().soort == '4' -->
|
|
Er zijn geen periodes gekoppeld aan deze organisatie. Neem contact op met de helpdesk
|
|
<!-- /ko -->
|
|
</div>
|
|
<div data-bind="visible: orgversions().length > 0">
|
|
<h4>Selecteer een periode
|
|
<select data-bind=" options : orgversions,
|
|
optionsText : 'info',
|
|
value : selectedOrgversion,
|
|
event : {change: fChangeVersion2}">
|
|
</select>
|
|
<button class="printer" style="margin-left: 30px" data-bind="click: fPrintStandaarden"></button>
|
|
</h4>
|
|
|
|
<p data-bind="visible: $root.magWijzigen()" style="margin-top: 10px;">Zie home voor de omzettabel van scores naar norm.</p>
|
|
<h3>Overzicht van scores</h3>
|
|
<table class="lstable" style="width:100%">
|
|
<thead>
|
|
<th style="width: 46%">Standaarden</th>
|
|
<th style="width: 10%; text-align:right">Goed</th>
|
|
<th style="width: 10%; text-align:right">Vold.</th>
|
|
<th style="width: 10%; text-align:right">Onvol.</th>
|
|
<th style="width: 24%; text-align:right">Norm</th>
|
|
</thead>
|
|
<tbody data-bind="foreach: standaarden">
|
|
<tr>
|
|
<td data-bind="text: ($index() + 1) + '. ' + naam,click: $parent.fToonToelichting"
|
|
class="clickable" >
|
|
</td>
|
|
<td style="text-align:right" data-bind="text: goed > 0 ? goed : '' "></td>
|
|
<td style="text-align:right" data-bind="text: voldoende > 0 ? voldoende : '' "></td>
|
|
<td style="text-align:right" data-bind="text: onvoldoende > 0 ? onvoldoende : '' ">
|
|
<td style="text-align:right">
|
|
<!-- ko if: $root.magWijzigen()-->
|
|
<select data-bind="options: $root.normen,
|
|
optionsText: 'norm',
|
|
value: normid,
|
|
optionsValue: 'normid',
|
|
optionsCaption: 'geef een oordeel' ,
|
|
event: {change: $root.fSaveOordeel}">
|
|
</select>
|
|
<!-- /ko -->
|
|
<!-- ko if : ! $root.magWijzigen() -->
|
|
<span data-bind="text: norm"></span>
|
|
<!-- /ko -->
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div><!-- visible -->
|
|
</div> <!-- md8 -->
|
|
</div>
|