Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
58e8f781
Commit
58e8f781
authored
Oct 31, 2021
by
Kim, Subin
Browse files
찐 수정 완료
parent
28ab3286
Changes
3
Show whitespace changes
Inline
Side-by-side
client/src/components/Form/StudyPlanEditForm.js
View file @
58e8f781
...
@@ -13,7 +13,7 @@ const StudyPlanEditForm = () => {
...
@@ -13,7 +13,7 @@ const StudyPlanEditForm = () => {
useEffect
(()
=>
{
useEffect
(()
=>
{
let
isMounted
=
true
;
let
isMounted
=
true
;
const
checkInfo
=
{
studyplanTitle
:
studyplan
.
studyplanTitle
,
endDate
:
studyplan
.
endDate
}
const
checkInfo
=
{
studyplanTitle
:
studyplan
.
studyplanTitle
,
endDate
:
studyplan
.
endDate
}
if
(
studyplan
.
deadline
!==
"
on
"
)
{
if
(
studyplan
.
deadline
!==
"
on
"
)
{
checkInfo
.
endTime
=
studyplan
.
endTime
checkInfo
.
endTime
=
studyplan
.
endTime
}
else
{
}
else
{
...
@@ -38,7 +38,6 @@ const StudyPlanEditForm = () => {
...
@@ -38,7 +38,6 @@ const StudyPlanEditForm = () => {
}
}
return
(
return
(
<>
<
div
className
=
"
pt-5
"
>
<
div
className
=
"
pt-5
"
>
<
select
className
=
"
form-select mb-4
"
aria
-
label
=
"
Default select example
"
>
<
select
className
=
"
form-select mb-4
"
aria
-
label
=
"
Default select example
"
>
<
option
selected
>
관련
과목을
선택해주세요
.
<
/option
>
<
option
selected
>
관련
과목을
선택해주세요
.
<
/option
>
...
@@ -47,7 +46,7 @@ const StudyPlanEditForm = () => {
...
@@ -47,7 +46,7 @@ const StudyPlanEditForm = () => {
<
option
value
=
"
3
"
>
수학적
모델링
<
/option
>
<
option
value
=
"
3
"
>
수학적
모델링
<
/option
>
<
/select
>
<
/select
>
<
input
type
=
"
text
"
name
=
"
studyplanTitle
"
<
input
type
=
"
text
"
name
=
"
studyplanTitle
"
className
=
"
form-control
border-top-0 border-end-0 border-start-0
shadow-none rounded-0 mb-5
"
className
=
{
`
form-control shadow-none rounded-0 mb-5
${
styles
.
textInput
}
`
}
placeholder
=
"
제목
"
onChange
=
{
handleChange
}
/
>
placeholder
=
"
제목
"
onChange
=
{
handleChange
}
/
>
<
div
className
=
"
d-flex mb-3
"
>
<
div
className
=
"
d-flex mb-3
"
>
<
label
className
=
"
col col-form-label align-self-center py-0
"
>
마감일
<
/label
>
<
label
className
=
"
col col-form-label align-self-center py-0
"
>
마감일
<
/label
>
...
@@ -70,7 +69,6 @@ const StudyPlanEditForm = () => {
...
@@ -70,7 +69,6 @@ const StudyPlanEditForm = () => {
<
/div
>
<
/div
>
<
BtnGroup
disabled
=
{
disabled
}
/
>
<
BtnGroup
disabled
=
{
disabled
}
/
>
<
/div
>
<
/div
>
<
/
>
)
)
}
}
...
...
client/src/components/Modal/TodoModal.js
View file @
58e8f781
...
@@ -34,7 +34,7 @@ const TodoModal = () => {
...
@@ -34,7 +34,7 @@ const TodoModal = () => {
placeholder
=
"
제목
"
onChange
=
{
handleChange
}
value
=
{
todo
.
todoTitle
}
/
>
placeholder
=
"
제목
"
onChange
=
{
handleChange
}
value
=
{
todo
.
todoTitle
}
/
>
<
div
className
=
"
d-flex justify-content-between mt-4
"
>
<
div
className
=
"
d-flex justify-content-between mt-4
"
>
<
label
className
=
"
col-2 col-form-label ms-2
"
>
날짜
<
/label
>
<
label
className
=
"
col-2 col-form-label ms-2
"
>
날짜
<
/label
>
<
div
className
=
"
col-
6
d-flex align-items-center
"
>
<
div
className
=
"
col-
8
d-flex align-items-center
"
>
<
input
type
=
"
date
"
className
=
"
form-control form-control-sm
"
name
=
"
todoDate
"
onChange
=
{
handleChange
}
value
=
{
todo
.
todoDate
}
/
>
<
input
type
=
"
date
"
className
=
"
form-control form-control-sm
"
name
=
"
todoDate
"
onChange
=
{
handleChange
}
value
=
{
todo
.
todoDate
}
/
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
client/src/pages/ToDoPage.js
View file @
58e8f781
import
Menu
from
"
../components/Menu/Menu.js
"
;
import
Menu
from
"
../components/Menu/Menu.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn.js
"
;
import
HomeBtn
from
"
../components/Buttons/HomeBtn.js
"
;
import
Weekly
from
"
../components/Calendar/Weekly.js
"
;
import
Weekly
from
"
../components/Calendar/Weekly.js
"
;
import
TodoModal
from
"
../components/Modal/TodoModal.js
"
;
import
TodoPostModal
from
"
../components/Modal/TodoPostModal.js
"
;
import
Footer
from
"
../components/Footer.js
"
;
import
TodoList
from
"
../components/TodoList.js
"
;
import
TodoList
from
"
../components/TodoList.js
"
;
import
Footer
from
"
../components/Footer.js
"
;
const
ToDoPage
=
()
=>
{
const
ToDoPage
=
()
=>
{
return
(
return
(
...
@@ -13,18 +11,7 @@ const ToDoPage = () => {
...
@@ -13,18 +11,7 @@ const ToDoPage = () => {
<
HomeBtn
/>
<
HomeBtn
/>
<
h1
className
=
"
text-center
"
>
To
-
do
<
/h1
>
<
h1
className
=
"
text-center
"
>
To
-
do
<
/h1
>
<
Weekly
/>
<
Weekly
/>
<
div
className
=
"
d-flex justify-content-between mt-3
"
>
<
TodoList
/>
<
div
className
=
"
d-flex align-items-center
"
>
<
input
className
=
{
`form-check-input rounded-0 shadow-none mt-0
${
styles
.
checkBox
}
`
}
type
=
"
checkbox
"
/>
<
label
className
=
{
`form-check-label fs-5 ms-3
${
styles
.
title
}
`
}
>
과제03
제출하기sadsa
<
/label
>
<
/div
>
<
div
style
=
{{
cursor
:
"
pointer
"
}}
>
<
i
class
=
"
bi bi-arrow-right pe-2 fs-5
"
data
-
bs
-
toggle
=
"
modal
"
data
-
bs
-
target
=
"
#postmodal
"
><
TodoPostModal
/><
/i
>
<
i
className
=
"
bi bi-pencil-square pe-2 fs-5
"
data
-
bs
-
toggle
=
"
modal
"
data
-
bs
-
target
=
"
#staticBackdrop
"
><
/i
>
<
TodoModal
/>
<
i
className
=
"
bi bi-trash fs-5
"
><
/i
>
<
/div
>
<
/div
>
<
Footer
/>
<
Footer
/>
<
/
>
<
/
>
)
)
...
...
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