aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/accounts/logout.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/accounts/logout.html')
-rwxr-xr-xservo/templates/accounts/logout.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/servo/templates/accounts/logout.html b/servo/templates/accounts/logout.html
new file mode 100755
index 0000000..1b64d45
--- /dev/null
+++ b/servo/templates/accounts/logout.html
@@ -0,0 +1,17 @@
+{% extends "modal.html" %}
+{% load i18n %}
+
+{% block header %}
+{% trans "Logging out?" %}
+{% endblock header %}
+
+{% block body %}
+{% trans "This will terminate your Servo session." %}
+{% endblock body %}
+
+{% block footer %}
+<form action="{% url 'accounts-logout' %}" method="post">
+ {% csrf_token %}
+ <button type="submit" class="btn btn-danger">{% trans "Log out" %}</button>
+</form>
+{% endblock footer %}