mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
[FEAT] Enable django-allauth for enhanced user management & federation
This commit is contained in:
26
breccia_mapper/templates/account/logout.html
Executable file
26
breccia_mapper/templates/account/logout.html
Executable file
@@ -0,0 +1,26 @@
|
||||
{% extends "account/base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block head_title %}{% trans "Sign Out" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3 class="h3" id="head_banner">{% trans "Sign Out" %}</h3>
|
||||
|
||||
<p class="confirm_logout_info">{% trans 'Are you sure you want to sign out?' %}</p>
|
||||
|
||||
<form id="logout_form" method="post" action="{% url 'account_logout' %}">
|
||||
{% csrf_token %}
|
||||
|
||||
{% if redirect_field_value %}
|
||||
|
||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<button class="btn btn-success" type="submit">{% trans 'Sign Out' %}</button>
|
||||
<a class="btn btn-danger" id="custom_logout_no" href="/accounts/profile/">{% trans 'No' %}</a>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user