25 lines
564 B
HTML
25 lines
564 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- change something -->
|
|
{% if user.is_authenticated %}
|
|
<h3> {{ user.username }} welcome </h3>
|
|
<a href="{% url 'logout' %}">logout</a>
|
|
{% else %}
|
|
<a href="{% url 'signup' %}">signup</a>
|
|
<a href="{% url 'login' %}">login</a>
|
|
{% endif %}
|
|
|
|
|
|
{% block container %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|