Example #1
0
initiative/list_program_initiative/<?php 
    echo $prog['prog']->id;
    ?>
"><?php 
    echo $prog['prog']->title;
    ?>
</a></div>
							<div style="clear:both"></div>
						</td>
						<?php 
    $allstat = return_arr_status();
    $total = 0;
    foreach ($allstat as $stat) {
        $color = "";
        if ($prog['status'][$stat]) {
            $color = color_status($stat);
        }
        echo "<td style='background-color:" . $color . "'><center>" . $prog['status'][$stat] . "</center></td>";
        $total = $total + $prog['status'][$stat];
    }
    ?>
						<td><center><?php 
    echo $total;
    ?>
</center></td>
						<td colspan=2 style="width:100px">
							<?php 
    if ($prog['date']->min_start && $prog['date']->max_end) {
        ?>
							<?php 
        $stdate = strtotime($prog['date']->min_start);
Example #2
0
<style>
	.checkbox label{display:block;}
</style>

<div>
	<span style="font-size:16px">Status : <span style="color:<?php 
echo color_status($stat);
?>
; font-weight:bold"><?php 
echo $stat;
?>
</span></span>
</div>
<hr style="margin:0">
<div style="width:50%; float:left">
	<h5 style="margin:5px 0 0 0">Workblock Status</h5>
	<canvas style="float:left;" id="myChart2" width="150" height="150"></canvas>
	<div style="clear:both"></div>
</div>
<div style="width:50%; float:left; margin-top:40px;">
	<div class="checkbox">
		<label class="checkbox" style="margin-bottom:10px">
			<input type="checkbox" id="inlineCheckbox1" value="option1" checked> <span style="color:#bbb">Not Started Yet</span>
		</label>
		<label class="checkbox" style="margin-bottom:10px">
			<input type="checkbox" id="inlineCheckbox1" value="option1" checked> <span style="color:#27c24c">In Progress</span>
		</label>
		<label class="checkbox" style="margin-bottom:10px">
			<input type="checkbox" id="inlineCheckbox1" value="option1" checked> <span style="color:#FF0000">Delay</span>
		</label>
		<label class="checkbox" style="margin-bottom:5px">