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
d234acd8
Commit
d234acd8
authored
Oct 12, 2021
by
Kim, Subin
Browse files
ScheduleForm
parent
6b31e9d7
Changes
4
Hide whitespace changes
Inline
Side-by-side
client/src/components/Form/ScheduleForm.js
0 → 100644
View file @
d234acd8
import
{
useEffect
,
useRef
}
from
"
react
"
;
import
BtnGroup
from
"
../Buttons/BtnGroup.js
"
;
import
styles
from
"
./form.module.scss
"
;
const
ScheduleForm
=
()
=>
{
return
(
<
form
className
=
"
my-5
"
>
<
input
className
=
"
form-control form-control-lg mb-4
"
type
=
"
text
"
placeholder
=
"
제목
"
aria
-
label
=
"
title
"
autoFocus
/>
<
div
className
=
"
d-flex mb-4
"
>
<
label
className
=
"
col-3 col-form-label
"
>
시작
<
/label
>
<
div
className
=
"
col-5
"
>
<
input
className
=
"
form-control
"
type
=
"
date
"
aria
-
label
=
"
startDate
"
/>
<
/div
>
<
div
className
=
"
col-4
"
>
<
input
className
=
"
form-control
"
type
=
"
time
"
aria
-
label
=
"
startTime
"
/>
<
/div
>
<
/div
>
<
div
className
=
"
d-flex mb-3
"
>
<
label
className
=
"
col-3 col-form-label
"
>
종료
<
/label
>
<
div
className
=
"
col-5
"
>
<
input
className
=
"
form-control
"
type
=
"
date
"
aria
-
label
=
"
endDate
"
/>
<
/div
>
<
div
className
=
"
col-4
"
>
<
input
className
=
"
form-control
"
type
=
"
time
"
aria
-
label
=
"
endTime
"
/>
<
/div
>
<
/div
>
<
div
className
=
"
d-flex justify-content-end form-check
"
>
<
input
className
=
{
`form-check-input border-dark shadow-none
${
styles
.
checkBox
}
`
}
type
=
"
checkbox
"
value
=
""
id
=
"
allDay
"
/>
<
label
className
=
"
form-check-label
"
htmlFor
=
"
allDay
"
>
하루
종일
<
/label
>
<
/div
>
<
BtnGroup
/>
<
/form
>
)
}
export
default
ScheduleForm
\ No newline at end of file
client/src/components/Form/form.module.scss
0 → 100644
View file @
d234acd8
.checkBox
:checked
{
background-color
:
crimson
;
background-image
:
url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='currentColor' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")
;
}
\ No newline at end of file
client/src/components/ScheduleForm.js
deleted
100644 → 0
View file @
6b31e9d7
const
ScheduleForm
=
()
=>
{
return
(
<><
/
>
)
}
export
default
ScheduleForm
\ No newline at end of file
client/src/pages/ScheduleEditPage.js
View file @
d234acd8
import
ScheduleForm
from
"
../components/Form/ScheduleForm.js
"
;
const
ScheduleEditPage
=
()
=>
{
const
ScheduleEditPage
=
()
=>
{
return
(
return
(
<
><
/
>
<
ScheduleForm
/>
)
)
}
}
...
...
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