Book / templates /profile.html
anwesh2410's picture
Upload 39 files
54862ee verified
<!-- templates/profile.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ current_user.username }}'s Profile - BookNest</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body class="index-page">
<!-- Include Navigation Bar -->
{% include 'navbar.html' %}
<!-- Flash Messages -->
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<div class="flash-messages">
{% for category, message in messages %}
<div class="alert alert-{{ category }}">{{ message }}</div>
{% endfor %}
</div>
{% endif %}
{% endwith %}
<!-- Profile Content -->
<div class="container">
<h1>Welcome, {{ current_user.username }}!</h1>
<p><strong>Email:</strong> {{ current_user.email }}</p>
<!-- Add more user-specific information here if needed -->
</div>
<!-- Include Footer -->
{% include 'footer.html' %}
</body>
</html>