diff --git a/Documentation/Manual.rst b/Documentation/Manual.rst index 6f87939aa1d33d3ea0e7f5043c11d15c22495398..e4a2f4843f0ba19ed88c7ad44a84cd94ced0e165 100644 --- a/Documentation/Manual.rst +++ b/Documentation/Manual.rst @@ -7842,8 +7842,8 @@ Integration: Create a `<div>` with Example:: - 10.sql = SELECT 'Test' - 10.head = <div class="qfq-calendar" + 10.sql = SELECT 'Calendar, Standard' + 10.tail = <div class="qfq-calendar" data-config='{ "themeSystem": "bootstrap3", "height": "auto", @@ -7859,6 +7859,35 @@ Example:: ]}'> </div> + # "now" is in the past to switchoff 'highlight of today' + 20.sql = SELECT 'Calendar, 3 day, custom color' AS '_+h2' + 20.tail = <div class="qfq-calendar" + data-config='{ + "themeSystem": "bootstrap3", + "height": "auto", + "header": { + "left": "title", + "center": "", + "right": "agenda,listWeek" + }, + "defaultDate": "2020-01-14", + "now": "1999-12-31", + "allDaySlot": false, + "weekends": false, + "defaultView": "agenda", + "dayCount": 3, + "minTime": "08:00:00", + "maxTime": "18:00:00", + "businessHours": { "daysOfWeek": [ 1, 2, 3, 4 ], "startTime": "10:00", "endTime": "18:00" }, + "events": [ + { "id": "a","title": "my event","start": "2020-01-15T10:15:00", "end": "2020-01-15T11:50:00", "color": "#25adf1", "textColor": "#000"}, + {"id": "b", "title": "my other event", "start": "2020-01-16T09:00:00", "end": "2020-01-16T11:30:00", "color": "#5cb85c", "textColor": "#000"}, + {"id": "c", "title": "Eventli", "start": "2020-01-15T13:10:00", "end": "2020-01-15T16:30:00", "color": "#fbb64f", "textColor": "#000"}, + {"id": "d", "title": "Evento", "start": "2020-01-15T13:50:00", "end": "2020-01-15T15:00:00", "color": "#fb4f4f", "textColor": "#000"}, + {"id": "d", "title": "Busy", "start": "2020-01-14T09:00:00", "end": "2020-01-14T12:00:00", "color": "#ccc", "textColor": "#000"}, + {"id": "e", "title": "Banana", "start": "2020-01-16T13:30:00", "end": "2020-01-16T16:00:00", "color": "#fff45b", "textColor": "#000"} + ]}'></div> + Report Examples ---------------