Commit 6b854032 authored by Kim, Subin's avatar Kim, Subin
Browse files

more

parent 35723d3f
...@@ -93,6 +93,11 @@ const AdminMonthly = () => { ...@@ -93,6 +93,11 @@ const AdminMonthly = () => {
const weekList = ["", "", "", "", "", "", ""] const weekList = ["", "", "", "", "", "", ""]
return weekList[date.dow] return weekList[date.dow]
}} }}
views={{
dayGridMonth: {
dayMaxEvents: 3
}
}}
validRange={{ validRange={{
start: moment(initialDate).subtract(3, 'years').format('YYYY-MM[-01]'), start: moment(initialDate).subtract(3, 'years').format('YYYY-MM[-01]'),
end: moment(initialDate).add(3, 'years').add(1, 'months').format('YYYY-MM[-01]') end: moment(initialDate).add(3, 'years').add(1, 'months').format('YYYY-MM[-01]')
...@@ -128,6 +133,10 @@ const AdminMonthly = () => { ...@@ -128,6 +133,10 @@ const AdminMonthly = () => {
}} }}
timeZone="local" timeZone="local"
events={scheduleList} events={scheduleList}
eventLimit={3}
moreLinkContent={function(arg) {
return arg.shortText
}}
themeSystem='bootstrap' themeSystem='bootstrap'
height='78vh' height='78vh'
/> />
......
...@@ -88,6 +88,11 @@ const Monthly = () => { ...@@ -88,6 +88,11 @@ const Monthly = () => {
const weekList = ["", "", "", "", "", "", ""] const weekList = ["", "", "", "", "", "", ""]
return weekList[date.dow] return weekList[date.dow]
}} }}
views={{
dayGridMonth: {
dayMaxEvents: 3
}
}}
validRange={{ validRange={{
start: moment(initialDate).subtract(3, 'years').format('YYYY-MM[-01]'), start: moment(initialDate).subtract(3, 'years').format('YYYY-MM[-01]'),
end: moment(initialDate).add(3, 'years').add(1, 'months').format('YYYY-MM[-01]') end: moment(initialDate).add(3, 'years').add(1, 'months').format('YYYY-MM[-01]')
...@@ -120,7 +125,13 @@ const Monthly = () => { ...@@ -120,7 +125,13 @@ const Monthly = () => {
dateClick={({ dateStr }) => history.push(`/schedule/${dateStr}`)} dateClick={({ dateStr }) => history.push(`/schedule/${dateStr}`)}
timeZone="local" timeZone="local"
themeSystem='bootstrap' themeSystem='bootstrap'
eventLimit="3" eventLimit={3}
moreLinkClick={function(arg) {
console.log("click..?",arg)
}}
moreLinkContent={function(arg) {
return arg.shortText
}}
height='80vh' height='80vh'
/> />
<DatePickerModal initialDate={initialDate} changeDate={changeDate} setChangeDate={setChangeDate} show={show} setShow={setShow} /> <DatePickerModal initialDate={initialDate} changeDate={changeDate} setChangeDate={setChangeDate} show={show} setShow={setShow} />
......
...@@ -145,6 +145,10 @@ button { ...@@ -145,6 +145,10 @@ button {
color: #FF0000; color: #FF0000;
} }
& .fc-more-popover {
display: none;
}
& .fc-dayGridDay-view { & .fc-dayGridDay-view {
display: none; display: none;
} }
...@@ -155,6 +159,8 @@ button { ...@@ -155,6 +159,8 @@ button {
& .fc-event-title { & .fc-event-title {
display: block; display: block;
text-overflow: ellipsis; text-overflow: ellipsis;
height: 15px;
padding: 0;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment