tussenstand

This commit is contained in:
Monique
2021-11-19 10:31:31 +01:00
parent ed0ca50d6d
commit b8177ade48
8 changed files with 96 additions and 63 deletions
@@ -16,13 +16,13 @@
<colgroup>
<col style="width: 25px; ">
<col >
<col span='9' style="width: 22px">
<col span='11' style="width: 22px">
</colgroup>
<tr style="background-color: #ded0d7; border: 1px solid grey; border-bottom: none">
<td colspan=2 style=" border-bottom: none; "></td>
<td colspan=4 style="text-align:center; "> <b>huidige situatie</b></td>
<td colspan=5 style="text-align:center; "> <b>huidige situatie</b></td>
<td style="border: 1px; solid grey;"></td>
<td colspan =4 style="text-align:center; "> <b> gewenste situatie</b></td>
<td colspan =5 style="text-align:center; "> <b> gewenste situatie</b></td>
<tr>
<tr style="background-color: #ded0d7; border: 1px; solid grey; border-top: none">
<td style="width: 25px; border-bottom: 1px solid grey;border-left: 1px solid grey;font-weight: bold;">nr</td>
@@ -31,11 +31,14 @@
<td style=" border-bottom: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur2?>; color:#ffffff"> 2</td>
<td style=" border-bottom: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur3?>; color:#ffffff"> 3</td>
<td style=" border-bottom: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur4?>; color:#ffffff"> 4</td>
<td style=" border-bottom: 1px solid grey;text-align:center; background-color: #808080"> </td>
<td style="border-bottom: 1px solid grey;background-color:#ded0d7"></td>
<td style="border-bottom: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur1?>; color:#ffffff"> 1</td>
<td style="border-bottom: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur2?>; color:#ffffff"> 2</td>
<td style="border-bottom: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur3?>; color:#ffffff"> 3</td>
<td style="border-bottom: 1px solid grey; border-right: 1px solid grey;text-align:center; background-color: <?=$data['kleuren']->kleur4?>; color:#ffffff"> 4</td>
<td style="border-bottom: 1px solid grey; text-align:center; background-color: <?=$data['kleuren']->kleur4?>; color:#ffffff"> 4</td>
<td style="border-bottom: 1px solid grey;text-align:center; background-color: #808080; border-right: 1px solid grey; "> </td>
</tr>
<?php
if ($data['lijsten'][0]->scores){
@@ -43,30 +46,43 @@
if($ijkpunt->nummer != 'gem'){?>
<tr style="border:1px solid #dddddd;">
<td style="border:1px solid #dddddd; text-align:right; padding-right:3px"><?php echo $ijkpunt->nummer;?></td>
<td style="border:1px solid #dddddd;padding-left:2px;"><?php if (isset($ijkpunt->omschrijving)){echo $ijkpunt->omschrijving;}?></td>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 1){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
<td style="border:1px solid #dddddd;padding-left:2px;"><?php if (isset($ijkpunt->omschrijving)){echo $ijkpunt->omschrijving;}?>
<span><?php if (isset($ijkpunt->omschrijving)){echo $ijkpunt->omschrijving;}?></span>
<span><?php if ($ijkpunt->disabled== 'T'){echo '(uit)';} ?></span>
<span><?php if ($ijkpunt->disablenvt == 'T' &&$ijkpunt->disabled== 'F' ){echo '(nvt)';} ?></span>
</td>
<?php if ($ijkpunt->disabled == 'F' && $ijkpunt->disablenvt == 'F'){?>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 1 ){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 2){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 3){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 4){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
</td>
<?php };?>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 2){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 3){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php };?>
</td>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->huidig == 4){?>
<div style="width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->kleur)){echo $ijkpunt->kleur;} ?>"></div>
<?php if ($ijkpunt->disabled == 'T' || $ijkpunt->disablenvt == 'T' ){?>
<div style="width: 12px; height: 12px;border-radius: 12px; margin-left: 5px;background-color: #808080 "></div>
<?php };?>
</td>
<td style="border-bottom:none; border-top:none"></td>
<?php if ($ijkpunt->disabled == 'F' && $ijkpunt->disablenvt == 'F'){?>
<td style="border:1px solid #dddddd" >
<?php if (isset($ijkpunt->wens) && $ijkpunt->wens == 1){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->wenskleur)){echo $ijkpunt->wenskleur;} ?>'></div>
@@ -88,6 +104,12 @@
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color:<?php if(isset($ijkpunt->wenskleur)){echo $ijkpunt->wenskleur;} ?>'></div>
<?php };?>
</td>
<?php };?>
<td style="border:1px solid #dddddd" >
<?php if ($ijkpunt->disabled == 'T' || $ijkpunt->disablenvt == 'T' ){ ?>
<div style='width: 12px; height: 12px;border-radius: 12px;margin-left: 5px;background-color: #808080'></div>
<?php };?>
</td>
</tr>
<?php ;}};}; ?>
</table>
@@ -41,12 +41,11 @@
</tr>
</thead>
<tbody>
<?php foreach($lijst->scores as $score){?>
<?php foreach($lijst->scores as $score){
$kleur = $score->disabled == 'T' || $score->disablenvt == 'T' ? '#808080' : $score->kleur; ?>
<tr style="border: 1px solid grey">
<td style="vertical-align:top; text-align: right; border-right: 1px solid grey; padding-left: 3px; background-color: <?php echo $score->kleur ?>" >
<?php echo $score->gem ?>
<td style="vertical-align:top; text-align: right; border-right: 1px solid grey; padding-left: 3px; background-color: <?= $kleur ?>">
<?php echo $score->disabled == 'T' ? 'uit' : ($score->disablenvt == 'T' ? 'nvt' : (isset($score->gem) ? $score->gem : '')) ?>
</td>
</tr>
<?php } ?>
@@ -54,7 +53,7 @@
</table>
<?php } ?>
<p style="clear: both;">Scores in procenten.</p>
<p style=" clear: both;">Scores in procenten.</p>
</div>
<?php ;} ;?>
</body>
@@ -46,7 +46,7 @@
<tr style="border: 1px solid grey">
<td style="vertical-align:top; text-align: right: border-right: 1px solid grey; padding-left: 3px; background-color: <?php echo $ijkpunt->kleur ?>" >
<td style="vertical-align:top; text-align: right: border-right: 1px solid grey; padding-left: 3px; background-color: <?php echo $ijkpunt->disable== 'F' || $ijkpunt->kleur ?>" >
<?php echo $ijkpunt->gem ?>
</td>
</tr>