<bs:calendar>
Calendar Day
Seat 1
Seat 2
Seat 3
10:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
type: boolean
<bs:calendar type="multiple" view="week" name="week" date="current" offdays="6 7" xmlns:bs="http://www.bootstrap-cms.org"/>
Calendar Week
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
09:00
9 Dec
10 Dec
11 Dec
12 Dec
13 Dec
14 Dec
15 Dec
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
type: boolean
<bs:calendar type="multiple" view="week" name="week" date="2019-12-15T14:00:00" offdays="6 7" holidays="2019-12-12T10:00:00" xmlns:bs="http://www.bootstrap-cms.org"/>
Calendar Month
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Week 23
Week 22
Week 23
Week 24
Week 25
Week 26
type: radio-one
<bs:calendar name="month" view="month" date="current" span="20" xmlns:bs="http://www.bootstrap-cms.org"/>
Calendar Year
January
M
T
W
T
F
S
S
February
M
T
W
T
F
S
S
March
M
T
W
T
F
S
S
April
M
T
W
T
F
S
S
May
M
T
W
T
F
S
S
June
M
T
W
T
F
S
S
July
M
T
W
T
F
S
S
August
M
T
W
T
F
S
S
September
M
T
W
T
F
S
S
October
M
T
W
T
F
S
S
November
M
T
W
T
F
S
S
December
M
T
W
T
F
S
S
type: radio-one
<bs:calendar name="year" view="year" date="2022" offdays="6 7" holidays="06-28" xmlns:bs="http://www.bootstrap-cms.org"/>
Key Attributes
| Attribute | Value | Purpose | Example |
|---|---|---|---|
| @type | single | multiple | single or multiple selections | multiple |
| @view | year | month | week | day | calendar view | week |
| @name | xs:string | Data binding | week |
| @date | xs:date | xs:datetime | xs:time | [current] | default load value | 2019-12-15T14:00:00 |
| offdays | xs:integer | disabled days in week | 6 7 |
| holidays | semicolon separated values of xs:date | xs:datetime | xs:time | disabled days | 2026-06-06;2021-06-06 |
Data Driven
Calendar Month
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Week 23
Week 39
0/5
0/5
Week 40
0/5
0/5
0/5
0/5
0/5
0/5
0/5
Week 41
0/5
0/5
0/5
0/5
0/5
0/5
0/5
Week 42
0/5
0/5
0/5
0/5
0/5
0/5
0/5
Week 43
0/5
0/5
0/5
0/5
0/5
0/5
0/5
Week 44
0/5
type: boolean
<bs:calendar name="month" seat-name="seat" view="month" date="current" span="20" time-slot="120" book="seat" seats="5" type="multiple" xmlns:bs="http://www.bootstrap-cms.org" xmlns:ds="http://www.bootstrap-data.org"/>
Calendar Week
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
09:00
9
10
11
12
13
14
15
09:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
09:30
0/5
0/5
0/5
0/5
0/5
0/5
0/5
10:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
10:30
0/5
0/5
0/5
0/5
0/5
0/5
0/5
11:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
11:30
0/5
0/5
0/5
0/5
0/5
0/5
0/5
12:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
12:30
0/5
0/5
0/5
0/5
0/5
0/5
0/5
13:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
13:30
0/5
0/5
0/5
0/5
0/5
0/5
0/5
14:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
14:30
0/5
0/5
0/5
0/5
0/5
0/5
0/5
15:00
0/5
0/5
0/5
0/5
0/5
0/5
0/5
type: boolean
<bs:calendar name="week" seat-name="seat" view="week" date="current" span="20" book="seat" seats="5" time-slot="30" time-start="09:00:00" time-end="15:00:00" type="multiple" xmlns:bs="http://www.bootstrap-cms.org" xmlns:ds="http://www.bootstrap-data.org"/>
Calendar Day
Seat 1
Seat 2
Seat 3
Seat 4
Seat 5
09:30
09:00
09:30
10:00
10:30
11:00
11:30
12:00
12:30
13:00
13:30
14:00
14:30
15:00
type: boolean
<bs:calendar name="day" view="day" date="current" span="20" time-slot="30" time-start="09:00:00" time-end="15:00:00" seats="5" type="multiple" xmlns:bs="http://www.bootstrap-cms.org" xmlns:ds="http://www.bootstrap-data.org"/>