kleuren voor matrix
This commit is contained in:
@@ -301,7 +301,8 @@ class Rapijkpunten extends MY_Controller{
|
||||
$userLijsten = new Userlijsten($orguserid, $orgid, $orgversies);
|
||||
$lijsten = $userLijsten->getLijsten();
|
||||
$nieuwsteversie = $userLijsten->getNieuwsteVersie();
|
||||
|
||||
//LS matrixmodel.js verwacht een variable vorm die aangeeft of het een individuele versie is
|
||||
$lijsten[0]->vorm=2;
|
||||
$data =[
|
||||
'lijsten' => $lijsten,
|
||||
'aantal' => $aantal,
|
||||
|
||||
@@ -190,8 +190,9 @@
|
||||
<!-- ko foreach: ijkpunten -->
|
||||
|
||||
<th class="clickable"
|
||||
data-bind="click: $parent.fToonToelichting"
|
||||
style=" text-align:center; font-size: x-small; padding: 3px; border: 2px solid white; width: 30px;">
|
||||
<span data-bind="text: nummer, attr:{'title' : omschrijving}, click: $parent.fToonToelichting">
|
||||
<span data-bind="text: nummer, attr:{'title' : omschrijving}">
|
||||
</span>
|
||||
</th>
|
||||
<!-- /ko -->
|
||||
|
||||
@@ -119,7 +119,6 @@ $(function () {
|
||||
}
|
||||
|
||||
function fAddResult(k) {
|
||||
var dit = this;
|
||||
if (k.gem === '' || isNaN(k.gem) || k.gem === null) {
|
||||
this.gem = 0;
|
||||
}
|
||||
@@ -128,7 +127,11 @@ $(function () {
|
||||
}
|
||||
this.num = k.nummer;
|
||||
this.colorcode = '#e08885';
|
||||
if(k.kleur) dit.colorcode = k.kleur;
|
||||
if(k.kleurcode) this.colorcode = k.kleurcode;
|
||||
if (k.disabled == "T" || k.disablenvt == "T") {
|
||||
this.gem='';
|
||||
this.colorcode="#cccccc";
|
||||
}
|
||||
}
|
||||
|
||||
function fAddCriteria(c) {
|
||||
|
||||
Reference in New Issue
Block a user