added settings picker on site

This commit is contained in:
Thomas Nahuel Rusiecki 2025-03-12 15:59:42 -03:00
parent 1246409cb2
commit f4cc6ccb77
2 changed files with 13 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{% load i18n static %}
{% load i18n static language_code %}
<!doctype html>
<html lang="en">
@ -222,11 +222,14 @@
</div>
<!-- Footer -->
<footer class="footer text-center mt-auto py-3">
<div class="container">
<span class="text-muted">{{ commit_id }}</span>
</div>
</footer>
<footer class="footer mt-auto py-3" style="width: 100%;">
<div class="container-fluid">
<div class="d-flex justify-content-between align-items-center">
<span class="text-muted mx-auto">{{ commit_id }}</span>
{% include "language_picker.html" %}
</div>
</div>
</footer>
{% block script %}
<script src="{% static "js/jquery-3.3.1.slim.min.js" %}"></script>

View file

@ -1,5 +1,5 @@
{% extends "login_base.html" %}
{% load i18n static %}
{% load i18n static language_code %}
{% block login_content %}
<form action="{% url 'login:login' %}" method="post" class="row g-3 needs-validation" novalidate>
@ -39,8 +39,9 @@
<button class="btn btn-primary w-100" type="submit">Next</button>
</div>
</form>
<div id="login-footer" class="mt-3">
<a href="{% url 'login:password_reset' %}" data-toggle="modal" data-target="#forgotPasswordModal">{% trans "Forgot your password? Click here to recover" %}</a>
<div id="login-footer" class="d-flex justify-content-between align-items-center mt-4">
<a href="{% url 'login:password_reset' %}" data-toggle="modal" data-target="#forgotPasswordModal">{% trans "Forgot your password?" %}</a>
{% include "language_picker.html" %}
</div>
{% endblock %}