@@ -0,0 +1,50 @@
|
||||
{% load static %}
|
||||
<!doctype html>
|
||||
<html lang="nl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<title>{% block title %}{{ app_name }}{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{% static 'css/app.css' %}">
|
||||
<script src="{% static 'js/app.js' %}" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<a class="skip-link" href="#main">Naar inhoud</a>
|
||||
{% if user.is_authenticated %}
|
||||
<header class="topbar">
|
||||
<div class="brand-wrap">
|
||||
<button class="icon-button mobile-only" type="button" data-nav-toggle aria-label="Menu openen" aria-expanded="false">☰</button>
|
||||
<a class="brand" href="{% url 'dashboard:today' %}">
|
||||
<span class="brand-mark" aria-hidden="true">VR</span>
|
||||
<span><strong>VacatureRadar</strong><small>persoonlijke vacature-assistent</small></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="topbar-actions">
|
||||
<a class="button button-ghost" href="{% url 'dashboard:system' %}">Systeem</a>
|
||||
<form action="{% url 'logout' %}" method="post">{% csrf_token %}<button class="button button-ghost" type="submit">Afmelden</button></form>
|
||||
</div>
|
||||
</header>
|
||||
<div class="app-shell">
|
||||
<nav class="sidebar" data-sidebar aria-label="Hoofdnavigatie">
|
||||
<a class="nav-link {% if request.resolver_match.namespace == 'dashboard' and request.resolver_match.url_name == 'today' %}active{% endif %}" href="{% url 'dashboard:today' %}"><span>Vandaag</span><small>beste matches</small></a>
|
||||
<a class="nav-link {% if request.resolver_match.namespace == 'jobs' and request.resolver_match.url_name == 'list' %}active{% endif %}" href="{% url 'jobs:list' %}"><span>Vacatures</span><small>zoeken en filteren</small></a>
|
||||
<a class="nav-link {% if request.resolver_match.url_name == 'applications' %}active{% endif %}" href="{% url 'jobs:applications' %}"><span>Sollicitaties</span><small>opvolging</small></a>
|
||||
<a class="nav-link {% if request.resolver_match.namespace == 'profiles' %}active{% endif %}" href="{% url 'profiles:list' %}"><span>Profiel</span><small>regels en voorkeuren</small></a>
|
||||
<a class="nav-link {% if request.resolver_match.namespace == 'sources' %}active{% endif %}" href="{% url 'sources:list' %}"><span>Brongezondheid</span><small>geavanceerd</small></a>
|
||||
<div class="sidebar-foot"><span class="status-dot"></span> strict mode <small>v{{ app_version }}</small></div>
|
||||
</nav>
|
||||
<main id="main" class="main-content" tabindex="-1">
|
||||
{% else %}
|
||||
<main id="main" class="auth-main" tabindex="-1">
|
||||
{% endif %}
|
||||
{% if messages %}
|
||||
<div class="messages" aria-live="polite">
|
||||
{% for message in messages %}<div class="message {{ message.tags }}">{{ message }}</div>{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
{% if user.is_authenticated %}</div>{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user