[4001] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
| 3 | <head>
|
---|
| 4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
---|
| 5 | <title></title>
|
---|
| 6 | </head>
|
---|
| 7 | <script src="../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
|
---|
| 8 | <script src="../../codebase/ext/dhtmlxscheduler_units.js" type="text/javascript" charset="utf-8"></script>
|
---|
| 9 | <link rel="stylesheet" href="../../codebase/dhtmlxscheduler.css" type="text/css" title="no title" charset="utf-8">
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | <style type="text/css" media="screen">
|
---|
| 13 | html, body{
|
---|
| 14 | margin:0px;
|
---|
| 15 | padding:0px;
|
---|
| 16 | height:100%;
|
---|
| 17 | overflow:hidden;
|
---|
| 18 | }
|
---|
| 19 | </style>
|
---|
| 20 |
|
---|
| 21 | <script type="text/javascript" charset="utf-8">
|
---|
| 22 | function init() {
|
---|
| 23 | var sections = scheduler.serverList("type");
|
---|
| 24 |
|
---|
| 25 | scheduler.locale.labels.unit_tab = "Unit"
|
---|
| 26 | scheduler.locale.labels.section_custom="Section";
|
---|
| 27 | scheduler.config.details_on_create=true;
|
---|
| 28 | scheduler.config.details_on_dblclick=true;
|
---|
| 29 | scheduler.config.xml_date="%Y-%m-%d %H:%i";
|
---|
| 30 | scheduler.config.prevent_cache = true;
|
---|
| 31 |
|
---|
| 32 | scheduler.config.lightbox.sections=[
|
---|
| 33 | {name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
|
---|
| 34 | {name:"custom", height:23, type:"select", options:sections, map_to:"type" },
|
---|
| 35 | {name:"time", height:72, type:"time", map_to:"auto"}
|
---|
| 36 | ]
|
---|
| 37 |
|
---|
| 38 | scheduler.createUnitsView({
|
---|
| 39 | name:"unit",
|
---|
| 40 | property:"type",
|
---|
| 41 | list:sections
|
---|
| 42 | });
|
---|
| 43 |
|
---|
| 44 | scheduler.init('scheduler_here',new Date(2010,2,2),"unit");
|
---|
| 45 | scheduler.load("./php/types.php");
|
---|
| 46 | }
|
---|
| 47 | </script>
|
---|
| 48 |
|
---|
| 49 | <body onload="init();">
|
---|
| 50 | <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
|
---|
| 51 | <div class="dhx_cal_navline">
|
---|
| 52 | <div class="dhx_cal_prev_button"> </div>
|
---|
| 53 | <div class="dhx_cal_next_button"> </div>
|
---|
| 54 | <div class="dhx_cal_today_button"></div>
|
---|
| 55 | <div class="dhx_cal_date"></div>
|
---|
| 56 | <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
|
---|
| 57 | <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
|
---|
| 58 | <div class="dhx_cal_tab" name="unit_tab" style="right:280px;"></div>
|
---|
| 59 | <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
|
---|
| 60 | </div>
|
---|
| 61 | <div class="dhx_cal_header">
|
---|
| 62 | </div>
|
---|
| 63 | <div class="dhx_cal_data">
|
---|
| 64 | </div>
|
---|
| 65 | </div>
|
---|
| 66 | </body> |
---|