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
reservation-service
Commits
3ef60774
Commit
3ef60774
authored
Nov 04, 2020
by
Kim, Subin
Browse files
스케쥴, 신청, 홈 페이지
parent
cd650135
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
server/client/src/Components/Schedule.js
View file @
3ef60774
...
@@ -5,6 +5,9 @@ import "tui-date-picker/dist/tui-date-picker.css";
...
@@ -5,6 +5,9 @@ import "tui-date-picker/dist/tui-date-picker.css";
import
"
tui-time-picker/dist/tui-time-picker.css
"
;
import
"
tui-time-picker/dist/tui-time-picker.css
"
;
import
moment
from
'
moment
'
;
import
moment
from
'
moment
'
;
import
axios
from
'
axios
'
;
import
axios
from
'
axios
'
;
import
{
Image
,
Button
}
from
'
react-bootstrap
'
;
import
leftArrow
from
'
../caret-left-fill.svg
'
;
import
rightArrow
from
'
../caret-right-fill.svg
'
;
function
Cal
(
props
)
{
function
Cal
(
props
)
{
const
calendarRef
=
useRef
(
null
);
const
calendarRef
=
useRef
(
null
);
...
@@ -76,17 +79,17 @@ function Cal(props) {
...
@@ -76,17 +79,17 @@ function Cal(props) {
return
(
return
(
<
div
>
<
div
>
<
div
id
=
"
menu
"
>
<
div
id
=
"
menu
"
className
=
"
p-2
"
>
<
span
id
=
"
menu-navi
"
onClick
=
{(
e
)
=>
onClickNavi
(
e
)}
>
<
span
id
=
"
menu-navi
"
onClick
=
{(
e
)
=>
onClickNavi
(
e
)}
>
<
b
utton
type
=
"
button
"
className
=
"
btn btn-default btn-sm
move-today
"
data
-
action
=
"
move-today
"
>
Today
<
/
b
utton
>
<
B
utton
variant
=
"
default
"
size
=
"
sm
"
className
=
"
move-today
"
data
-
action
=
"
move-today
"
>
Today
<
/
B
utton
>
<
b
utton
type
=
"
button
"
className
=
"
btn btn-default btn-sm
move-day
"
data
-
action
=
"
move-prev
"
>
<
B
utton
variant
=
"
default
"
size
=
"
sm
"
className
=
"
move-day
"
data
-
action
=
"
move-prev
"
>
<
i
class
=
"
calendar-icon
ic-arrow-line-left
"
data
-
action
=
"
move-prev
"
><
/
i
>
<
Image
class
=
"
calendar-icon
"
src
=
{
leftArrow
}
data
-
action
=
"
move-prev
"
><
/
Image
>
<
/
b
utton
>
<
/
B
utton
>
<
b
utton
type
=
"
button
"
className
=
"
btn btn-default btn-sm
move-day
"
data
-
action
=
"
move-next
"
>
<
B
utton
variant
=
"
default
"
size
=
"
sm
"
className
=
"
move-day
"
data
-
action
=
"
move-next
"
>
<
i
className
=
"
calendar-icon
ic-arrow-line-right
"
data
-
action
=
"
move-next
"
><
/
i
>
<
Image
className
=
"
calendar-icon
"
src
=
{
rightArrow
}
data
-
action
=
"
move-next
"
><
/
Image
>
<
/
b
utton
>
<
/
B
utton
>
<
/span
>
<
/span
>
<
span
id
=
"
renderRange
"
className
=
"
render-range
"
style
=
{{
height
:
"
5em
"
}}
>
{
period
}
<
/span
>
<
span
id
=
"
renderRange
"
className
=
"
render-range
ml-2
"
style
=
{{
height
:
"
5em
"
}}
>
{
period
}
<
/span
>
<
/div
>
<
/div
>
<
Calendar
<
Calendar
ref
=
{
calendarRef
}
ref
=
{
calendarRef
}
...
...
server/client/src/Pages/ACheckPage.js
View file @
3ef60774
...
@@ -2,7 +2,6 @@ import React, { useState, useEffect } from 'react';
...
@@ -2,7 +2,6 @@ import React, { useState, useEffect } from 'react';
import
Menu
from
'
../Components/Menu
'
;
import
Menu
from
'
../Components/Menu
'
;
import
axios
from
'
axios
'
;
import
axios
from
'
axios
'
;
import
{
Link
,
Redirect
}
from
'
react-router-dom
'
;
import
{
Link
,
Redirect
}
from
'
react-router-dom
'
;
import
'
bootstrap/dist/css/bootstrap.css
'
;
function
ACheck
(
props
)
{
function
ACheck
(
props
)
{
const
[
state
,
setState
]
=
useState
()
const
[
state
,
setState
]
=
useState
()
...
...
server/client/src/Pages/ApplyPage.js
View file @
3ef60774
This diff is collapsed.
Click to expand it.
server/client/src/Pages/HomePage.js
View file @
3ef60774
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
React
,
{
useState
,
useEffect
}
from
'
react
'
;
import
Menu
from
'
../Components/Menu
'
;
import
Menu
from
'
../Components/Menu
'
;
import
Schedule
from
'
../Components/Schedule
'
;
import
Schedule
from
'
../Components/Schedule
'
;
import
Tabs
from
'
react-bootstrap/Tabs
'
;
import
{
Container
,
Tabs
,
Tab
}
from
'
react-bootstrap
'
;
import
Tab
from
'
react-bootstrap/Tab
'
;
function
Home
()
{
function
Home
()
{
const
[
key
,
setKey
]
=
useState
(
'
9-116
'
);
const
[
key
,
setKey
]
=
useState
(
'
9-116
'
);
...
@@ -10,7 +9,7 @@ function Home() {
...
@@ -10,7 +9,7 @@ function Home() {
return
(
return
(
<
div
>
<
div
>
<
Menu
/>
<
Menu
/>
<
div
className
=
"
co
ntainer
mt-3
"
>
<
Container
className
=
"
co
l-md-10
mt-3
"
>
<
h2
>
대관
현황
<
/h2
>
<
h2
>
대관
현황
<
/h2
>
<
p
>
<
p
>
<
strong
>
대관
가능
시간
<
/strong
>
<
strong
>
대관
가능
시간
<
/strong
>
...
@@ -41,7 +40,7 @@ function Home() {
...
@@ -41,7 +40,7 @@ function Home() {
<
div
className
=
"
bg-white
"
>
<
div
className
=
"
bg-white
"
>
<
h6
>
고려대학교
대관시스템
<
/h6
>
<
h6
>
고려대학교
대관시스템
<
/h6
>
<
/div
>
<
/div
>
<
/
div
>
<
/
Container
>
<
/div
>
<
/div
>
)
)
}
}
...
...
server/client/src/caret-left-fill.svg
0 → 100644
View file @
3ef60774
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 16 16"
class=
"bi bi-caret-left-fill"
fill=
"currentColor"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M3.86 8.753l5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z"
/>
</svg>
\ No newline at end of file
server/client/src/caret-right-fill.svg
0 → 100644
View file @
3ef60774
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 16 16"
class=
"bi bi-caret-right-fill"
fill=
"currentColor"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M12.14 8.753l-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z"
/>
</svg>
\ No newline at end of file
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