San Leandro High School

Home of the Pirates

Calendar & Events

SLUSD Academic
SLUSD Events
SLHS Events
ACAD = { // school year googleCalendarId: ‘slusd.us_tdi3idfovaeaq78v3u8uvtjqto@group.calendar.google.com’, color: ‘#2a2d7c’, calName: ‘Academic’ }; SLUSD_SY = { // school year googleCalendarId: ‘slusd.us_neoga3ell4et1m3o636iar1gg4@group.calendar.google.com’, color: ‘#2a2d7c’, calName: ‘SLUSD’ }; BOARD = { // board meetings googleCalendarId: ‘slusd.us_dfpuruqhc1q48a14pj4k15ml8c@group.calendar.google.com’, color: ‘#2a2d7c’, calName: ‘Board’ }; SLHS = { // school year googleCalendarId: ‘slusd.us_f78tis614sbidmjp3r8j3g5co0@group.calendar.google.com’, color: ‘#a60012’, calName: ‘SLHS’ }; GARFIELD = { // school year googleCalendarId: ‘slusd.us_s1bt24q0simimflogdt4so4c8g@group.calendar.google.com’, color: ‘#0040FF’, calName: ‘Garfield’ }; MADISON = { // school year googleCalendarId: ‘slusd.us_fm93b55lgl9o1289j6r7ile9ho@group.calendar.google.com’, color: ‘#000000’, calName: ‘Madison’ }; MONROE = { // school year googleCalendarId: ‘slusd.us_5t2tbe5dbjtkajgopk8m88pdi4@group.calendar.google.com’, color: ‘#0E4F90’, calName: ‘Monroe’ }; JEFFERSON = { // school year googleCalendarId: ‘slusd.us_vt7vs47qhm82asukvdfius86q4@group.calendar.google.com’, color: ‘#3E0D90’, calName: ‘Jefferson’ }; MCKINLEY = { // school year googleCalendarId: ‘slusd.us_kifiokl3bafv5seorsknuqcb34@group.calendar.google.com’, color: ‘#115EAB’, calName: ‘McKinley’ }; ROOSEVELT = { // school year googleCalendarId: ‘slusd.us_ci3iqsh8tkbii731sm9f67m4s4@group.calendar.google.com’, color: ‘#56A256’, calName: ‘Roosevelt’ }; WASHINGTON = { // school year googleCalendarId: ‘slusd.us_g5j7gv3n5kqb9s6sqbo00m00ug@group.calendar.google.com’, color: ‘#84C220’, calName: ‘Washington’ }; WILSON = { // school year googleCalendarId: ‘slusd.us_tp1d6ib0vel2q36rkeavq91k8k@group.calendar.google.com’, color: ‘#0A3764’, calName: ‘Wilson’ }; BANCROFT = { // school year googleCalendarId: ‘slusd.us_tnm3qpiiv79oh4np26fvbloc48@group.calendar.google.com’, color: ‘#0000FF’, calName: ‘Bancroft’ }; MUIR = { // school year googleCalendarId: ‘slusd.us_o0qp1fvs5dqa0ighl98dn2glmk@group.calendar.google.com’, color: ‘#A60012’, calName: ‘Muir’ }; LINCOLN = { // school year googleCalendarId: ‘slusd.us_9llbvs74218cia7h36mrrffnf4@group.calendar.google.com’, color: ‘#B34E59’, calName: ‘Lincoln’ }; document.addEventListener(‘DOMContentLoaded’, function() { var calendarEl = document.getElementById(‘fullcalendar_div’); var calendar = new FullCalendar.Calendar(calendarEl, { googleCalendarApiKey: ‘AIzaSyBAAEI9m8xbyyepTj9jZ6M9meuAU-MmG5c’, eventSources: [ SLUSD_SY, ACAD, BOARD, SLHS, ], plugins: [ ‘interaction’, ‘dayGrid’, ‘timeGrid’, ‘googleCalendar’ ], defaultView: ‘dayGridMonth’, eventRender: function(info) { //console.log(“in event render”); //console.log(info); if(info.event.source.internalEventSource.extendedProps.calName && typeof info.event.title == “string”) { // console.log(“has a calname attr”); if(!info.event.title.startsWith(info.event.source.internalEventSource.extendedProps.calName)) { // console.log(“missing calname at start”); newTitle = info.event.source.internalEventSource.extendedProps.calName + ” – ” + info.event.title; //console.log(info.el); info.el.querySelector(‘.fc-content .fc-title’).innerHTML = newTitle; } } } }); calendar.render(); });