Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <!-- Block for title --> | |
| <title>{% block title %}Campus Recruitment Portal{% endblock %}</title> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css"> | |
| <!-- Link to your static CSS file --> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"> | |
| <!-- Block for additional head elements --> | |
| {% block head %}{% endblock %} | |
| </head> | |
| <body> | |
| <!-- Optional: Add a common navbar or header here if needed for error pages --> | |
| <!-- | |
| <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> | |
| <div class="container-fluid"> | |
| <a class="navbar-brand" href="/">Recruitment Portal</a> | |
| </div> | |
| </nav> | |
| --> | |
| <div class="container mt-4"> | |
| <!-- Display Flash Messages --> | |
| {% with messages = get_flashed_messages(with_categories=true) %} | |
| {% if messages %} | |
| {% for category, message in messages %} | |
| <div class="alert alert-{{ category if category in ['danger', 'warning', 'info', 'success'] else 'secondary' }} alert-dismissible fade show" role="alert"> | |
| {{ message }} | |
| <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> | |
| </div> | |
| {% endfor %} | |
| {% endif %} | |
| {% endwith %} | |
| <!-- Block for main content --> | |
| {% block content %}{% endblock %} | |
| </div> | |
| <!-- Optional: Add a common footer here --> | |
| <!-- | |
| <footer class="text-center mt-5 py-3 bg-light"> | |
| <small>© {{ now.year }} Campus Recruitment Portal</small> | |
| </footer> | |
| --> | |
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script> | |
| <!-- Block for additional scripts --> | |
| {% block scripts %}{% endblock %} | |
| </body> | |
| </html> |