Changeset View
Changeset View
Standalone View
Standalone View
web/calendar/calendar.react.js
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | ) { | ||||
columns = []; | columns = []; | ||||
} | } | ||||
} | } | ||||
let filterPanel = null; | let filterPanel = null; | ||||
let calendarContentStyle = null; | let calendarContentStyle = null; | ||||
let filterButtonStyle = null; | let filterButtonStyle = null; | ||||
if (this.state.filterPanelOpen) { | if (this.state.filterPanelOpen) { | ||||
filterPanel = <FilterPanel />; | filterPanel = <FilterPanel toggleFilters={this.toggleFilters} />; | ||||
calendarContentStyle = { marginLeft: '300px' }; | calendarContentStyle = { marginLeft: '300px' }; | ||||
filterButtonStyle = { backgroundColor: 'rgba(0,0,0,0.67)' }; | filterButtonStyle = { display: 'none' }; | ||||
} | } | ||||
return ( | return ( | ||||
<div> | <div> | ||||
{filterPanel} | {filterPanel} | ||||
<div className={css.content} style={calendarContentStyle}> | <div className={css.content} style={calendarContentStyle}> | ||||
<div> | <div> | ||||
<a | <a | ||||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |