1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
<title>For demo purpose only :: &1</title>
7
<script src='../../codebase/dhtmlxscheduler.js' type="text/javascript" charset="utf-8"></script>
8
<script src='../../codebase/ext/dhtmlxscheduler_pdf.js' type="text/javascript" charset="utf-8"></script>
9
<script src='../../codebase/ext/dhtmlxscheduler_timeline.js' type="text/javascript" charset="utf-8"></script>
11
<link rel='stylesheet' type='text/css' href='../../codebase/dhtmlxscheduler.css'>
13
<style type="text/css" media="screen">
23
padding-top:5px; padding-left:5px;
24
text-align:left !important;
28
<script type="text/javascript" charset="utf-8">
31
scheduler.locale.labels.timeline_tab = "Timeline"
32
scheduler.locale.labels.section_custom="Section";
33
scheduler.config.details_on_create=true;
34
scheduler.config.details_on_dblclick=true;
35
scheduler.config.xml_date="%Y-%m-%d %H:%i";
41
{key:1, label:"James Smith"},
42
{key:2, label:"John Williams"},
43
{key:3, label:"David Miller"},
44
{key:4, label:"Linda Brown"}
47
scheduler.createTimelineView({
56
y_property: "section_id",
66
scheduler.config.lightbox.sections=[
67
{name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
68
{name:"custom", height:23, type:"select", options:sections, map_to:"section_id" },
69
{name:"time", height:72, type:"time", map_to:"auto"}
72
scheduler.init('scheduler_here',new Date(2009,5,30),"timeline");
74
{ start_date: "2009-06-30 09:00", end_date: "2009-06-30 12:00", text:"Task A-12458", section_id:1},
75
{ start_date: "2009-06-30 10:00", end_date: "2009-06-30 16:00", text:"Task A-89411", section_id:1},
76
{ start_date: "2009-06-30 10:00", end_date: "2009-06-30 14:00", text:"Task A-64168", section_id:1},
77
{ start_date: "2009-06-30 16:00", end_date: "2009-06-30 17:00", text:"Task A-46598", section_id:1},
79
{ start_date: "2009-06-30 12:00", end_date: "2009-06-30 20:00", text:"Task B-48865", section_id:2},
80
{ start_date: "2009-06-30 14:00", end_date: "2009-06-30 16:00", text:"Task B-44864", section_id:2},
81
{ start_date: "2009-06-30 16:30", end_date: "2009-06-30 18:00", text:"Task B-46558", section_id:2},
82
{ start_date: "2009-06-30 18:30", end_date: "2009-06-30 20:00", text:"Task B-45564", section_id:2},
84
{ start_date: "2009-06-30 08:00", end_date: "2009-06-30 12:00", text:"Task C-32421", section_id:3},
85
{ start_date: "2009-06-30 14:30", end_date: "2009-06-30 16:45", text:"Task C-14244", section_id:3},
87
{ start_date: "2009-06-30 09:20", end_date: "2009-06-30 12:20", text:"Task D-52688", section_id:4},
88
{ start_date: "2009-06-30 11:40", end_date: "2009-06-30 16:30", text:"Task D-46588", section_id:4},
89
{ start_date: "2009-06-30 12:00", end_date: "2009-06-30 18:00", text:"Task D-12458", section_id:4}
94
<body onload="init();">
95
<div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
96
<div class="dhx_cal_navline">
97
<div class="dhx_cal_prev_button"> </div>
98
<div class="dhx_cal_next_button"> </div>
99
<div class="dhx_cal_today_button"></div>
100
<div class="dhx_cal_date"></div>
102
<input type="button" name="print" value="print" onclick="scheduler.toPDF('http://dhtmlxscheduler.appspot.com/export/pdf')" style='position:absolute; right:472px; top:0px;'>
105
<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
106
<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
107
<div class="dhx_cal_tab" name="timeline_tab" style="right:280px;"></div>
108
<div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
110
<div class="dhx_cal_header">
112
<div class="dhx_cal_data">
b'\\ No newline at end of file'