Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
6b854032
Commit
6b854032
authored
Nov 05, 2021
by
Kim, Subin
Browse files
more
parent
35723d3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/components/Calendar/AdminMonthly.js
View file @
6b854032
...
@@ -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
'
/>
/>
...
...
client/src/components/Calendar/Monthly.js
View file @
6b854032
...
@@ -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
}
/
>
...
...
client/src/scss/custom.scss
View file @
6b854032
...
@@ -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
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment