Updated driver file to use new functionality.
This commit is contained in:
parent
9c8b98682a
commit
de288abfb7
1 changed files with 41 additions and 2 deletions
|
@ -1,5 +1,44 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Gantt Test</title>
|
||||
<style type="text/css">
|
||||
/*GANTT*/
|
||||
#gantt {
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#gantt th {
|
||||
font-weight: bold;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#gantt td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#gantt td.colored {
|
||||
width: 18px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
include_once('gantt.php');
|
||||
include_once('Gantt.php');
|
||||
|
||||
$gnt = new Gantt();
|
||||
|
||||
$gnt->add_event('Event 1',0,1);
|
||||
$gnt->add_event('Event 2',2,3);
|
||||
$gnt->add_event('Event 3',2,4);
|
||||
|
||||
echo $gnt->render_html();
|
||||
|
||||
?>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue