better translatioon button position

This commit is contained in:
Thomas Nahuel Rusiecki 2025-01-30 20:02:59 -03:00
parent ad05789b64
commit deb044eacb

View file

@ -219,11 +219,12 @@
</div>
</div>
<!-- Footer -->
<footer class="footer text-center mt-auto py-3">
<div class="container d-flex justify-content-center align-items-center">
<span class="text-muted mx-auto">{{ commit_id }}</span>
<div class="dropdown ms-auto">
<!-- 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>
<div class="dropdown">
<form action="{% url 'set_language' %}" method="post">
{% csrf_token %}
<button class="btn btn-tertiary dropdown-toggle" type="button" id="languageDropdown" data-bs-toggle="dropdown" aria-expanded="false">
@ -234,18 +235,17 @@
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="languageDropdown">
{% for lang in languages %}
<li>
<button class="dropdown-item" type="submit" name="language" value="{{ lang.code }}">{{ lang.name_local }}</button>
<button class="dropdown-item" type="submit" name="language" value="{{ lang.code }}">{{ lang.name }}</button>
</li>
{% endfor %}
</ul>
</form>
<div>
</div>
</div>
</footer>
</div>
</footer>
{% block script %}
{% block script %}
<script src="{% static "js/jquery-3.3.1.slim.min.js" %}"></script>
<script src="{% static "js/popper.min.js" %}"></script>
<script src="{% static "js/bootstrap.min.js" %}"></script>