-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
default_specification.yml
226 lines (196 loc) · 6.61 KB
/
default_specification.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
## SPDX-FileCopyrightText: 2024 Nicco Kunzmann and Open Web Calendar Contributors <https://open-web-calendar.quelltext.eu/>
##
## SPDX-License-Identifier: CC-BY-SA-4.0
##
## Specification
##
## The specification of the calendar can be written in YAML and JSON.
## You can copy and paste the specification and adapt it to your needs.
##
## Lines with two ## are comments and lines with one # are code which
## is not in use.
##
## url can be a single link to an ics file or a list.
#url: https://your.link.to/a-file.ics
url:
- https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics
#- https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics
#- https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics
## The title is displayed as the title of the html page.
title: "Open Web Calendar"
## The favicon of the page
favicon: "/static/img/logo/owc.svg"
## The starting date of the calendar view in YYYY-MM-DD format
## Leave empty for today
date: ""
## First hour of the view
starting_hour: "0"
## Last hour of the view
ending_hour: "24"
## example use: restrict calendar view to working hours
#starting_hour: 8
#ending_hour: 18
## Hour division
## size in minute of divisions in day & week views
## Possibles values:
## - 1 (1 hour)
## - 2 (30 minutes)
## - 4 (15 minutes)
## - 6 (10 minutes)
hour_division: "1"
## The language of the calendar. You can choose from these languages:
## Arabic: "ar"
## Belarusian: "be"
## Catalan: "ca"
## Chinese: "cn"
## Czech: "cs"
## Danish: "da"
## Dutch: "nl"
## English: "en"
## Finnish: "fi"
## French: "fr"
## German: "de"
## Greek: "el"
## Hebrew: "he"
## Hungarian: "hu"
## Indonesian: "id"
## Italian: "it"
## Japanese: "jp"
## Norwegian: "no"
## Norwegian Bokmål: "nb"
## Polish: "pl"
## Portuguese: "pt"
## Romanian: "ro"
## Russian: "ru"
## Slovak: "sk"
## Slovenian: "si"
## Spanish: "es"
## Swedish: "sv"
## Turkish: "tr"
## Ukrainian: "ua"
language: "en"
## The skin changes the look of the calendar.
## They are located in the static/css/dhtmlx folder.
## You can choose one of these:
#skin: "dhtmlxscheduler_contrast_black.css"
#skin: "dhtmlxscheduler_terrace.css"
#skin: "dhtmlxscheduler_contrast_white.css"
#skin: "dhtmlxscheduler_flat.css"
skin: "dhtmlxscheduler_material.css"
## You can embed custom css code, i.e. to change the background or font.
css: ""
## You can also specify one or more urls to style sheets.
css_url: []
## The target is the place where links are opened.
## "_top" opens the link where the website is embedded.
## "_blank" opens the link in a new tab.
## "_self" replaces the calendar with the link content.
## "_parent" opens the link in on the page where the calendar is embedded.
target: "_top"
## This is the url to a loader animation which is displayed while the
## calendar loads events.
loader: "/img/loaders/circular-loader.gif"
## Choose which tab to display when the calendar opens.
tab: "month"
#tab: "week"
#tab: "day"
#tab: "agenda"
## Choose which tabs can be chosen by the user.
tabs:
- "month"
- "week"
- "day"
#- agenda
## Users can control the calendar.
## You can hide these buttons:
controls:
## Users can go to the next day/week/month.
- "next"
## Users can go to the previous day/week/month.
- "previous"
## Users can go to the current day/week/month.
- "today"
## Users can see the date.
- "date"
## You can describe the calendar with a text so people know what it is about.
## If this is empty, the description is taken from the project's translations.
description: ""
## You can choose the start of the week. Either "mo" for Monday or "su" for Sunday. "work" is Mo-Fr.
start_of_week: mo
## You can fix the calendar to a specific time zone. Default is to take it from the browser.
## Example values: "Europe/Berlin", "Asia/Shanghai" or "" for the timezone of the user/viewer.
timezone: ""
## You can change the format of how a time is displayed.
## See also https://docs.dhtmlx.com/scheduler/settings_format.html
hour_format: "%H:%i" # examples: 01:30, 13:45
#hour_format: "%G:%i" # examples: 1:30, 13:45
#hour_format: "%g:%i %a" # examples: 1:30 am, 1:45 pm
## This is the width in pixels at which the calendar switches to a compact
## layout in order to fit in all the elements.
compact_layout_width: 600
## This changes the style of events according to their STATUS
style-event-status-tentative: false
style-event-status-confirmed: false
style-event-status-cancelled: false
## This adds JavaScript to the calendar.
## You can add JavaScript directly or as a link.
## Please note that there might be no guarantees when it comes to your code working.
## We recommend adding your feature to the project and testing them to make
## sure that they are maintained in the future.
## I.e. add a checkbox to activate your script.
javascript: ""
## The linked JavaScript documents are expected to be UTF-8 encoded.
javascript_url: []
###################### Clean HTML ######################
##
## Clean HTML removes possibilities of hacking your site.
## This section enforces strong cleaning by default.
## See https://lxml.de/api/lxml.html.clean.Cleaner-class.html
## See https://stackoverflow.com/questions/3073881/clean-up-html-in-python
## See https://github.com/niccokunzmann/open-web-calendar/issues/165
## If you disable any cleaning here, you might make your site vulnerable.
clean_html_page_structure: true
clean_html_meta: true
clean_html_embedded: true
clean_html_links: true
clean_html_style: true
clean_html_processing_instructions: true
clean_html_inline_style: true
clean_html_scripts: true
clean_html_javascript: true
clean_html_comments: true
clean_html_frames: true
clean_html_forms: true
clean_html_annoying_tags: true
clean_html_remove_unknown_tags: true
clean_html_safe_attrs_only: true
clean_html_safe_attrs:
- src
- color
- href
- title
- class
- name
- id
clean_html_remove_tags:
- body
- head
- html
###################### Change this if you modify the project. ######################
##
## Where the current modifications can be obtained.
## This is required by GPL.
source_code: "https://github.com/niccokunzmann/open-web-calendar/"
## This is a link to the contribution page
contributing: "https://open-web-calendar.quelltext.eu/contributing/"
## This is a link to the translations page
translate: "https://hosted.weblate.org/engage/open-web-calendar/"
## This is a link to the privacy policy
privacy_policy: "https://open-web-calendar.quelltext.eu/host/privacy-policy/"
###################### You will probably not change this. ######################
##
## The template is the file which shows the calendar.
## It is located in the templates/calendars folder.
template: "dhtmlx.html"
## This is set by the dhtmlscheduler when the events are displayed.
timeshift: 0