[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 |
|
---|
| 7 | <script src="../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
|
---|
| 8 | <link rel="stylesheet" href="../../codebase/dhtmlxscheduler.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
---|
| 9 | <link rel="stylesheet" href="../../codebase/ext/dhtmlxscheduler_ext.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
---|
| 10 |
|
---|
| 11 | <script src="../../codebase/ext/dhtmlxscheduler_editors.js" type="text/javascript" charset="utf-8"></script>
|
---|
| 12 |
|
---|
| 13 | <link rel="stylesheet" type="text/css" href="../../../dhtmlxcombo/codebase/dhtmlxcombo.css">
|
---|
| 14 | <script src="../../../dhtmlxcombo/codebase/dhtmlxcommon.js"></script>
|
---|
| 15 | <script src="../../../dhtmlxcombo/codebase/dhtmlxcombo.js"></script>
|
---|
| 16 |
|
---|
| 17 | <style type="text/css" media="screen">
|
---|
| 18 | html, body{
|
---|
| 19 | margin:0px;
|
---|
| 20 | padding:0px;
|
---|
| 21 | height:100%;
|
---|
| 22 | overflow:hidden;
|
---|
| 23 | }
|
---|
| 24 | </style>
|
---|
| 25 |
|
---|
| 26 | <script type="text/javascript" charset="utf-8">
|
---|
| 27 | function init() {
|
---|
| 28 | scheduler.config.multi_day = true;
|
---|
| 29 |
|
---|
| 30 | scheduler.config.event_duration = 30;
|
---|
| 31 | scheduler.config.auto_end_date = true;
|
---|
| 32 | scheduler.config.details_on_create=true;
|
---|
| 33 | scheduler.config.details_on_dblclick=true;
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | scheduler.locale.labels.section_snack = "Choose your snack:";
|
---|
| 37 |
|
---|
| 38 | var snacks = [
|
---|
| 39 | { key: 5, label: 'Pineapple' },
|
---|
| 40 | { key: 6, label: 'Chocolate' },
|
---|
| 41 | { key: 7, label: 'Chips' },
|
---|
| 42 | { key: 8, label: 'Apple pie' }
|
---|
| 43 | ];
|
---|
| 44 |
|
---|
| 45 | scheduler.config.lightbox.sections=[
|
---|
| 46 | { name:"description", height:50, map_to:"text", type:"textarea", focus:true },
|
---|
| 47 | { name:"snack", options: snacks, map_to:"combo_select", type:"combo", image_path: "../../../dhtmlxcombo/codebase/imgs/", filtering: true },
|
---|
| 48 | { name:"time", height:72, type:"time", map_to:"auto"}
|
---|
| 49 | ];
|
---|
| 50 |
|
---|
| 51 | scheduler.config.xml_date="%Y-%m-%d %H:%i";
|
---|
| 52 | scheduler.init('scheduler_here',null,"week");
|
---|
| 53 | scheduler.load("../common/events.xml");
|
---|
| 54 |
|
---|
| 55 | }
|
---|
| 56 | </script>
|
---|
| 57 |
|
---|
| 58 | </head>
|
---|
| 59 |
|
---|
| 60 | <body onload="init();">
|
---|
| 61 | <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
|
---|
| 62 | <div class="dhx_cal_navline">
|
---|
| 63 | <div class="dhx_cal_prev_button"> </div>
|
---|
| 64 | <div class="dhx_cal_next_button"> </div>
|
---|
| 65 | <div class="dhx_cal_today_button"></div>
|
---|
| 66 | <div class="dhx_cal_date"></div>
|
---|
| 67 | <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
|
---|
| 68 | <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
|
---|
| 69 | <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
|
---|
| 70 | </div>
|
---|
| 71 | <div class="dhx_cal_header">
|
---|
| 72 | </div>
|
---|
| 73 | <div class="dhx_cal_data">
|
---|
| 74 | </div>
|
---|
| 75 | </div>
|
---|
| 76 | </body> |
---|