shimatta-kenkyusho/shimatta_kenkyusho/templates/parts/main.html

17 lines
458 B
HTML
Raw Permalink Normal View History

{% extends 'base.html' %}
{% block content %}
2022-01-01 22:47:12 +01:00
{% if user.is_authenticated %}
Hi
2022-01-01 22:47:12 +01:00
{% else %}
<section class="bg-dark text-light p-5 text-center">
<div class="container">
<div class="d-sm-flex">
<div>
<h1>Shimatta Stock Management System. <a href="{% url 'login' %}" class="text-decoration-none text-warning">Login now</a>.</h1>
</div>
</div>
</div>
</section>
{% endif %}
{% endblock content %}