forked from CSI-KJSCE/appointment_to_examiner
Email css, faculty consolidated-table
This commit is contained in:
@@ -242,6 +242,7 @@ const ConsolidatedTable = () => {
|
||||
<div style={styles.tableContainer}>
|
||||
{currentTeachers.map((teacher, index) => {
|
||||
const teacherData = data.filter((row) => row.Name === teacher);
|
||||
console.log(teacherData);
|
||||
return (
|
||||
<div key={index} style={{ marginBottom: "20px" }}>
|
||||
<div
|
||||
@@ -288,10 +289,11 @@ const ConsolidatedTable = () => {
|
||||
<thead>
|
||||
<tr>
|
||||
<th style={styles.th}>Semester</th>
|
||||
<th style={styles.th}>Program</th>
|
||||
<th style={styles.th}>Course Code</th>
|
||||
<th style={styles.th}>Course Name</th>
|
||||
<th style={styles.th}>Exam Type</th>
|
||||
<th style={styles.th}>Year</th>
|
||||
<th style={styles.th}>Exam Period</th>
|
||||
<th style={styles.th}>Marks</th>
|
||||
<th style={styles.th}>Name</th>
|
||||
<th style={styles.th}>Affiliation/College</th>
|
||||
@@ -309,10 +311,11 @@ const ConsolidatedTable = () => {
|
||||
{teacherData.map((row, idx) => (
|
||||
<tr key={idx}>
|
||||
<td style={styles.td}>{row.semester}</td>
|
||||
<td style={styles.td}>{row.program}</td>
|
||||
<td style={styles.td}>{row.courseCode}</td>
|
||||
<td style={styles.td}>{row.courseName}</td>
|
||||
<td style={styles.td}>{row.examType}</td>
|
||||
<td style={styles.td}>{row.year}</td>
|
||||
<td style={styles.td}>{row.examPeriod +" "+ row.academicYear}</td>
|
||||
<td style={styles.td}>{row.marks}</td>
|
||||
<td style={styles.td}>{row.Name}</td>
|
||||
<td style={styles.td}>{row.affiliation}</td>
|
||||
|
||||
Reference in New Issue
Block a user