mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 05:03:01 +02:00
Add: account views, tests, override user model
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
{% if request.user.is_authenticated %}
|
||||
<li class="nav-item py-2 py-lg-1 col-12 col-lg-auto">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-person-square"></i> {{ request.user }}
|
||||
</button>
|
||||
<a
|
||||
type="button"
|
||||
class="btn btn-outline-secondary"
|
||||
href="{% url 'account:show_profile' %}"
|
||||
>
|
||||
<i class="bi bi-person-circle"></i> {{ request.user }}
|
||||
</a>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split"
|
||||
@@ -24,7 +28,7 @@
|
||||
href="{% url 'two_factor:profile' %}"
|
||||
class="dropdown-item"
|
||||
type="button">
|
||||
<i class="bi bi-gear"></i> Settings
|
||||
<i class="bi bi-dice-5"></i> 2FA
|
||||
</a>
|
||||
</li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||||
<nav class="navbar navbar-expand-xl bg-body-tertiary">
|
||||
<div class="container">
|
||||
<!--Brand logo -->
|
||||
{% include 'includes/brand.html' %}
|
||||
|
Reference in New Issue
Block a user