| 4113 |
efrain |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<meta charset='utf-8' />
|
|
|
5 |
<link href='https://use.fontawesome.com/releases/v5.0.6/css/all.css' rel='stylesheet'>
|
|
|
6 |
<link href='../fullcalendar.min.css' rel='stylesheet' />
|
|
|
7 |
<link href='../fullcalendar.print.min.css' rel='stylesheet' media='print' />
|
|
|
8 |
<script src='../lib/moment.min.js'></script>
|
|
|
9 |
<script src='../lib/jquery.min.js'></script>
|
|
|
10 |
<script src='../fullcalendar.min.js'></script>
|
|
|
11 |
<script src='js/theme-chooser.js'></script>
|
|
|
12 |
<script>
|
|
|
13 |
|
|
|
14 |
$(document).ready(function() {
|
|
|
15 |
|
|
|
16 |
initThemeChooser({
|
|
|
17 |
|
|
|
18 |
init: function(themeSystem) {
|
|
|
19 |
$('#calendar').fullCalendar({
|
|
|
20 |
themeSystem: themeSystem,
|
|
|
21 |
header: {
|
|
|
22 |
left: 'prev,next today',
|
|
|
23 |
center: 'title',
|
|
|
24 |
right: 'month,agendaWeek,agendaDay,listMonth'
|
|
|
25 |
},
|
|
|
26 |
defaultDate: '2020-05-12',
|
|
|
27 |
weekNumbers: true,
|
|
|
28 |
navLinks: true, // can click day/week names to navigate views
|
|
|
29 |
editable: true,
|
|
|
30 |
eventLimit: true, // allow "more" link when too many events
|
|
|
31 |
events: [
|
|
|
32 |
{
|
|
|
33 |
title: 'All Day Event',
|
|
|
34 |
start: '2020-05-01'
|
|
|
35 |
},
|
|
|
36 |
{
|
|
|
37 |
title: 'Long Event',
|
|
|
38 |
start: '2020-05-07',
|
|
|
39 |
end: '2020-05-10'
|
|
|
40 |
},
|
|
|
41 |
{
|
|
|
42 |
id: 999,
|
|
|
43 |
title: 'Repeating Event',
|
|
|
44 |
start: '2020-05-09T16:00:00'
|
|
|
45 |
},
|
|
|
46 |
{
|
|
|
47 |
id: 999,
|
|
|
48 |
title: 'Repeating Event',
|
|
|
49 |
start: '2020-05-16T16:00:00'
|
|
|
50 |
},
|
|
|
51 |
{
|
|
|
52 |
title: 'Conference',
|
|
|
53 |
start: '2020-05-11',
|
|
|
54 |
end: '2020-05-13'
|
|
|
55 |
},
|
|
|
56 |
{
|
|
|
57 |
title: 'Meeting',
|
|
|
58 |
start: '2020-05-12T10:30:00',
|
|
|
59 |
end: '2020-05-12T12:30:00'
|
|
|
60 |
},
|
|
|
61 |
{
|
|
|
62 |
title: 'Lunch',
|
|
|
63 |
start: '2020-05-12T12:00:00'
|
|
|
64 |
},
|
|
|
65 |
{
|
|
|
66 |
title: 'Meeting',
|
|
|
67 |
start: '2020-05-12T14:30:00'
|
|
|
68 |
},
|
|
|
69 |
{
|
|
|
70 |
title: 'Happy Hour',
|
|
|
71 |
start: '2020-05-12T17:30:00'
|
|
|
72 |
},
|
|
|
73 |
{
|
|
|
74 |
title: 'Dinner',
|
|
|
75 |
start: '2020-05-12T20:00:00'
|
|
|
76 |
},
|
|
|
77 |
{
|
|
|
78 |
title: 'Birthday Party',
|
|
|
79 |
start: '2020-05-13T07:00:00'
|
|
|
80 |
},
|
|
|
81 |
{
|
|
|
82 |
title: 'Click for Google',
|
|
|
83 |
url: 'http://google.com/',
|
|
|
84 |
start: '2020-05-28'
|
|
|
85 |
}
|
|
|
86 |
]
|
|
|
87 |
});
|
|
|
88 |
},
|
|
|
89 |
|
|
|
90 |
change: function(themeSystem) {
|
|
|
91 |
$('#calendar').fullCalendar('option', 'themeSystem', themeSystem);
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
});
|
|
|
95 |
|
|
|
96 |
});
|
|
|
97 |
|
|
|
98 |
</script>
|
|
|
99 |
<style>
|
|
|
100 |
|
|
|
101 |
body {
|
|
|
102 |
margin: 0;
|
|
|
103 |
padding: 0;
|
|
|
104 |
font-size: 14px;
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
#top,
|
|
|
108 |
#calendar.fc-unthemed {
|
|
|
109 |
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
|
|
|
110 |
}
|
|
|
111 |
|
|
|
112 |
#top {
|
|
|
113 |
background: #eee;
|
|
|
114 |
border-bottom: 1px solid #ddd;
|
|
|
115 |
padding: 0 10px;
|
|
|
116 |
line-height: 40px;
|
|
|
117 |
font-size: 12px;
|
|
|
118 |
color: #000;
|
|
|
119 |
}
|
|
|
120 |
|
|
|
121 |
#top .selector {
|
|
|
122 |
display: inline-block;
|
|
|
123 |
margin-right: 10px;
|
|
|
124 |
}
|
|
|
125 |
|
|
|
126 |
#top select {
|
|
|
127 |
font: inherit; /* mock what Boostrap does, don't compete */
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
.left { float: left }
|
|
|
131 |
.right { float: right }
|
|
|
132 |
.clear { clear: both }
|
|
|
133 |
|
|
|
134 |
#calendar {
|
|
|
135 |
max-width: 900px;
|
|
|
136 |
margin: 40px auto;
|
|
|
137 |
padding: 0 10px;
|
|
|
138 |
}
|
|
|
139 |
|
|
|
140 |
</style>
|
|
|
141 |
</head>
|
|
|
142 |
<body>
|
|
|
143 |
|
|
|
144 |
<div id='top'>
|
|
|
145 |
|
|
|
146 |
<div class='left'>
|
|
|
147 |
|
|
|
148 |
<div id='theme-system-selector' class='selector'>
|
|
|
149 |
Theme System:
|
|
|
150 |
|
|
|
151 |
<select>
|
|
|
152 |
<option value='bootstrap4' selected>Bootstrap 4</option>
|
|
|
153 |
<option value='bootstrap3'>Bootstrap 3</option>
|
|
|
154 |
<option value='jquery-ui'>jQuery UI</option>
|
|
|
155 |
<option value='standard'>unthemed</option>
|
|
|
156 |
</select>
|
|
|
157 |
</div>
|
|
|
158 |
|
|
|
159 |
<div data-theme-system="bootstrap3" class='selector' style='display:none'>
|
|
|
160 |
Theme Name:
|
|
|
161 |
|
|
|
162 |
<select>
|
|
|
163 |
<option value='' selected>Default</option>
|
|
|
164 |
<option value='cosmo'>Cosmo</option>
|
|
|
165 |
<option value='cyborg'>Cyborg</option>
|
|
|
166 |
<option value='darkly'>Darkly</option>
|
|
|
167 |
<option value='flatly'>Flatly</option>
|
|
|
168 |
<option value='journal'>Journal</option>
|
|
|
169 |
<option value='lumen'>Lumen</option>
|
|
|
170 |
<option value='paper'>Paper</option>
|
|
|
171 |
<option value='readable'>Readable</option>
|
|
|
172 |
<option value='sandstone'>Sandstone</option>
|
|
|
173 |
<option value='simplex'>Simplex</option>
|
|
|
174 |
<option value='slate'>Slate</option>
|
|
|
175 |
<option value='solar'>Solar</option>
|
|
|
176 |
<option value='spacelab'>Spacelab</option>
|
|
|
177 |
<option value='superhero'>Superhero</option>
|
|
|
178 |
<option value='united'>United</option>
|
|
|
179 |
<option value='yeti'>Yeti</option>
|
|
|
180 |
</select>
|
|
|
181 |
</div>
|
|
|
182 |
|
|
|
183 |
<div data-theme-system="bootstrap4" class='selector' style='display:none'>
|
|
|
184 |
Theme Name:
|
|
|
185 |
|
|
|
186 |
<select>
|
|
|
187 |
<option value='' selected>Default</option>
|
|
|
188 |
<option value='cerulean'>Cerulean</option>
|
|
|
189 |
<option value='cosmo'>Cosmo</option>
|
|
|
190 |
<option value='cyborg'>Cyborg</option>
|
|
|
191 |
<option value='darkly'>Darkly</option>
|
|
|
192 |
<option value='flatly'>Flatly</option>
|
|
|
193 |
<option value='journal'>Journal</option>
|
|
|
194 |
<option value='litera'>Litera</option>
|
|
|
195 |
<option value='lumen'>Lumen</option>
|
|
|
196 |
<option value='lux'>Lux</option>
|
|
|
197 |
<option value='materia'>Materia</option>
|
|
|
198 |
<option value='minty'>Minty</option>
|
|
|
199 |
<option value='pulse'>Pulse</option>
|
|
|
200 |
<option value='sandstone'>Sandstone</option>
|
|
|
201 |
<option value='simplex'>Simplex</option>
|
|
|
202 |
<option value='sketchy'>Sketchy</option>
|
|
|
203 |
<option value='slate'>Slate</option>
|
|
|
204 |
<option value='solar'>Solar</option>
|
|
|
205 |
<option value='spacelab'>Spacelab</option>
|
|
|
206 |
<option value='superhero'>Superhero</option>
|
|
|
207 |
<option value='united'>United</option>
|
|
|
208 |
<option value='yeti'>Yeti</option>
|
|
|
209 |
</select>
|
|
|
210 |
</div>
|
|
|
211 |
|
|
|
212 |
<div data-theme-system="jquery-ui" class='selector' style='display:none'>
|
|
|
213 |
Theme Name:
|
|
|
214 |
|
|
|
215 |
<select>
|
|
|
216 |
<option value='black-tie'>Black Tie</option>
|
|
|
217 |
<option value='blitzer'>Blitzer</option>
|
|
|
218 |
<option value='cupertino' selected>Cupertino</option>
|
|
|
219 |
<option value='dark-hive'>Dark Hive</option>
|
|
|
220 |
<option value='dot-luv'>Dot Luv</option>
|
|
|
221 |
<option value='eggplant'>Eggplant</option>
|
|
|
222 |
<option value='excite-bike'>Excite Bike</option>
|
|
|
223 |
<option value='flick'>Flick</option>
|
|
|
224 |
<option value='hot-sneaks'>Hot Sneaks</option>
|
|
|
225 |
<option value='humanity'>Humanity</option>
|
|
|
226 |
<option value='le-frog'>Le Frog</option>
|
|
|
227 |
<option value='mint-choc'>Mint Choc</option>
|
|
|
228 |
<option value='overcast'>Overcast</option>
|
|
|
229 |
<option value='pepper-grinder'>Pepper Grinder</option>
|
|
|
230 |
<option value='redmond'>Redmond</option>
|
|
|
231 |
<option value='smoothness'>Smoothness</option>
|
|
|
232 |
<option value='south-street'>South Street</option>
|
|
|
233 |
<option value='start'>Start</option>
|
|
|
234 |
<option value='sunny'>Sunny</option>
|
|
|
235 |
<option value='swanky-purse'>Swanky Purse</option>
|
|
|
236 |
<option value='trontastic'>Trontastic</option>
|
|
|
237 |
<option value='ui-darkness'>UI Darkness</option>
|
|
|
238 |
<option value='ui-lightness'>UI Lightness</option>
|
|
|
239 |
<option value='vader'>Vader</option>
|
|
|
240 |
</select>
|
|
|
241 |
</div>
|
|
|
242 |
|
|
|
243 |
<span id='loading' style='display:none'>loading theme...</span>
|
|
|
244 |
|
|
|
245 |
</div>
|
|
|
246 |
|
|
|
247 |
<div class='right'>
|
|
|
248 |
<span class='credits' data-credit-id='bootstrap-standard' style='display:none'>
|
|
|
249 |
<a href='https://getbootstrap.com/docs/3.3/' target='_blank'>Theme by Bootstrap</a>
|
|
|
250 |
</span>
|
|
|
251 |
<span class='credits' data-credit-id='bootstrap-custom' style='display:none'>
|
|
|
252 |
<a href='https://bootswatch.com/' target='_blank'>Theme by Bootswatch</a>
|
|
|
253 |
</span>
|
|
|
254 |
<span class='credits' data-credit-id='jquery-ui' style='display:none'>
|
|
|
255 |
<a href='http://jqueryui.com/themeroller/' target='_blank'>Theme by jQuery UI</a>
|
|
|
256 |
</span>
|
|
|
257 |
</div>
|
|
|
258 |
|
|
|
259 |
<div class='clear'></div>
|
|
|
260 |
</div>
|
|
|
261 |
|
|
|
262 |
<div id='calendar'></div>
|
|
|
263 |
|
|
|
264 |
</body>
|
|
|
265 |
</html>
|