Spaces:
Sleeping
Sleeping
Upload dashboard (1).html
#1
by
Simrandhiman
- opened
- templates/dashboard (1).html +131 -0
templates/dashboard (1).html
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% extends "base.html" %}
|
| 2 |
+
{% block content %}
|
| 3 |
+
<div class="container" role="main">
|
| 4 |
+
<header class="profile-header">
|
| 5 |
+
<h1 id="fullName">Gursimar Singh</h1>
|
| 6 |
+
<h2 id="title">Student</h2>
|
| 7 |
+
</header>
|
| 8 |
+
|
| 9 |
+
<section aria-labelledby="about-me-title">
|
| 10 |
+
<h3 id="about-me-title">About Me</h3>
|
| 11 |
+
<p>
|
| 12 |
+
I am a motivated student actively learning Python, artificial intelligence, machine learning,
|
| 13 |
+
and web development. Driven by curiosity and innovation, I strive to create impactful solutions
|
| 14 |
+
and grow my expertise in these cutting-edge technologies.
|
| 15 |
+
</p>
|
| 16 |
+
</section>
|
| 17 |
+
|
| 18 |
+
<section aria-labelledby="skills-title">
|
| 19 |
+
<h3 id="skills-title">Skills</h3>
|
| 20 |
+
<ul class="skills-list">
|
| 21 |
+
<li>Python</li>
|
| 22 |
+
<li>Artificial Intelligence (AI)</li>
|
| 23 |
+
<li>Machine Learning (ML)</li>
|
| 24 |
+
<li>Web Development (HTML, CSS, JavaScript)</li>
|
| 25 |
+
<li>Data Analysis</li>
|
| 26 |
+
<li>Flask / Django</li>
|
| 27 |
+
<li>RESTful APIs</li>
|
| 28 |
+
<li>Git & Version Control</li>
|
| 29 |
+
</ul>
|
| 30 |
+
</section>
|
| 31 |
+
|
| 32 |
+
<section aria-labelledby="projects-title">
|
| 33 |
+
<h3 id="projects-title">Projects</h3>
|
| 34 |
+
<div class="projects">
|
| 35 |
+
<article class="project-card">
|
| 36 |
+
<h4>NumPy Project</h4>
|
| 37 |
+
<p>A hands-on project utilizing NumPy for efficient numerical computations and data manipulation.</p>
|
| 38 |
+
<a href="#" target="_blank" rel="noopener noreferrer">Project Link</a>
|
| 39 |
+
</article>
|
| 40 |
+
|
| 41 |
+
<article class="project-card">
|
| 42 |
+
<h4>Data Visualization Project</h4>
|
| 43 |
+
<p>Created dynamic visual representations of data using Matplotlib and Seaborn to uncover insights.</p>
|
| 44 |
+
<a href="#" target="_blank" rel="noopener noreferrer">Project Link</a>
|
| 45 |
+
</article>
|
| 46 |
+
</div>
|
| 47 |
+
</section>
|
| 48 |
+
|
| 49 |
+
<!-- ๐น Iris Prediction Form -->
|
| 50 |
+
<section aria-labelledby="predict-title" id="predict-section">
|
| 51 |
+
<h3 id="predict-title">Iris Flower Predictor</h3>
|
| 52 |
+
<form method="POST" action="{{ url_for('predict') }}">
|
| 53 |
+
<input type="number" step="0.1" name="sepal_length" placeholder="Sepal Length" required>
|
| 54 |
+
<input type="number" step="0.1" name="sepal_width" placeholder="Sepal Width" required>
|
| 55 |
+
<input type="number" step="0.1" name="petal_length" placeholder="Petal Length" required>
|
| 56 |
+
<input type="number" step="0.1" name="petal_width" placeholder="Petal Width" required>
|
| 57 |
+
<button type="submit">Predict</button>
|
| 58 |
+
</form>
|
| 59 |
+
|
| 60 |
+
{% if prediction %}
|
| 61 |
+
<div class="prediction-box">
|
| 62 |
+
๐ธ The predicted flower species is: <strong>{{ prediction }}</strong>
|
| 63 |
+
</div>
|
| 64 |
+
{% endif %}
|
| 65 |
+
|
| 66 |
+
{% if error %}
|
| 67 |
+
<div class="alert alert-danger">{{ error }}</div>
|
| 68 |
+
{% endif %}
|
| 69 |
+
</section>
|
| 70 |
+
|
| 71 |
+
<section class="contact">
|
| 72 |
+
<a href="https://linkedin.com/in/gursimar007" target="_blank" rel="noopener noreferrer">LinkedIn</a>
|
| 73 |
+
<a href="https://github.com/gursimar007" target="_blank" rel="noopener noreferrer">GitHub</a>
|
| 74 |
+
</section>
|
| 75 |
+
|
| 76 |
+
<a href="{{ url_for('logout') }}">
|
| 77 |
+
<button class="logout-btn">Logout</button>
|
| 78 |
+
</a>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
<style>
|
| 82 |
+
body {
|
| 83 |
+
background: #f5f7fa;
|
| 84 |
+
color: #333;
|
| 85 |
+
line-height: 1.6;
|
| 86 |
+
min-height: 100vh;
|
| 87 |
+
display: flex;
|
| 88 |
+
justify-content: center;
|
| 89 |
+
align-items: flex-start;
|
| 90 |
+
padding: 30px;
|
| 91 |
+
}
|
| 92 |
+
.container {
|
| 93 |
+
background: white;
|
| 94 |
+
max-width: 900px;
|
| 95 |
+
width: 100%;
|
| 96 |
+
border-radius: 12px;
|
| 97 |
+
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
|
| 98 |
+
padding: 40px 50px;
|
| 99 |
+
}
|
| 100 |
+
.profile-header { text-align: center; margin-bottom: 40px; }
|
| 101 |
+
h1 { font-weight: 700; font-size: 2.4rem; margin-bottom: 6px; color: #222; }
|
| 102 |
+
h2 { font-weight: 600; font-size: 1.4rem; margin-bottom: 20px; color: #666; font-style: italic; }
|
| 103 |
+
section { margin-bottom: 35px; }
|
| 104 |
+
section h3 { font-weight: 600; font-size: 1.3rem; margin-bottom: 15px; border-bottom: 2px solid #a6c1ff; padding-bottom: 6px; color: #444; }
|
| 105 |
+
p { font-size: 1rem; color: #555; }
|
| 106 |
+
.skills-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
|
| 107 |
+
.skills-list li { background: #a6c1ff; color: white; padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: background-color 0.3s ease; cursor: default; }
|
| 108 |
+
.skills-list li:hover { background: #7a94ff; }
|
| 109 |
+
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
|
| 110 |
+
.project-card { background: #f0f4ff; padding: 20px 25px; border-radius: 12px; box-shadow: 0 6px 12px rgba(118,132,255,0.15); transition: box-shadow 0.3s ease; }
|
| 111 |
+
.project-card:hover { box-shadow: 0 10px 25px rgba(118,132,255,0.3); }
|
| 112 |
+
.project-card h4 { margin-bottom: 10px; color: #3546c4; font-weight: 700; font-size: 1.1rem; }
|
| 113 |
+
.project-card p { font-size: 0.95rem; color: #444; margin-bottom: 12px; min-height: 52px; }
|
| 114 |
+
.project-card a { font-size: 0.9rem; color: #5a67ff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color 0.3s ease; }
|
| 115 |
+
.project-card a:hover { border-color: #5a67ff; }
|
| 116 |
+
.contact { text-align: center; }
|
| 117 |
+
.contact a { display: inline-block; margin: 0 15px; text-decoration: none; color: #5a67ff; font-weight: 700; font-size: 1rem; border: 2px solid #5a67ff; padding: 10px 22px; border-radius: 30px; box-shadow: 0 6px 12px rgba(90,103,255,0.3); transition: all 0.3s ease; }
|
| 118 |
+
.contact a:hover { background: #5a67ff; color: white; box-shadow: 0 8px 20px rgba(90,103,255,0.6); }
|
| 119 |
+
.logout-btn { margin: 40px auto 0; display: block; background: #ff5c5c; color: white; font-weight: 700; border: none; padding: 14px 28px; border-radius: 30px; cursor: pointer; box-shadow: 0 6px 12px rgba(255,92,92,0.4); transition: background-color 0.3s ease; }
|
| 120 |
+
.logout-btn:hover { background: #e04545; }
|
| 121 |
+
.prediction-box { margin-top: 20px; padding: 15px; background: #e8f0fe; border-left: 5px solid #5a67ff; border-radius: 8px; font-size: 1.1rem; }
|
| 122 |
+
.alert { margin-top: 15px; padding: 12px; border-radius: 8px; background: #ffe6e6; color: #cc0000; text-align: center; }
|
| 123 |
+
</style>
|
| 124 |
+
|
| 125 |
+
{% if scroll_to %}
|
| 126 |
+
<script>
|
| 127 |
+
document.getElementById("{{ scroll_to }}-title")
|
| 128 |
+
.scrollIntoView({ behavior: "smooth" });
|
| 129 |
+
</script>
|
| 130 |
+
{% endif %}
|
| 131 |
+
{% endblock %}
|