Trang chủ học khu SLUSD
San Leandro High SchoolChào mừng đến với SLHS!
Trang này được dịch tự động. Tên các trường học và tên người được giữ nguyên. View in English

Lịch & Sự kiện

SLUSD Academic SLUSD Events SLHS Events ACAD = { // school year googleCalendarId: '[email protected]', color: '#2a2d7c', calName: 'Academic' }; SLUSD_SY = { // school year googleCalendarId: '[email protected]', color: '#2a2d7c', calName: 'SLUSD' }; BOARD = { // board meetings googleCalendarId: '[email protected]', color: '#2a2d7c', calName: 'Board' }; SLHS = { // school year googleCalendarId: '[email protected]', color: '#a60012', calName: 'SLHS' }; GARFIELD = { // school year googleCalendarId: '[email protected]', color: '#0040FF', calName: 'Garfield' }; MADISON = { // school year googleCalendarId: '[email protected]', color: '#000000', calName: 'Madison' }; MONROE = { // school year googleCalendarId: '[email protected]', color: '#0E4F90', calName: 'Monroe' }; JEFFERSON = { // school year googleCalendarId: '[email protected]', color: '#3E0D90', calName: 'Jefferson' }; MCKINLEY = { // school year googleCalendarId: '[email protected]', color: '#115EAB', calName: 'McKinley' }; ROOSEVELT = { // school year googleCalendarId: '[email protected]', color: '#56A256', calName: 'Roosevelt' }; WASHINGTON = { // school year googleCalendarId: '[email protected]', color: '#84C220', calName: 'Washington' }; WILSON = { // school year googleCalendarId: '[email protected]', color: '#0A3764', calName: 'Wilson' }; BANCROFT = { // school year googleCalendarId: '[email protected]', color: '#0000FF', calName: 'Bancroft' }; MUIR = { // school year googleCalendarId: '[email protected]', color: '#A60012', calName: 'Muir' }; LINCOLN = { // school year googleCalendarId: '[email protected]', 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(); });