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
f1db80b9
Commit
f1db80b9
authored
1 year ago
by
stevenchenwaiho@gmail.com
Browse files
Options
Downloads
Patches
Plain Diff
add avgRating for applicant list
parent
c5d59dd5
No related branches found
Branches containing commit
No related tags found
7 merge requests
!65
Master
,
!53
Cv upload
,
!50
Change navigation buttons to reflect user feedback
,
!49
Master
,
!47
fix profuction sort button flickering issue
,
!43
Recruiter: Add staring and evidence ;Student: add Dashboard Timeline; Add univseral navbar
,
!42
add avgRating for applicant list
Pipeline
#424045
passed
1 year ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/recruiterInternship/page.js
+8
-4
8 additions, 4 deletions
src/app/recruiterInternship/page.js
src/app/recruiterInternship/recruiterInternship.css
+27
-0
27 additions, 0 deletions
src/app/recruiterInternship/recruiterInternship.css
with
35 additions
and
4 deletions
src/app/recruiterInternship/page.js
+
8
−
4
View file @
f1db80b9
...
...
@@ -6,6 +6,7 @@ import { Accordion, Button, Card, Col, Container, ListGroup, ListGroupItem, Nav,
import
{
Component
,
useEffect
,
useState
}
from
"
react
"
;
import
RecruiterNavbar
from
"
../recruiterNavbar
"
;
import
{
BsSearch
,
BsSortDown
}
from
'
react-icons/bs
'
;
import
{
AiFillStar
}
from
'
react-icons/ai
'
import
'
../globals.css
'
function
RecruiterInternship
()
{
...
...
@@ -63,9 +64,12 @@ class ApplicantList extends Component {
<
ListGroup
>
{
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
>
<
ListGroupItem
className
=
"
applicantListItem
"
key
=
{
application
.
student
.
name
}
>
<
Container
fluid
style
=
{{
cursor
:
"
pointer
"
}}
>
<
Row
className
=
"
applicantListRow
"
>
<
Col
sm
=
{
9
}
className
=
"
studentNameCol
"
><
p
className
=
"
text-left studentName
"
>
{
application
.
student
.
name
}
<
/p></
Col
>
<
Col
sm
=
{
3
}
className
=
"
avgRatingCol
"
><
p
className
=
"
text-center avgRating
"
>
3.5
<
/p><AiFillStar style={{alignContent: "center"}} size=
{30}
color="#ffc800"/
><
/Col
>
<
/Row
>
<
/Container
>
<
/ListGroupItem
>
))}
...
...
@@ -131,7 +135,7 @@ const StarRating = () => {
onMouseLeave
=
{()
=>
setHover
(
rating
)}
onDoubleClick
=
{()
=>
{
setRating
(
0
);
setHover
(
0
);}}
>
<
span
className
=
"
star
"
>
&
#
9733
;
<
/span
>
<
span
className
=
"
star
"
>
<
AiFillStar
size
=
{
20
}
/>
</
span
>
<
/button
>
);}
)}
...
...
This diff is collapsed.
Click to expand it.
src/app/recruiterInternship/recruiterInternship.css
+
27
−
0
View file @
f1db80b9
...
...
@@ -9,4 +9,31 @@ p {
.ratingCard
{
border
:
0em
;
}
.applicantListItem
{
margin
:
20px
;
margin-bottom
:
0px
;
border
:
1px
solid
lightgray
!important
;
padding
:
5px
;
}
.applicantListRow
{
width
:
100%
;
margin
:
0px
;
}
.studentName
{
width
:
100%
;
margin
:
0px
;
}
.avgRating
{
margin
:
0px
;
}
.avgRatingCol
{
padding
:
0px
;
align-items
:
center
;
display
:
flex
;
}
\ No newline at end of file
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