Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/org_eleicoes/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN npm run page:build

RUN npm run admin:build

# Use an official Python runtime based on Debian 10 "buster" as a parent image.
FROM python:slim-buster
# Use an official Python runtime based on Debian 11 "bullseye" as a parent image.
FROM python:slim-bullseye

# Port used by this container to serve HTTP.
EXPOSE 8000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@
</ul>
<div class="d-flex flex-column flex-md-row" style="--bs-gap:1rem;">
{% block navbar_actions %}
{% if request.user.is_authenticated %}
<a class="btn btn-outline-light text-uppercase" href="{% url 'dashboard' %}">Área da Candidatura</a>
<a class="btn btn-light text-uppercase" href="{% url 'oauth:logout' %}">Sair</a>
{% else %}
<a class="btn btn-outline-light text-uppercase" href="{% url 'register' %}" role="button">Cadastre-se</a>
<a class="btn btn-light text-uppercase" href="{% url 'dashboard' %}" role="button">Login</a>
{% endif %}
<!-- Navbar Actions -->
{% endblock %}
</div>
</div>
Expand Down
Loading