Merge branch 'feature/robbobswop'
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
<th style="padding: 5px; color: white; background-color: #a07b8e; ">SWOP</th>
|
||||
<th style="padding: 5px; color: white; background-color: #a07b8e;" data-bind="text: naam">
|
||||
</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
<div class="col-sm-12 mainpagina" id ="pagsopoverzicht">
|
||||
<div class="row">
|
||||
<div class="col-xs-3"></div>
|
||||
<div class="col-xs-2"></div>
|
||||
|
||||
<div class="col-xs-9 " >
|
||||
|
||||
<h4 data-bind="text: titel ">
|
||||
</h4>
|
||||
<h4 data-bind="text: subtitel ">
|
||||
</h4>
|
||||
|
||||
<div class="col-xs-6 " >
|
||||
<h3>Compacte Ontwikkelingsplannen</h3>
|
||||
|
||||
<p>Selecteer een schooljaar:</p>
|
||||
<select data-bind=" options: schooljaren,
|
||||
@@ -12,49 +17,24 @@
|
||||
event: {change: fChangeSchooljaar}">
|
||||
</select>
|
||||
|
||||
<!-- <div class="col-sm-5" >-->
|
||||
|
||||
<!-- <p style="margin-top: 8px;">Ordening</p>-->
|
||||
<!--if orgsoort = 1 of 2-->
|
||||
<!-- <p>-->
|
||||
<!-- <i class="fa fa-check-square"-->
|
||||
<!-- style="color: #A28A29;"-->
|
||||
<!-- data-bind="click: $root.fToggleOrdening"></i>-->
|
||||
<!-- <span data-bind="click: $root.fToggleOrdening">per bestuur-->
|
||||
<!-- </span>-->
|
||||
<!-- </p>-->
|
||||
<!-- <p>-->
|
||||
<!-- <i class="fa fa-square"-->
|
||||
<!-- style="color: #A28A29;"-->
|
||||
<!-- data-bind="click: $root.fToggleOrdening"-->
|
||||
<!-- ></i>-->
|
||||
<!-- <span data-bind="click: $root.fToggleOrdening">alfabetisch-->
|
||||
<!-- </span>-->
|
||||
<!-- </p>-->
|
||||
<!---->
|
||||
<!-- </div>-->
|
||||
|
||||
|
||||
<div class="row" data-bind="visible: orgsoort()== 4 ">
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_school"); ?>
|
||||
</div>
|
||||
<!-- ko if: orgsoort() == 4 -->
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_school"); ?>
|
||||
<!--/ko -->
|
||||
|
||||
<!-- ko if: orgsoort() == 3 -->
|
||||
<div class="row" ">
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_bestuur"); ?>
|
||||
</div>
|
||||
<!--/ko -->
|
||||
<div class="row" data-bind="visible: orgsoort()== 2 ">
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_regio"); ?>
|
||||
</div>
|
||||
<div class="row" data-bind="visible: orgsoort()== 1 ">
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_swv"); ?>
|
||||
</div>
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_bestuur"); ?>
|
||||
<!--/ko -->
|
||||
|
||||
<!-- ko if: orgsoort() == 2 -->
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_regio"); ?>
|
||||
<!--/ko -->
|
||||
<!-- ko if: orgsoort() == 1 -->
|
||||
<?php $this->load->view("monpas/compactsop/overzicht/_swv"); ?>
|
||||
<!--/ko -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -94,16 +94,20 @@ ls.initMenuModel = function(){
|
||||
var self = ls.MenuModel;
|
||||
self.menuitems.removeAll();
|
||||
$.post("index.php/shared/menu/get_menu",function(data){
|
||||
self.organisatie(data.organisatie);
|
||||
console.log(data.organisatie, "data organisatie")
|
||||
self.menuitems.removeAll();
|
||||
if (data.menu){
|
||||
console.log(data.menu, "data menu")
|
||||
$.each(data.menu, function(i,p){
|
||||
|
||||
self.menuitems.push(new fAddMenuitem(p));
|
||||
}); // foreach
|
||||
if (self.menuitems()[0]){
|
||||
self.menuitems()[0].gekozen(true);
|
||||
}
|
||||
self.user(data.user);
|
||||
self.organisatie(data.organisatie);
|
||||
|
||||
self.module(data.module);
|
||||
if(self.module() == 90 || self.module() == 610 ) self.logo("logokokoklein.png")
|
||||
};
|
||||
@@ -250,9 +254,8 @@ ls.initMenuModel = function(){
|
||||
$.each(self.menuitems(), function (i, m){
|
||||
m.gekozen(false);
|
||||
$.each(m.subpaginas(), function (x, s){
|
||||
|
||||
s.subgekozen(false);
|
||||
if(that.id === s.id){
|
||||
if(that.id === s.id ){
|
||||
s.subgekozen(true);
|
||||
m.gekozen(true);
|
||||
|
||||
|
||||
@@ -108,6 +108,26 @@ mh.initSopOverzichtModel = function(){
|
||||
schooljaren : ko.observableArray([]),
|
||||
selectedSchooljaar : ko.observable(''),
|
||||
gegevens : ko.observable(true),
|
||||
titel : ko.pureComputed( function(){
|
||||
if(mh.SopOverzichtModel && mh.SopOverzichtModel.orgsoort()){
|
||||
switch(mh.SopOverzichtModel.orgsoort()){
|
||||
case 4 : return 'Compact schoolondersteuningsprofiel (SOP)';
|
||||
case 3 : return 'Compacte schoolondersteuningsprofielen (SOPs)';
|
||||
case 2 : return 'Compacte school- en bestuursondersteuningsprofielen (SOPs en BOPs)';
|
||||
case 1 : return 'Compacte school-, bestuurs- en regionale ondersteuningsprofielen (SOPs, BOPs en ROPs)';
|
||||
}
|
||||
}
|
||||
}),
|
||||
subtitel : ko.pureComputed( function(){
|
||||
if(mh.SopOverzichtModel && mh.SopOverzichtModel.orgsoort()){
|
||||
switch(mh.SopOverzichtModel.orgsoort()){
|
||||
case 4 : return '';
|
||||
case 3 : return 'en het bestuurondersteuningsprofiel (BOP)';
|
||||
case 2 : return 'en het regionaal ondersteuningsprofiel (ROP)';
|
||||
case 1 : return 'en het SWV-ondersteuningsprofiel (SWOP)';
|
||||
}
|
||||
}
|
||||
}),
|
||||
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user