initial version
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
{% load allauth account %}
|
||||
|
||||
{% block head_title %}
|
||||
{% trans "Sign Out" %}
|
||||
{% endblock head_title %}
|
||||
|
||||
{% block content %}
|
||||
<!-- Sign Out Section Start -->
|
||||
<section class="space-py-100">
|
||||
<div class="container">
|
||||
<div class="grid grid-cols-12">
|
||||
<div class="col-span-12">
|
||||
<div class="codex-authbox">
|
||||
<div class="auth-header">
|
||||
<div class="codex-brand">
|
||||
<a href="{% url 'main:home' %}">
|
||||
<img class="img-fluid light-logo" src="{% static 'main/assets/images/logo/logo.webp' %}" alt="logo">
|
||||
<img class="img-fluid dark-logo" src="{% static 'main/assets/images/logo/logo-light.webp' %}" alt="logo">
|
||||
</a>
|
||||
</div>
|
||||
<h3>{% trans "Sign Out" %}</h3>
|
||||
</div>
|
||||
<p class="mb-4">{% trans 'Are you sure you want to sign out?' %}</p>
|
||||
{% url 'account_logout' as action_url %}
|
||||
<form method="post" action="{{ action_url }}">
|
||||
{% csrf_token %}
|
||||
{{ redirect_field }}
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{% trans 'Sign Out' %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Sign Out Section End -->
|
||||
{% endblock content %}
|
||||
|
||||
{% block extra_body %}
|
||||
{{ block.super }}
|
||||
{% endblock extra_body %}
|
||||
Reference in New Issue
Block a user