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
6d46f9f2
Commit
6d46f9f2
authored
Oct 28, 2021
by
Kim, Subin
Browse files
세부사항 수정
parent
34611bbb
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/App.js
View file @
6d46f9f2
...
@@ -29,6 +29,7 @@ function App() {
...
@@ -29,6 +29,7 @@ function App() {
<
Route
path
=
"
/studyplan/:
"
component
=
{
StudyPlanPage
}
/
>
<
Route
path
=
"
/studyplan/:
"
component
=
{
StudyPlanPage
}
/
>
<
Route
path
=
"
/studyplan
"
component
=
{
StudyPlanListPage
}
/
>
<
Route
path
=
"
/studyplan
"
component
=
{
StudyPlanListPage
}
/
>
<
Route
path
=
"
/subject/edit
"
component
=
{
SubjectEditPage
}
/
>
<
Route
path
=
"
/subject/edit
"
component
=
{
SubjectEditPage
}
/
>
<
Route
path
=
"
/admin/edit
"
component
=
{
ScheduleEditPage
}
/
>
<
Route
path
=
"
/admin
"
component
=
{
AdminPage
}
/
>
<
Route
path
=
"
/admin
"
component
=
{
AdminPage
}
/
>
{
/* <PrivateRoute path="/admin" component={AdminPage} role="admin" /> */
}
{
/* <PrivateRoute path="/admin" component={AdminPage} role="admin" /> */
}
...
...
client/src/components/AdminScheduleItem.js
View file @
6d46f9f2
import
{
Link
}
from
"
react-router-dom
"
;
import
{
Link
}
from
"
react-router-dom
"
;
import
styles
from
"
./Schedule/schedule.module.scss
"
;
const
AdminScheduleItem
=
({})
=>
{
const
AdminScheduleItem
=
({})
=>
{
return
(
return
(
...
@@ -8,12 +9,12 @@ const AdminScheduleItem = ({}) => {
...
@@ -8,12 +9,12 @@ const AdminScheduleItem = ({}) => {
<
div
className
=
"
d-flex justify-content-between
"
>
<
div
className
=
"
d-flex justify-content-between
"
>
<
h3
>
sadsad
<
/h3
>
<
h3
>
sadsad
<
/h3
>
<
div
className
=
"
fs-5
"
>
<
div
className
=
"
fs-5
"
>
<
Link
><
i
className
=
"
bi bi-pencil-square text-dark me-1
"
><
/i></
Link
>
<
Link
to
=
"
/admin/edit
"
><
i
className
=
"
bi bi-pencil-square text-dark me-1
"
data
-
bs
-
dismiss
=
"
modal
"
><
/i></
Link
>
<
i
className
=
"
bi bi-trash
"
><
/i
>
<
i
className
=
"
bi bi-trash
"
><
/i
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
p
className
=
"
text-start text-secondary
"
>
2020
~
353543135
<
/p
>
<
p
className
=
"
text-start text-secondary
mb-2
"
>
2020
~
353543135
<
/p
>
<
div
className
=
"
text-start
"
style
=
{{
whiteSpace
:
"
pre-line
"
}}
>
sadsd
<
/div
>
<
div
className
=
{
`
text-start
${
style
s
.
textBox
}
`
}
>
sadsds
adsdsadsdsad
sdsadsdsadsdsadsdsadsdsadsdsadsd
sadsd
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
)
)
...
...
client/src/components/Modal/ScheduleModal.js
View file @
6d46f9f2
...
@@ -4,7 +4,7 @@ import styles from "./modal.module.scss";
...
@@ -4,7 +4,7 @@ import styles from "./modal.module.scss";
const
ScheduleModal
=
()
=>
{
const
ScheduleModal
=
()
=>
{
return
(
return
(
<
div
className
=
"
modal
"
id
=
"
scheduleModal
"
data
-
bs
-
backdrop
=
"
static
"
data
-
bs
-
keyboard
=
"
false
"
tabindex
=
"
-1
"
aria
-
labelledby
=
"
scheduleModalLabel
"
aria
-
hidden
=
"
true
"
>
<
div
className
=
"
modal
"
id
=
"
scheduleModal
"
data
-
bs
-
backdrop
=
"
static
"
data
-
bs
-
keyboard
=
"
false
"
tabindex
=
"
-1
"
aria
-
labelledby
=
"
scheduleModalLabel
"
aria
-
hidden
=
"
true
"
>
<
div
className
=
"
modal-dialog modal-dialog-centered modal-dialog-scrollable
"
>
<
div
className
=
"
modal-dialog
modal-sm
modal-dialog-centered modal-dialog-scrollable
"
>
<
div
className
=
"
modal-content
"
>
<
div
className
=
"
modal-content
"
>
<
div
className
=
{
`modal-header
${
styles
.
header
}
`
}
>
<
div
className
=
{
`modal-header
${
styles
.
header
}
`
}
>
<
h5
className
=
"
modal-title mx-auto
"
id
=
"
scheduleModalLabel
"
>
Modal
title
<
/h5
>
<
h5
className
=
"
modal-title mx-auto
"
id
=
"
scheduleModalLabel
"
>
Modal
title
<
/h5
>
...
@@ -12,7 +12,7 @@ const ScheduleModal = () => {
...
@@ -12,7 +12,7 @@ const ScheduleModal = () => {
<
/div
>
<
/div
>
<
div
className
=
{
`modal-body text-dark
${
styles
.
body
}
`
}
>
<
div
className
=
{
`modal-body text-dark
${
styles
.
body
}
`
}
>
<
Item
/>
<
Item
/>
<
p
>
선택한
날짜에
일정이
없습니다
.
<
/p
>
<
p
className
=
"
mb-0
"
>
선택한
날짜에
일정이
없습니다
.
<
/p
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
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