Auto commit: 2026-03-13T16:42:08.880Z

This commit is contained in:
Flatlogic Bot 2026-03-13 16:42:08 +00:00
parent 7b2fc4e3b2
commit 749383265f

View File

@ -24,7 +24,23 @@
</head>
<body>
{% block content %}{% endblock %}
{% if user.is_authenticated %}
<nav class="navbar navbar-expand-lg navbar-light bg-light mb-3">
<div class="container">
<a class="navbar-brand" href="{% url 'project_list' %}">AI Business Planning</a>
<div class="d-flex align-items-center">
<span class="navbar-text me-3">Welcome, {{ user.username }}</span>
<form method="post" action="{% url 'logout' %}">
{% csrf_token %}
<button type="submit" class="btn btn-outline-secondary btn-sm">Logout</button>
</form>
</div>
</div>
</nav>
{% endif %}
<div class="container">
{% block content %}{% endblock %}
</div>
</body>
</html>