aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wiki/page_delete.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-05 17:37:58 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-05 17:37:58 +0100
commit7fda7be72d9b9abaec92b799760b1acfaeffa232 (patch)
tree4b46afc189587a403396b5d71b8726da00a2702c /templates/wiki/page_delete.html
parentUse Discord embed image for index page button (diff)
parentUpdate README.md (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'templates/wiki/page_delete.html')
-rw-r--r--templates/wiki/page_delete.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/wiki/page_delete.html b/templates/wiki/page_delete.html
new file mode 100644
index 00000000..f4d52653
--- /dev/null
+++ b/templates/wiki/page_delete.html
@@ -0,0 +1,26 @@
+{% extends "wiki/base.html" %}
+{% block title %}Wiki | Delete: {{ page }}{% endblock %}
+{% block og_title %}Wiki | Delete: {{ page }}{% endblock %}
+{% block og_description %}{% endblock %}
+{% block extra_head %}
+<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ace.js" type="application/javascript"></script>
+{% endblock %}
+{% block content %}
+ <div uk-alert class="uk-alert-danger">
+ <h3>Delete Page: {{ page }}</h3>
+ <p>
+ Are you sure you want to delete this page?
+ </p>
+
+ <form uk-grid class="uk-grid-small" action="{{ url_for("wiki.delete", page=page) }}" method="post">
+ <div class="uk-width-1-2">
+ <a href="{{ url_for("wiki.page", page=page) }}" class="uk-button uk-button-primary uk-width-1-1" type="button" value="Cancel" id="cancel">Cancel</a>
+ </div>
+ <div class="uk-width-1-2">
+ <input class="uk-button uk-button-secondary uk-width-1-1" type="submit" id="delete" value="Delete" />
+ </div>
+
+ <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
+ </form>
+ </div>
+{% endblock %}