triviOS/ui/main/templates/home.html

13 lines
392 B
HTML
Raw Normal View History

2023-09-11 08:07:53 +02:00
{% extends "base.html" %}
2023-09-11 09:59:25 +02:00
{% block title %} Home Manager {% endblock title%}
2023-09-11 08:07:53 +02:00
{% block content %}
2023-09-11 09:59:25 +02:00
{% if user.is_authenticated %}
<div class="jumbotron">
<h1 class="display-4">Welcome {{ user.username }}</h1>
</div>
{% else %}
<p>You are not logged in</p>
<a href="{% url 'login' %}">Log In</a>
{% endif %}
2023-09-11 08:07:53 +02:00
{% endblock content %}