Skip to content
Snippets Groups Projects
Commit 79178883 authored by Sadler, David's avatar Sadler, David
Browse files

Merge branch 'master' into 'recruiter-internship-page'

# Conflicts:
#   src/app/recruiterInternship/page.js
parents c2cf0fb9 0844f1cd
No related branches found
No related tags found
7 merge requests!65Master,!53Cv upload,!50Change navigation buttons to reflect user feedback,!49Master,!47fix profuction sort button flickering issue,!44Recruiter internship page,!43Recruiter: Add staring and evidence ;Student: add Dashboard Timeline; Add univseral navbar
Pipeline #424082 canceled
......@@ -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() {
......@@ -60,10 +61,13 @@ class ApplicantList extends Component {
</Card.Header>
<ListGroup> {
this.state.applications.map((application, i) => (
<ListGroupItem key={application.student.name}>
<Container className="d-flex justify-content-between" style={{cursor: "pointer"}} onClick={this.selectApplicant(i)}>
<p className="text-center">{application.student.name}</p>
this.state.applications.map((application) => (
<ListGroupItem className="applicantListItem" key={application.student.name}>
<Container fluid style={{ cursor: "pointer" }} onClick={this.selectApplicant(i)}>
<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>
))}
......@@ -147,7 +151,7 @@ const StarRating = ({ initialRating, studentID, postID, requirementID }) => {
onMouseEnter={() => setHover(index + 1)}
onMouseLeave={() => setHover(rating)}
>
<span className="star">&#9733;</span>
<span className="star"><AiFillStar size={20} /></span>
</button>
);}
)}
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment