pracownia-timefall/templates/base.html
2021-01-05 00:33:09 +01:00

35 lines
638 B
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="{% static '/css/base.css' %}">
{% block stylesheet_hr_module_base %}
{% endblock %}
</head>
<body>
<div class="navbar">
{% if user.is_authenticated %}
<div class="navbar_item">
<a href="{% url 'hr_module:logout' %}">Log out</a>
</div>
<div class="navbar_item">You are logged in as: {{ user }} </div>
{% else %}
{% endif %}
</div>
<div class="main_container">
{% block core_content %}
{% endblock %}
</div>
</body>
</html>