From 09bbabb765d9e8c64b9455394295b5732622d3c3 Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Wed, 27 Jul 2022 19:19:10 -0500
Subject: Parse the `csv` questionnairre. Currently populates values for
 recently added attributes for only existing PTs.

---
 src/components/PeerTeachers.svelte | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

(limited to 'src/components/PeerTeachers.svelte')

diff --git a/src/components/PeerTeachers.svelte b/src/components/PeerTeachers.svelte
index f0d34de..22e1622 100644
--- a/src/components/PeerTeachers.svelte
+++ b/src/components/PeerTeachers.svelte
@@ -26,13 +26,12 @@
     });
   }
 
-  let headers = ["", "First", "Last", "UIN", "Email", "Lab Hours", ""];
+  let headers = ["", "First", "Last", "Email", "UIN", "Phone", "Pref", "Lab", "Gen","Ethnicity", "Grad", "Status", ""];
 
-  $: console.log(headers);
 </script>
 
 <div class="overflow-auto h-full">
-  <table class="table w-full">
+  <table class="table table-compact w-full">
     <!-- head -->
     <thead>
       <tr>
@@ -65,11 +64,15 @@
             {/if}
           </th>
           <th>{pt.lastname}</th>
-          <th>{pt.id}</th>
           <th>{pt.email}</th>
-          <th>
-            {pt.lab_hours}
-          </th>
+          <th>{pt.id}</th>
+          <th>{pt.phone_number}</th>
+          <th>{pt.pref_work}</th>
+          <th>{pt.lab_hours}</th>
+          <th>{pt.gender}</th>
+          <th>{pt.ethnicity}</th>
+          <th>{pt.graduation}</th>
+          <th>{pt.new_ret}</th>
           <th
             ><button
               on:click={() => deletePT(pt.id)}
-- 
cgit v1.2.3

