-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdashb.html
133 lines (116 loc) · 5.58 KB
/
dashb.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>PathFinder</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@300;400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
}
.sitename {
font-size: 2em !important;
font-family: 'Poppins', sans-serif;
}
.user-details, .scholarship-links {
margin-top: 30px;
background-color: #f8f9fa;
padding: 20px;
border-radius: 10px;
}
.hero-img img {
max-width: 100%;
height: auto;
}
.scholarship-links h3 {
margin-bottom: 15px;
}
.scholarship-links ul {
list-style-type: none;
padding-left: 0;
}
.scholarship-links li {
margin-bottom: 10px;
}
</style>
</head>
<body class="index-page">
<header class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="#">
<img src="assets/img/logo.png" alt="Logo" width="30" height="30" class="d-inline-block align-top">
<span class="sitename">PathFinder</span>
</a>
</div>
</header>
<main class="main">
<section id="hero" class="hero section py-5">
<div class="container">
<div class="row gy-4">
<div class="col-lg-6 order-2 order-lg-1">
<h1>Congratulations!!</h1>
<h4 class="mt-4">You have successfully registered for PathFinder program. Gear Up! Your Edu-adventure begins here!</h4>
<div class="user-details">
<h3>User Details:</h3>
<p><strong>Name: Mahathi S</strong> </p>
<p><strong>Branch:</strong> <span id="branch"></span></p>
<p><strong>Preferred Subjects:</strong> <span id="preferred-subjects"></span></p>
<p><strong>Career Goals:</strong> <span id="career-goals"></span></p>
<p><strong>Fields of Interest:</strong> <span id="fields-of-interest"></span></p>
<p><strong>Preferred Job Roles:</strong> <span id="preferred-job-roles"></span></p>
<p><strong>Technical Skills:</strong> <span id="technical-skills"></span></p>
<p><strong>Certifications:</strong> <span id="certifications"></span></p>
</div>
<div class="scholarship-links">
<h3>Looking for a Scholarship?</h3>
<ul>
<li><a href="https://www.northsouth.org/app6/Maintest.aspx" target="_blank">North South Foundation Scholarships</a></li>
<li><a href="https://scholarships.theietevents.com/#" target="_blank">IET India Scholarship Awards</a></li>
<li><a href="https://www.education.gov.in/scholarships-education-loan-0" target="_blank">Ministry of Education Scholarships</a></li>
<li><a href="https://www.tatatrusts.org/our-work/individual-grants-programme/education-grants" target="_blank">Tata Trusts Education Grants</a></li>
<li><a href="https://www.swamidayanand.org/scholarship-india" target="_blank">Swami Dayanand Education Foundation Scholarship</a></li>
</ul>
</div>
</div>
<div class="col-lg-6 order-1 order-lg-2 hero-img">
<img src="assets/img/dash.jpg" class="img-fluid" alt="Dashboard Image">
</div>
</div>
</div>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const csvData = `Education_Level,Branch,Preferred_Branch,Preferred_Subjects,Least_Preferred_Subjects,Learning_Style,Career_Goals,Fields_of_Interest,Preferred_Job_Roles,Technical_Skills,Certifications,Work_Experience,Learning_Platforms,Courses_Certifications,Passionate_Skills
In College,computer science,,"dsa,ml",microcontroller,visual,internship,machine learning,ml developer,python,na,na,"youtube , cousera ",na,['Designing']`;
processData(csvData);
});
function processData(csv) {
const lines = csv.split('\n');
const headers = lines[0].split(',');
const data = lines[1].split(',');
const user = {};
for (let i = 0; i < headers.length; i++) {
user[headers[i]] = data[i];
}
document.getElementById('branch').textContent = user['Branch'] || 'N/A';
document.getElementById('preferred-subjects').textContent = user['Preferred_Subjects'] || 'N/A';
document.getElementById('career-goals').textContent = user['Career_Goals'] || 'N/A';
document.getElementById('fields-of-interest').textContent = user['Fields_of_Interest'] || 'N/A';
document.getElementById('preferred-job-roles').textContent = user['Preferred_Job_Roles'] || 'N/A';
document.getElementById('technical-skills').textContent = user['Technical_Skills'] || 'N/A';
document.getElementById('certifications').textContent = user['Certifications'] || 'N/A';
}
</script>
</body>
</html>