Skip to content

Commit d3b70a4

Browse files
committed
Show a calendar of upcoming meetings. Fixes ietf-tools#2719. Commit ready for merge.
- Legacy-Id: 16589
1 parent 8216098 commit d3b70a4

124 files changed

Lines changed: 27116 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ietf/externals/static/fullcalendar/CHANGELOG.md

Lines changed: 1398 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2019 Adam Shaw
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset='utf-8' />
5+
<link href='../packages/core/main.css' rel='stylesheet' />
6+
<link href='../packages/daygrid/main.css' rel='stylesheet' />
7+
<link href='../packages/timegrid/main.css' rel='stylesheet' />
8+
<link href='../packages/list/main.css' rel='stylesheet' />
9+
<script src='../packages/core/main.js'></script>
10+
<script src='../packages/interaction/main.js'></script>
11+
<script src='../packages/daygrid/main.js'></script>
12+
<script src='../packages/timegrid/main.js'></script>
13+
<script src='../packages/list/main.js'></script>
14+
<script>
15+
16+
document.addEventListener('DOMContentLoaded', function() {
17+
var calendarEl = document.getElementById('calendar');
18+
19+
var calendar = new FullCalendar.Calendar(calendarEl, {
20+
plugins: [ 'interaction', 'dayGrid', 'timeGrid', 'list' ],
21+
header: {
22+
left: 'prev,next today',
23+
center: 'title',
24+
right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
25+
},
26+
defaultDate: '2019-06-12',
27+
navLinks: true, // can click day/week names to navigate views
28+
businessHours: true, // display business hours
29+
editable: true,
30+
events: [
31+
{
32+
title: 'Business Lunch',
33+
start: '2019-06-03T13:00:00',
34+
constraint: 'businessHours'
35+
},
36+
{
37+
title: 'Meeting',
38+
start: '2019-06-13T11:00:00',
39+
constraint: 'availableForMeeting', // defined below
40+
color: '#257e4a'
41+
},
42+
{
43+
title: 'Conference',
44+
start: '2019-06-18',
45+
end: '2019-06-20'
46+
},
47+
{
48+
title: 'Party',
49+
start: '2019-06-29T20:00:00'
50+
},
51+
52+
// areas where "Meeting" must be dropped
53+
{
54+
groupId: 'availableForMeeting',
55+
start: '2019-06-11T10:00:00',
56+
end: '2019-06-11T16:00:00',
57+
rendering: 'background'
58+
},
59+
{
60+
groupId: 'availableForMeeting',
61+
start: '2019-06-13T10:00:00',
62+
end: '2019-06-13T16:00:00',
63+
rendering: 'background'
64+
},
65+
66+
// red areas where no events can be dropped
67+
{
68+
start: '2019-06-24',
69+
end: '2019-06-28',
70+
overlap: false,
71+
rendering: 'background',
72+
color: '#ff9f89'
73+
},
74+
{
75+
start: '2019-06-06',
76+
end: '2019-06-08',
77+
overlap: false,
78+
rendering: 'background',
79+
color: '#ff9f89'
80+
}
81+
]
82+
});
83+
84+
calendar.render();
85+
});
86+
87+
</script>
88+
<style>
89+
90+
body {
91+
margin: 40px 10px;
92+
padding: 0;
93+
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
94+
font-size: 14px;
95+
}
96+
97+
#calendar {
98+
max-width: 900px;
99+
margin: 0 auto;
100+
}
101+
102+
</style>
103+
</head>
104+
<body>
105+
106+
<div id='calendar'></div>
107+
108+
</body>
109+
</html>
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset='utf-8' />
5+
<link href='../packages/core/main.css' rel='stylesheet' />
6+
<link href='../packages/daygrid/main.css' rel='stylesheet' />
7+
<script src='../packages/core/main.js'></script>
8+
<script src='../packages/interaction/main.js'></script>
9+
<script src='../packages/daygrid/main.js'></script>
10+
<script>
11+
12+
document.addEventListener('DOMContentLoaded', function() {
13+
var calendarEl = document.getElementById('calendar');
14+
15+
var calendar = new FullCalendar.Calendar(calendarEl, {
16+
plugins: [ 'interaction', 'dayGrid' ],
17+
header: {
18+
left: 'prevYear,prev,next,nextYear today',
19+
center: 'title',
20+
right: 'dayGridMonth,dayGridWeek,dayGridDay'
21+
},
22+
defaultDate: '2019-06-12',
23+
navLinks: true, // can click day/week names to navigate views
24+
editable: true,
25+
eventLimit: true, // allow "more" link when too many events
26+
events: [
27+
{
28+
title: 'All Day Event',
29+
start: '2019-06-01'
30+
},
31+
{
32+
title: 'Long Event',
33+
start: '2019-06-07',
34+
end: '2019-06-10'
35+
},
36+
{
37+
groupId: 999,
38+
title: 'Repeating Event',
39+
start: '2019-06-09T16:00:00'
40+
},
41+
{
42+
groupId: 999,
43+
title: 'Repeating Event',
44+
start: '2019-06-16T16:00:00'
45+
},
46+
{
47+
title: 'Conference',
48+
start: '2019-06-11',
49+
end: '2019-06-13'
50+
},
51+
{
52+
title: 'Meeting',
53+
start: '2019-06-12T10:30:00',
54+
end: '2019-06-12T12:30:00'
55+
},
56+
{
57+
title: 'Lunch',
58+
start: '2019-06-12T12:00:00'
59+
},
60+
{
61+
title: 'Meeting',
62+
start: '2019-06-12T14:30:00'
63+
},
64+
{
65+
title: 'Happy Hour',
66+
start: '2019-06-12T17:30:00'
67+
},
68+
{
69+
title: 'Dinner',
70+
start: '2019-06-12T20:00:00'
71+
},
72+
{
73+
title: 'Birthday Party',
74+
start: '2019-06-13T07:00:00'
75+
},
76+
{
77+
title: 'Click for Google',
78+
url: 'http://google.com/',
79+
start: '2019-06-28'
80+
}
81+
]
82+
});
83+
84+
calendar.render();
85+
});
86+
87+
</script>
88+
<style>
89+
90+
body {
91+
margin: 40px 10px;
92+
padding: 0;
93+
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
94+
font-size: 14px;
95+
}
96+
97+
#calendar {
98+
max-width: 900px;
99+
margin: 0 auto;
100+
}
101+
102+
</style>
103+
</head>
104+
<body>
105+
106+
<div id='calendar'></div>
107+
108+
</body>
109+
</html>
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset='utf-8' />
5+
<link href='../packages/core/main.css' rel='stylesheet' />
6+
<link href='../packages/daygrid/main.css' rel='stylesheet' />
7+
<script src='../packages/core/main.js'></script>
8+
<script src='../packages/interaction/main.js'></script>
9+
<script src='../packages/daygrid/main.js'></script>
10+
<script>
11+
12+
document.addEventListener('DOMContentLoaded', function() {
13+
var calendarEl = document.getElementById('calendar');
14+
15+
var calendar = new FullCalendar.Calendar(calendarEl, {
16+
plugins: [ 'interaction', 'dayGrid' ],
17+
defaultDate: '2019-06-12',
18+
editable: true,
19+
eventLimit: true, // allow "more" link when too many events
20+
events: [
21+
{
22+
title: 'All Day Event',
23+
start: '2019-06-01'
24+
},
25+
{
26+
title: 'Long Event',
27+
start: '2019-06-07',
28+
end: '2019-06-10'
29+
},
30+
{
31+
groupId: 999,
32+
title: 'Repeating Event',
33+
start: '2019-06-09T16:00:00'
34+
},
35+
{
36+
groupId: 999,
37+
title: 'Repeating Event',
38+
start: '2019-06-16T16:00:00'
39+
},
40+
{
41+
title: 'Conference',
42+
start: '2019-06-11',
43+
end: '2019-06-13'
44+
},
45+
{
46+
title: 'Meeting',
47+
start: '2019-06-12T10:30:00',
48+
end: '2019-06-12T12:30:00'
49+
},
50+
{
51+
title: 'Lunch',
52+
start: '2019-06-12T12:00:00'
53+
},
54+
{
55+
title: 'Meeting',
56+
start: '2019-06-12T14:30:00'
57+
},
58+
{
59+
title: 'Happy Hour',
60+
start: '2019-06-12T17:30:00'
61+
},
62+
{
63+
title: 'Dinner',
64+
start: '2019-06-12T20:00:00'
65+
},
66+
{
67+
title: 'Birthday Party',
68+
start: '2019-06-13T07:00:00'
69+
},
70+
{
71+
title: 'Click for Google',
72+
url: 'http://google.com/',
73+
start: '2019-06-28'
74+
}
75+
]
76+
});
77+
78+
calendar.render();
79+
});
80+
81+
</script>
82+
<style>
83+
84+
body {
85+
margin: 40px 10px;
86+
padding: 0;
87+
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
88+
font-size: 14px;
89+
}
90+
91+
#calendar {
92+
max-width: 900px;
93+
margin: 0 auto;
94+
}
95+
96+
</style>
97+
</head>
98+
<body>
99+
100+
<div id='calendar'></div>
101+
102+
</body>
103+
</html>

0 commit comments

Comments
 (0)