Skip to content

Commit

Permalink
added full data on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovit-Mathew236 committed Sep 9, 2024
1 parent 1382ec2 commit aa572cb
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions dist/forms/sih24.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ <h2 class="fs-2 fw-bolder">SIH'24</h2>
<thead>
<tr>
<th></th>
<th class="text-center CEO" colspan="9">Team Leader</th>
<th class="text-center CTO" colspan="5">Member 2</th>
<th class="text-center CMO" colspan="5">Member 3</th>
<th class="text-center CEO" colspan="5">Member 4</th>
<th class="text-center CTO" colspan="5">Member 5</th>
<th class="text-center CMO" colspan="5">Member 6</th>
<th class="text-center CEO" colspan="10">Team Leader</th>
<th class="text-center CTO" colspan="6">Member 2</th>
<th class="text-center CMO" colspan="6">Member 3</th>
<th class="text-center CEO" colspan="6">Member 4</th>
<th class="text-center CTO" colspan="6">Member 5</th>
<th class="text-center CMO" colspan="6">Member 6</th>
<th class="text-start CEO" colspan="4">Team</th>
<th class="text-start" colspan="8">Submission Docs</th>
</tr>
Expand All @@ -47,36 +47,47 @@ <h2 class="fs-2 fw-bolder">SIH'24</h2>
<th>Lead Email</th>
<th>Lead Phone</th>
<th>Lead Gender</th>
<th>Lead Stay</th>
<th>Lead LinkedIn</th>
<th>Lead Github</th>
<th>Lead Food Preference</th>

<th>M2 Name</th>
<th>M2 Email</th>
<th>M2 Gender</th>
<th>M2 Stay</th>
<th>M2 Branch</th>
<th>M2 Year</th>
<th>M2 Food Preference</th>

<th>M3 Name</th>
<th>M3 Email</th>
<th>M3 Gender</th>
<th>M3 Stay</th>
<th>M3 Branch</th>
<th>M3 Year</th>
<th>M3 Food Preference</th>

<th>M4 Name</th>
<th>M4 Email</th>
<th>M4 Gender</th>
<th>M4 Stay</th>
<th>M4 Branch</th>
<th>M4 Year</th>
<th>M4 Food Preference</th>

<th>M5 Name</th>
<th>M5 Email</th>
<th>M5 Gender</th>
<th>M5 Stay</th>
<th>M5 Branch</th>
<th>M5 Year</th>
<th>M5 Food Preference</th>

<th>M6 Name</th>
<th>M6 Email</th>
<th>M6 Gender</th>
<th>M6 Stay</th>
<th>M6 Branch</th>
<th>M6 Year</th>
<th>M6 Food Preference</th>
Expand Down
15 changes: 14 additions & 1 deletion src/script/sih24.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ function bodyTemplate(data, docId) {
<td>${data.teamLeader.currentYear}</td>
<td>${data.teamLeader.studentEmail}</td>
<td>${data.teamLeader.studentPhone}</td>
<td>${data.teamLeader.gender}</td>
<td>${
data.teamLeader.gender ? data.teamLeader.gender : ""
}</td>
<td>${data.teamLeader.stay}</td>
<td>${
data.teamLeader.linkedin
? `<a href="${data.teamLeader.linkedin}">${data.teamLeader.linkedin}</a>`
Expand All @@ -96,30 +99,40 @@ function bodyTemplate(data, docId) {
<td>${data.members[0]?.member2Name || ""}</td>
<td>${data.members[0]?.member2Email || ""}</td>
<td>${data.members[0]?.member2Gender || ""}</td>
<td>${data.members[0]?.member2Stay || ""}</td>
<td>${data.members[0]?.member2Branch || ""}</td>
<td>${data.members[0]?.member2Year || ""}</td>
<td>${data.members[0]?.member2FoodPreference || ""}</td>
<td>${data.members[1]?.member3Name || ""}</td>
<td>${data.members[1]?.member3Email || ""}</td>
<td>${data.members[1]?.member3Gender || ""}</td>
<td>${data.members[1]?.member3Stay || ""}</td>
<td>${data.members[1]?.member3Branch || ""}</td>
<td>${data.members[1]?.member3Year || ""}</td>
<td>${data.members[1]?.member3FoodPreference || ""}</td>
<td>${data.members[2]?.member4Name || ""}</td>
<td>${data.members[2]?.member4Email || ""}</td>
<td>${data.members[2]?.member4Gender || ""}</td>
<td>${data.members[2]?.member4Stay || ""}</td>
<td>${data.members[2]?.member4Branch || ""}</td>
<td>${data.members[2]?.member4Year || ""}</td>
<td>${data.members[2]?.member4FoodPreference || ""}</td>
<td>${data.members[3]?.member5Name || ""}</td>
<td>${data.members[3]?.member5Email || ""}</td>
<td>${data.members[3]?.member5Gender || ""}</td>
<td>${data.members[3]?.member5Stay || ""}</td>
<td>${data.members[3]?.member5Branch || ""}</td>
<td>${data.members[3]?.member5Year || ""}</td>
<td>${data.members[3]?.member5FoodPreference || ""}</td>
<td>${data.members[4]?.member6Name || ""}</td>
<td>${data.members[4]?.member6Email || ""}</td>
<td>${data.members[4]?.member6Gender || ""}</td>
<td>${data.members[4]?.member6Stay || ""}</td>
<td>${data.members[4]?.member6Branch || ""}</td>
<td>${data.members[4]?.member6Year || ""}</td>
<td>${data.members[4]?.member6FoodPreference || ""}</td>
Expand Down

0 comments on commit aa572cb

Please sign in to comment.