123 lines
2.6 KiB
HTML
123 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="nl">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>{% block title %}Default{% endblock %}</title>
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
background-color: #494949;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.spotlight {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(circle at 50% 30%,
|
|
rgba(255, 255, 255, 0.1) 0%,
|
|
rgba(0, 0, 0, 0.5) 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
header {
|
|
padding-top: 20px;
|
|
padding-left: 20px;
|
|
color: #FDEFA8;
|
|
position: relative;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.container {
|
|
width: 90%;
|
|
max-width: 1200px;
|
|
margin: 20px auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-dropdown {
|
|
position: absolute;
|
|
top: 13px;
|
|
right: 100px;
|
|
}
|
|
|
|
.profile-icon {
|
|
color: #171717;
|
|
font-size: 40px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
background-color: #1a1a1a;
|
|
border: 1px solid #70120a;
|
|
}
|
|
|
|
.dropdown-item {
|
|
color: #70120a;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background-color: #2a2a2a;
|
|
color: #70120a;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
width: 95%;
|
|
}
|
|
|
|
.profile-icon {
|
|
font-size: 30px;
|
|
right: 10px;
|
|
}
|
|
|
|
.profile-dropdown {
|
|
right: 15px;
|
|
top: 17px;
|
|
}
|
|
}
|
|
</style>
|
|
{% block additional_styles %}{% endblock %}
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<h1>Beacon</h1>
|
|
{% if current_user.is_authenticated %}
|
|
<div class="profile-dropdown">
|
|
<div class="profile-icon" data-bs-toggle="dropdown">
|
|
<i class="fas fa-user"></i>
|
|
</div>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="{{ url_for('main.logout_route') }}">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
</header>
|
|
|
|
<div class="container">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
|
|
</html> |