initial commit
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
<link rel="stylesheet" href="<?=base_url()?>css/ijkpartituur/reports.css" type="text/cs">
|
||||
<style>
|
||||
p.pagebreak{
|
||||
page-break-after:always;
|
||||
}
|
||||
</style>
|
||||
<?php if(isset($pdf)): ?>
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
||||
<?php endif ;?>
|
||||
|
||||
<?php if(isset($pdf)): ?>
|
||||
<head>
|
||||
</head>
|
||||
<body style= "font-family:'Open Sans', sans; font-size:8px;">
|
||||
|
||||
<?php endif ; ?>
|
||||
<header style="display:none">
|
||||
<!-- dit stukje van header moet worden opgenomen om het logo-image in de header af te drukken
|
||||
vanwege asynchrone afhandeling wordt de image anders niet op tijd geladen -->
|
||||
<img src="<?=base_url()?>css/images/frameworklogo30.png" height="30" />
|
||||
</header>
|
||||
<div class="reportdiv" style="width:1200px;" >
|
||||
|
||||
<div style="border:2px solid #975796; padding:5px; margin-top:10px;">
|
||||
<p>SELECTIECRITERIA Mensen in tijd</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td> Partituur:</td>
|
||||
<td> <?=$partituur->partituur_naam?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan = 2> Periode van <?=$van?> t/m <?=$tm?> </td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div> <!-- selectiecriteria -->
|
||||
<?php if ($error > "" ){echo $error;}
|
||||
else { ?>
|
||||
|
||||
<!-- ********** header deel 1 ************ -->
|
||||
<div class="matrixcell"
|
||||
style =" width:200px; font-style:italic;">
|
||||
</div>
|
||||
<?php foreach ($header1 as $yearinfo){ ?>
|
||||
<div class="matrixcell"
|
||||
style=" text-align:center;
|
||||
width:<?=($yearinfo->days * $px_per_dag)?>px;" ><?= $yearinfo->tekst?>
|
||||
</div>
|
||||
<?php ; }; ?>
|
||||
<!-- <br/> -->
|
||||
<div class="clearfix"></div>
|
||||
<!-- ********** header deel 2 ************ -->
|
||||
|
||||
<div class="matrixcell"
|
||||
style=" width:200px; font-style:italic;"> medewerker
|
||||
</div>
|
||||
<?php foreach ($header2 as $dagmaand){ ?>
|
||||
<div class= "matrixcell"
|
||||
style=" text-align:center;
|
||||
width: <?=($dagmaand->days * $px_per_dag )?>px">
|
||||
<?= $dagmaand->label?>
|
||||
</div>
|
||||
<?php ; } ; ?>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<!-- *********** body van het diagram ************ -->
|
||||
<?php if ($mensen) {
|
||||
foreach($mensen as $mens) { ?>
|
||||
<div style="position:relative; width:1200px;">
|
||||
<?php echo $mens->html ; ?>
|
||||
|
||||
<div class="matrixcell"
|
||||
style=" width:200px; font-style:italic;">
|
||||
</div>
|
||||
<?php $i = 1;
|
||||
foreach ($header2 as $dagmaand){ ?>
|
||||
<div class="matrixcell"
|
||||
style="width: <?=($dagmaand->days * $px_per_dag)?>px;
|
||||
background-color:<?php if ($i == 1) {echo '#f7f7f7' ;}
|
||||
else {echo '#dedede' ;} ; ?> ;">
|
||||
<?php if ($i == 1) {$i = 0;} else {$i = 1;} ; ?>
|
||||
</div>
|
||||
<?php ; } ; ?>
|
||||
<div style="clearfix" ></div>
|
||||
</div>
|
||||
<?php ;} ; ?> <!-- for each mensen -->
|
||||
<?php } ; ?> <!-- if mensen -->
|
||||
|
||||
|
||||
|
||||
<?php ;} ; ?> <!-- bij else als er geen error is -->
|
||||
</div>
|
||||
<?php if(isset($pdf)): ?>
|
||||
</body>
|
||||
<?php endif ; ?>
|
||||
Reference in New Issue
Block a user