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

72 lines
3.4 KiB
PHP

<div class="col-sm-12 mainpagina submenupage" id="pagstandaardsop" >
<div class= "row" data-bind="visible: ! schooljanee()" >
<div class="col-sm-12">
<h4> Het Schoolondersteuningsprofiel is alleen toegankelijk voor scholen. <br>Aan het ondersteuningsprofiel voor bevoegd gezag en/of samenwerkingsverband wordt gewerkt.</h4>
</div>
</div>
<div class="row" data-bind="visible: schooljanee()">
<div class="col-sm-12 col-md-2" style="padding:2px">
<p>Selecteer een SOP</p>
<select data-bind="options: profielen,
optionsText: 'naam',
value: selectedProfiel,
event: {change: fGetProfiel}"
style="width:70%; margin-left:5px">
</select>
<button class="delete"
data-bind="click:fDeleteProfiel, visible: selectedProfiel() && editok()">
</button>
<button class="noshow editbutton"
data-bind="click: fEditProfiel, visible: selectedProfiel() && editok()">
</button>
<button class="hfdst"
data-bind="click: fNieuwProfiel, visible: editok()">nieuw SOP</button>
<hr />
<h4 class="verversholder" style="text-align:center">Hoofdstukken</h4>
<!-- ko foreach: chapters -->
<button class="hfdst"
style="height:auto; "
data-bind="text:naam,
click: $parent.fGetChapter,
css:{selected: $parent.selectedChapter() && $parent.selectedChapter().id == id},
enable: $parent.editok() || aanwezig()"></button>
<button class="delete"
style="width: 5%; margin-left: 1px;margin-top:5px;"
data-bind="click:$parent.fDelChapter, visible: aanwezig() && $parent.editok()"></button>
<!-- /ko -->
<div style="clear:both"></div>
<hr />
<button class="hfdst" data-bind="click: fMaakPdf">Maak pdf</button>
<button class="hfdst" data-bind="click:fMaakWord">Maak word doc</button>
</div>
<div class="col-sm-12 col-md-8" style="padding-left:40px">
<textarea id="contentSopoud" >
</textarea>
</div>
<div class="col-sm-12 col-md-2">
<button style="margin-bottom:10px; background-color: #f8f7f1; width: 90%; font-size: small" data-bind="click: fVervers, visible: editok()">ververs tabel(len)</button>
<button style="margin-bottom:10px;width: 90%; font-size:small" data-bind="click: fOpnieuw, visible: editok()">ververs hoofdstuk</button>
<button style="margin-bottom:10px;width: 90%; font-size: small" data-bind="click: fGetChapterandSave, visible: editok()"> tussentijds opslaan</button>
<div style="margin-top:20px"
data-bind="visible: selectedChapter() && selectedChapter().module >0 ">
<p data-bind="visible: selectedChapter() && selectedChapter().module !=2">Voor dit hoofdstuk worden de gegevens van de volgende periode gebruikt:</p>
<p data-bind="visible: selectedChapter() && selectedChapter().module ==2">Voor dit hoofdstuk worden de gegevens van onderstaand schooljaar gebruikt:</p>
<select style="font-size:0.8em"
data-bind="options : versies,
optionsText : 'naam',
optionsValue : 'orgversie',
value : selectedVersie,
event : {change: fVerversVersie}" >
</select>
<p data-bind="visible: inhoud() && !inhoud().orgversie()">De gebruikte versie/het gebruikte jaar is nog niet opgeslagen in de database. Kies indien gewenst uw versie/jaar</p>
</div>
</div>
</div>
<?php $this->load->view("monpas/modals/nieuwprofiel_modal.php"); ?>
<?php $this->load->view("monpas/modals/changeprofiel_modal.php"); ?>
</div>