Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DRP_45
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wakefield, Rob
DRP_45
Commits
5b8a72da
Commit
5b8a72da
authored
1 year ago
by
tyw21
Browse files
Options
Downloads
Patches
Plain Diff
Used containers
parent
6f8c3d2a
No related branches found
Branches containing commit
No related tags found
7 merge requests
!65
Master
,
!50
Change navigation buttons to reflect user feedback
,
!47
fix profuction sort button flickering issue
,
!43
Recruiter: Add staring and evidence ;Student: add Dashboard Timeline; Add univseral navbar
,
!36
Create pages from mockups and link with Prisma Merge
,
!33
Recruiter dashboard
,
!31
Recruiter internship page
Pipeline
#423220
passed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/recruiterInternship/page.js
+47
-9
47 additions, 9 deletions
src/app/recruiterInternship/page.js
with
47 additions
and
9 deletions
src/app/recruiterInternship/page.js
+
47
−
9
View file @
5b8a72da
'
use client
'
import
"
bootstrap/dist/css/bootstrap.min.css
"
import
Button
from
"
react-bootstrap/Button
"
;
import
{
ListGroup
,
ListGroupItem
,
Nav
}
from
"
react-bootstrap
"
;
import
{
Button
,
Card
,
Col
,
Container
,
ListGroup
,
ListGroupItem
,
Nav
,
Row
}
from
"
react-bootstrap
"
;
import
{
Component
,
useEffect
,
useState
}
from
"
react
"
;
import
Card
from
'
react-bootstrap/Card
'
;
function
RecruiterInternship
()
{
const
[
post
,
setPost
]
=
useState
({
name
:
""
,
applications
:
[]});
...
...
@@ -20,10 +18,14 @@ function RecruiterInternship() {
<
Card
>
<
Card
.
Header
>
{
post
.
name
}
<
/Card.Header
>
<
Card
.
Body
>
<
Nav
fill
className
=
"
justify-content-center
"
>
<
ApplicantList
post
=
{
post
}
/
>
<
SkillList
/>
<
/Nav
>
<
Row
>
<
Col
>
<
ApplicantList
post
=
{
post
}
/
>
<
/Col
>
<
Col
>
<
SkillList
/>
<
/Col
>
<
/Row
>
<
/Card.Body
>
<
/Card
>
<
/main
>
...
...
@@ -46,7 +48,25 @@ class ApplicantList extends Component {
}
render
()
{
return
(
<
ListGroup
>
{
this
.
state
.
applications
.
map
((
application
)
=>
(
<
ListGroupItem
key
=
{
application
.
student
.
name
}
>
{
application
.
student
.
name
}
<
/ListGroupItem>
))
}</
ListGroup
>
<
Container
style
=
{{
height
:
"
80vh
"
}}
>
<
Card
className
=
"
mt-4 h-100
"
>
<
Card
.
Header
className
=
"
d-flex justify-content-between
"
>
<
Button
>
Sort
<
/Button
>
<
h4
>
Applicants
<
/h4
>
<
Button
>
Search
<
/Button
>
<
/Card.Header
>
<
ListGroup
componentClass
=
"
ul
"
>
{
this
.
state
.
applications
.
map
((
application
)
=>
(
<
ListGroupItem
key
=
{
application
.
student
.
name
}
>
<
Container
className
=
"
d-flex justify-content-between
"
style
=
{{
cursor
:
"
pointer
"
}}
>
<
p
className
=
"
text-center
"
>
{
application
.
student
.
name
}
<
/p
>
<
/Container
>
<
/ListGroupItem
>
))}
<
/ListGroup
>
<
/Card
>
<
/Container
>
)
}
}
...
...
@@ -59,7 +79,25 @@ class SkillList extends Component {
];
render
()
{
return
(
<
ListGroup
>
{
this
.
skills
.
map
((
skill
)
=>
(
<
ListGroupItem
key
=
{
skill
.
name
}
>
{
skill
.
name
}
<
/ListGroupItem>
))
}</
ListGroup
>
<
Container
style
=
{{
height
:
"
80vh
"
}}
>
<
Card
className
=
"
mt-4 h-100
"
>
<
Card
.
Header
className
=
"
d-flex justify-content-between
"
>
<
Button
>
See
Documents
<
/Button
>
<
h4
>
Skills
<
/h4
>
<
Button
>
Accept
<
/Button
>
<
/Card.Header
>
<
ListGroup
componentClass
=
"
ul
"
>
{
this
.
skills
.
map
((
skill
)
=>
(
<
ListGroupItem
key
=
{
skill
.
name
}
>
<
Container
className
=
"
d-flex justify-content-between
"
style
=
{{
cursor
:
"
pointer
"
}}
>
<
p
className
=
"
text-center
"
>
{
skill
.
name
}
<
/p
>
<
/Container
>
<
/ListGroupItem
>
))}
<
/ListGroup
>
<
/Card
>
<
/Container
>
)
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment