feat: improve navbar settings and other stuff

This commit is contained in:
Herculino Trotta
2024-10-11 01:58:34 -03:00
parent 1e4b4de0ec
commit 1f644ba974
7 changed files with 79 additions and 16 deletions
@@ -0,0 +1,11 @@
{% extends 'extends/offcanvas.html' %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block title %}{% translate 'User Settings' %}{% endblock %}
{% block body %}
<form hx-post="{% url 'user_settings' %}" hx-target="#generic-offcanvas" novalidate>
{% crispy form %}
</form>
{% endblock %}
@@ -0,0 +1,2 @@
{% load i18n %}
<i class="fa-solid fa-eye-slash me-2 fa-fw"></i>{% translate 'Hide amounts' %}
@@ -0,0 +1,3 @@
{% load i18n %}
<i class="fa-solid fa-eye me-2 fa-fw"></i>
<span id="settings-hide-amounts" class="d-inline tw-invisible"></span>{% translate 'Show amounts' %}