Update app.py
Browse files
app.py
CHANGED
@@ -145,39 +145,15 @@ def track_progress():
|
|
145 |
st.subheader("Track Your Progress")
|
146 |
st.write("Here's your detailed progress data:")
|
147 |
st.markdown(f"""
|
148 |
-
<div class="progress-container"
|
149 |
-
<
|
150 |
-
|
151 |
-
|
152 |
-
</
|
153 |
-
<
|
154 |
-
|
155 |
-
|
156 |
-
</
|
157 |
-
<div style="display: flex; align-items: center;">
|
158 |
-
<i class="fa fa-sitemap" style="font-size: 24px; color: #FF5722; margin-right: 10px;"></i>
|
159 |
-
<p><strong>Situational Questions Solved:</strong> {progress_data['questions_solved']['Situational']}</p>
|
160 |
-
</div>
|
161 |
-
<div style="display: flex; align-items: center;">
|
162 |
-
<i class="fa fa-briefcase" style="font-size: 24px; color: #9C27B0; margin-right: 10px;"></i>
|
163 |
-
<p><strong>Case Study Questions Solved:</strong> {progress_data['questions_solved']['Case Study']}</p>
|
164 |
-
</div>
|
165 |
-
<div style="display: flex; align-items: center;">
|
166 |
-
<i class="fa fa-lightbulb-o" style="font-size: 24px; color: #FFC107; margin-right: 10px;"></i>
|
167 |
-
<p><strong>Problem Solving Questions Solved:</strong> {progress_data['questions_solved']['Problem Solving']}</p>
|
168 |
-
</div>
|
169 |
-
<div style="display: flex; align-items: center;">
|
170 |
-
<i class="fa fa-video-camera" style="font-size: 24px; color: #4CAF50; margin-right: 10px;"></i>
|
171 |
-
<p><strong>Mock Interviews Taken:</strong> {progress_data['mock_interviews_taken']}</p>
|
172 |
-
</div>
|
173 |
-
<div style="display: flex; align-items: center;">
|
174 |
-
<i class="fa fa-comment-dots" style="font-size: 24px; color: #2196F3; margin-right: 10px;"></i>
|
175 |
-
<p><strong>Feedback Provided:</strong> {progress_data['feedback_provided']}</p>
|
176 |
-
</div>
|
177 |
-
<div style="display: flex; align-items: center;">
|
178 |
-
<i class="fa fa-lightbulb" style="font-size: 24px; color: #FF5722; margin-right: 10px;"></i>
|
179 |
-
<p><strong>Tips Retrieved:</strong> {progress_data['tips_retrieved']}</p>
|
180 |
-
</div>
|
181 |
</div>
|
182 |
""", unsafe_allow_html=True)
|
183 |
|
@@ -388,5 +364,4 @@ st.markdown("""
|
|
388 |
<div class="footer">
|
389 |
<p>© 2024 TechPrep. All rights reserved.</p>
|
390 |
</div>
|
391 |
-
""", unsafe_allow_html=True)
|
392 |
-
|
|
|
145 |
st.subheader("Track Your Progress")
|
146 |
st.write("Here's your detailed progress data:")
|
147 |
st.markdown(f"""
|
148 |
+
<div class="progress-container">
|
149 |
+
<p><strong>Behavioral Questions Solved:</strong> {progress_data['questions_solved']['Behavioral']}</p>
|
150 |
+
<p><strong>Technical Questions Solved:</strong> {progress_data['questions_solved']['Technical']}</p>
|
151 |
+
<p><strong>Situational Questions Solved:</strong> {progress_data['questions_solved']['Situational']}</p>
|
152 |
+
<p><strong>Case Study Questions Solved:</strong> {progress_data['questions_solved']['Case Study']}</p>
|
153 |
+
<p><strong>Problem Solving Questions Solved:</strong> {progress_data['questions_solved']['Problem Solving']}</p>
|
154 |
+
<p><strong>Mock Interviews Taken:</strong> {progress_data['mock_interviews_taken']}</p>
|
155 |
+
<p><strong>Feedback Provided:</strong> {progress_data['feedback_provided']}</p>
|
156 |
+
<p><strong>Tips Retrieved:</strong> {progress_data['tips_retrieved']}</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
</div>
|
158 |
""", unsafe_allow_html=True)
|
159 |
|
|
|
364 |
<div class="footer">
|
365 |
<p>© 2024 TechPrep. All rights reserved.</p>
|
366 |
</div>
|
367 |
+
""", unsafe_allow_html=True)
|
|