-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar.html
More file actions
71 lines (70 loc) · 1.97 KB
/
calendar.html
File metadata and controls
71 lines (70 loc) · 1.97 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="static/styles.css">
<style>
html, body {
margin: 0;
padding: 0;
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
font-size: 14px;
}
#calendar {
max-width: 900px;
margin: 30px auto;
}
.fc-day-today {
background: #C0C0C0 !important;
}
.fc-event {
height:60px !important;
font-size: 2em;
}
</style>
<script src='https://cdn.jsdelivr.net/npm/fullcalendar@6.1.10/index.global.min.js'></script>
<script src='fullcalendar/core/index.global.js'></script>
<script src='fullcalendar/core/locales-all.global.js'></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
firstDay: 1,
locale: 'es',
buttonText: { today: "hoy" },
events: [
{
title: 'Novillos',
url: 'https://morasoftware.github.io/2023-12-26.html',
start: '2023-12-26',
color : '#9A2A2A'
},
{
title: 'Toros',
url: 'https://morasoftware.github.io/2023-12-27.html',
start: '2023-12-27',
color : '#9A2A2A'
},
{
title: 'Toros',
url: 'https://morasoftware.github.io/2023-12-28.html',
start: '2023-12-28',
color : '#9A2A2A'
},
{
title: 'Toros',
url: 'https://morasoftware.github.io/2023-12-29.html',
start: '2023-12-29',
color : '#9A2A2A'
}
]
});
calendar.render();
});
</script>
</head>
<body>
<div id='calendar'></div>
</body>
</html>