mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-11 17:20:53 +01:00
30 lines
934 B
HTML
30 lines
934 B
HTML
|
<!DOCTYPE html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||
|
<title>Day hours</title>
|
||
|
</head>
|
||
|
<script src="../../codebase/dhtmlxgantt.js" type="text/javascript" charset="utf-8"></script>
|
||
|
<link rel="stylesheet" href="../../codebase/dhtmlxgantt.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
||
|
|
||
|
<script type="text/javascript" src="../common/testdata.js"></script>
|
||
|
<style type="text/css">
|
||
|
html, body { height: 100%; padding:0px; margin:0px; overflow: hidden; }
|
||
|
</style>
|
||
|
<body>
|
||
|
<div id="gantt_here" style='width:100%; height:100%;'></div>
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
gantt.config.scale_unit = "day";
|
||
|
gantt.config.date_scale = "%F %d";
|
||
|
gantt.config.min_column_width = 50;
|
||
|
|
||
|
gantt.config.scale_height = 54;
|
||
|
|
||
|
gantt.config.subscales = [
|
||
|
{unit:"hour", step:3, date:"%H:%i"}
|
||
|
];
|
||
|
|
||
|
gantt.init("gantt_here");
|
||
|
gantt.parse(demo_tasks);
|
||
|
</script>
|
||
|
</body>
|