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
search-page
Commits
f039e74c
Commit
f039e74c
authored
Jan 27, 2021
by
baesangjune
Browse files
진짜 페이지네이션 마지막
parent
6f794ed1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
client/.eslintcache
View file @
f039e74c
This diff is collapsed.
Click to expand it.
client/src/Components/Paginations.js
View file @
f039e74c
...
@@ -31,12 +31,15 @@ function Paginations(props) {
...
@@ -31,12 +31,15 @@ function Paginations(props) {
<
/Pagination
>
<
/Pagination
>
:
:
<
Pagination
>
<
Pagination
>
{
props
.
index
===
1
?
""
:
<
Pagination
.
First
onClick
=
{()
=>
props
.
handlePage
(
1
)}
/>
}
{
props
.
index
===
1
?
""
:
<
Pagination
.
Prev
onClick
=
{()
=>
props
.
handlePage
(
props
.
index
-
1
)}
/>
}
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
1
)}
active
=
{
props
.
index
===
1
}
>
1
<
/Pagination.Item
>
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
1
)}
active
=
{
props
.
index
===
1
}
>
1
<
/Pagination.Item
>
{
props
.
endPage
>
1
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
2
)}
active
=
{
props
.
index
===
2
}
>
2
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
1
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
2
)}
active
=
{
props
.
index
===
2
}
>
2
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
2
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
3
)}
active
=
{
props
.
index
===
3
}
>
3
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
2
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
3
)}
active
=
{
props
.
index
===
3
}
>
3
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
3
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
4
)}
active
=
{
props
.
index
===
4
}
>
4
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
3
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
4
)}
active
=
{
props
.
index
===
4
}
>
4
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
4
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
5
)}
active
=
{
props
.
index
===
5
}
>
5
<
/Pagination.Item> : ""
}
{
props
.
endPage
>
4
?
<
Pagination
.
Item
onClick
=
{()
=>
props
.
handlePage
(
5
)}
active
=
{
props
.
index
===
5
}
>
5
<
/Pagination.Item> : ""
}
{
props
.
index
===
props
.
endPage
?
""
:
<
Pagination
.
Next
onClick
=
{()
=>
props
.
handlePage
(
props
.
index
+
1
)}
/>
}
{
props
.
index
===
props
.
endPage
?
""
:
<
Pagination
.
Last
onClick
=
{()
=>
props
.
handlePage
(
props
.
endPage
)}
/>
}
...
...
client/src/Pages/Search.js
View file @
f039e74c
...
@@ -153,7 +153,7 @@ function Search(props) {
...
@@ -153,7 +153,7 @@ function Search(props) {
<
/InputGroup
>
<
/InputGroup
>
<
/Form
>
<
/Form
>
<
/Row
>
<
/Row
>
{
time
.
toLocaleString
()}
{
/*
{time.toLocaleString()}
*/
}
<
Row
className
=
"
d-flex flex-wrap
"
>
<
Row
className
=
"
d-flex flex-wrap
"
>
{
console
.
log
(
"
#####################33
"
,
pagePlace
)}
{
console
.
log
(
"
#####################33
"
,
pagePlace
)}
...
...
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