Spaces:
Build error
Build error
Update templates/result.html
Browse files- templates/result.html +77 -142
templates/result.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
|
| 30 |
transition: 1s ease;
|
| 31 |
}
|
| 32 |
-
|
| 33 |
.processed-container {
|
| 34 |
flex: 1; /* Equal flex for both sections */
|
| 35 |
overflow-y: auto; /* Allow vertical scrolling */
|
|
@@ -205,150 +205,85 @@
|
|
| 205 |
</div>
|
| 206 |
|
| 207 |
<!-- PDF and Personal Information Section -->
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
<div class="card
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
<
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
<
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
<
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
<
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
<
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
<
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
<
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
<
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
</div>
|
| 278 |
-
{% endif %}
|
| 279 |
-
</div>
|
| 280 |
-
</div>
|
| 281 |
-
{% endif %}
|
| 282 |
-
</div>
|
| 283 |
-
|
| 284 |
-
</div>
|
| 285 |
-
<h3 class="section-title">Professional Information</h3>
|
| 286 |
-
<div class="row">
|
| 287 |
-
<!-- Technical Skills -->
|
| 288 |
-
{% if parsed_data.professional.technical_skills != 'Not found' %}
|
| 289 |
-
<div class="col-md-6 col-lg-4 mb-4">
|
| 290 |
-
<div class="card">
|
| 291 |
-
<div class="card-body">
|
| 292 |
-
<h5 class="card-title">Technical Skills:</h5>
|
| 293 |
-
{% if parsed_data.professional.technical_skills and
|
| 294 |
-
parsed_data.professional.technical_skills is iterable and
|
| 295 |
-
parsed_data.professional.technical_skills is not string %}
|
| 296 |
-
<ul>
|
| 297 |
-
{% for skill in parsed_data.professional.technical_skills %}
|
| 298 |
-
<li>{{ skill }}</li>
|
| 299 |
-
{% endfor %}
|
| 300 |
-
</ul>
|
| 301 |
-
{% else %}
|
| 302 |
-
<p>No technical skills found</p>
|
| 303 |
-
{% endif %}
|
| 304 |
-
</div>
|
| 305 |
-
</div>
|
| 306 |
-
</div>
|
| 307 |
-
{% endif %}
|
| 308 |
-
<!-- Tools -->
|
| 309 |
-
{% if parsed_data.professional.tools != 'Not found' %}
|
| 310 |
-
<div class="col-md-6 col-lg-4 mb-4">
|
| 311 |
-
<div class="card">
|
| 312 |
-
<div class="card-body">
|
| 313 |
-
<h5 class="card-title">Tools:</h5>
|
| 314 |
-
{% if parsed_data.professional.tools and parsed_data.professional.tools is iterable and
|
| 315 |
-
parsed_data.professional.tools is not string %}
|
| 316 |
-
<ul>
|
| 317 |
-
{% for tool in parsed_data.professional.tools %}
|
| 318 |
-
<li>{{ tool }}</li>
|
| 319 |
-
{% endfor %}
|
| 320 |
-
</ul>
|
| 321 |
-
{% else %}
|
| 322 |
-
<p>No tools found</p>
|
| 323 |
-
{% endif %}
|
| 324 |
-
</div>
|
| 325 |
-
</div>
|
| 326 |
-
</div>
|
| 327 |
-
{% endif %}
|
| 328 |
-
<!-- Soft Skills -->
|
| 329 |
-
{% if parsed_data.professional.non_technical_skills != 'Not found' %}
|
| 330 |
-
<div class="col-md-6 col-lg-4 mb-4">
|
| 331 |
-
<div class="card">
|
| 332 |
-
<div class="card-body">
|
| 333 |
-
<h5 class="card-title">Soft Skills:</h5>
|
| 334 |
-
{% if parsed_data.professional.non_technical_skills and
|
| 335 |
-
parsed_data.professional.non_technical_skills is iterable and
|
| 336 |
-
parsed_data.professional.non_technical_skills is not string %}
|
| 337 |
-
<ul>
|
| 338 |
-
{% for skill in parsed_data.professional.non_technical_skills
|
| 339 |
-
%}
|
| 340 |
-
<li>{{ skill }}</li>
|
| 341 |
-
{% endfor %}
|
| 342 |
-
</ul>
|
| 343 |
-
{% else %}
|
| 344 |
-
<p>No soft skills found</p>
|
| 345 |
-
{% endif %}
|
| 346 |
</div>
|
|
|
|
| 347 |
</div>
|
| 348 |
-
</div>
|
| 349 |
-
|
| 350 |
-
</div>
|
| 351 |
-
</section>
|
| 352 |
|
| 353 |
<!-- Professional Information Section -->
|
| 354 |
<section>
|
|
|
|
| 29 |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
|
| 30 |
transition: 1s ease;
|
| 31 |
}
|
| 32 |
+
|
| 33 |
.processed-container {
|
| 34 |
flex: 1; /* Equal flex for both sections */
|
| 35 |
overflow-y: auto; /* Allow vertical scrolling */
|
|
|
|
| 205 |
</div>
|
| 206 |
|
| 207 |
<!-- PDF and Personal Information Section -->
|
| 208 |
+
<!-- PDF and Personal Information Section -->
|
| 209 |
+
<section>
|
| 210 |
+
<!-- <h3 class="section-title">Personal Information</h3> -->
|
| 211 |
+
<h3 class="section-title">Personal Information</h3>
|
| 212 |
+
<div class="row">
|
| 213 |
+
<!-- Personal Information Column -->
|
| 214 |
+
<div class="col-md-12">
|
| 215 |
+
{% if parsed_data %}
|
| 216 |
+
<div class="card">
|
| 217 |
+
<div class="card-body">
|
| 218 |
+
{% if parsed_data.personal.name != 'Not found' %}
|
| 219 |
+
<div class="d-flex">
|
| 220 |
+
<h5 class="card-title">Name:</h5>
|
| 221 |
+
<p class="card-text"> {{ parsed_data.personal.name or 'Not Found' }}</p>
|
| 222 |
+
</div>
|
| 223 |
+
{% endif %}
|
| 224 |
+
{% if parsed_data.personal.contact != 'Not found' %}
|
| 225 |
+
<div class="d-flex">
|
| 226 |
+
<h5 class="card-title">Contact:</h5>
|
| 227 |
+
<p class="card-text">
|
| 228 |
+
{{ parsed_data.personal.contact or 'Not Found' }}
|
| 229 |
+
{% if parsed_data.personal.invalid_contact %}
|
| 230 |
+
- ({{ parsed_data.personal.invalid_contact }})
|
| 231 |
+
{% endif %}
|
| 232 |
+
</p>
|
| 233 |
+
</div>
|
| 234 |
+
{% endif %}
|
| 235 |
+
{% if parsed_data.personal.email != 'Not found' %}
|
| 236 |
+
<div class="d-flex">
|
| 237 |
+
<h5 class="card-title">Email:</h5>
|
| 238 |
+
<p class="card-text">
|
| 239 |
+
{{ parsed_data.personal.email or 'Not Found' }}
|
| 240 |
+
{% if parsed_data.personal.invalid_email %}
|
| 241 |
+
({{ parsed_data.personal.invalid_email }})
|
| 242 |
+
{% endif %}
|
| 243 |
+
</p>
|
| 244 |
+
</div>
|
| 245 |
+
{% endif %}
|
| 246 |
+
{% if parsed_data.personal.location != 'Not found' %}
|
| 247 |
+
<div class="d-flex">
|
| 248 |
+
<h5 class="card-title">Location:</h5>
|
| 249 |
+
<p class="card-text"> {{ parsed_data.personal.location or 'Not Found' }}
|
| 250 |
+
</p>
|
| 251 |
+
</div>
|
| 252 |
+
{% endif %}
|
| 253 |
+
{% if parsed_data.personal.linkedin != 'Not found' %}
|
| 254 |
+
<div class="d-flex">
|
| 255 |
+
<h5 class="card-title">LinkedIn:</h5>
|
| 256 |
+
<p class="card-text">
|
| 257 |
+
{% if parsed_data.personal.linkedin != 'Not found' %}
|
| 258 |
+
<ul>
|
| 259 |
+
{% for lnk in parsed_data.personal.linkedin %}
|
| 260 |
+
<li> <a href="{{ lnk }}" target="_blank">{{ lnk }}</a></li>
|
| 261 |
+
{% endfor %}
|
| 262 |
+
</ul>
|
| 263 |
+
{% else %} Not Found {% endif %}
|
| 264 |
+
</p>
|
| 265 |
+
</div>
|
| 266 |
+
{% endif %}
|
| 267 |
+
{% if parsed_data.personal.github != 'Not found' %}
|
| 268 |
+
<div class="d-flex">
|
| 269 |
+
<h5 class="card-title">GitHub:</h5>
|
| 270 |
+
<p class="card-text">
|
| 271 |
+
{% if parsed_data.personal.github != 'Not found' %}
|
| 272 |
+
<ul>
|
| 273 |
+
{% for git in parsed_data.personal.github %}
|
| 274 |
+
<li> <a href="{{ git }}" target="_blank">{{ git }}</a></li>
|
| 275 |
+
{% endfor %}
|
| 276 |
+
</ul>
|
| 277 |
+
{% else %} Not Found {% endif %}
|
| 278 |
+
</p>
|
| 279 |
+
</div>
|
| 280 |
+
{% endif %}
|
| 281 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
</div>
|
| 283 |
+
{% endif %}
|
| 284 |
</div>
|
| 285 |
+
</div>
|
| 286 |
+
</section>
|
|
|
|
|
|
|
| 287 |
|
| 288 |
<!-- Professional Information Section -->
|
| 289 |
<section>
|