aboutsummaryrefslogtreecommitdiff
path: root/data/templates/delete.htm
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/delete.htm')
-rw-r--r--data/templates/delete.htm30
1 files changed, 30 insertions, 0 deletions
diff --git a/data/templates/delete.htm b/data/templates/delete.htm
new file mode 100644
index 0000000..ff27220
--- /dev/null
+++ b/data/templates/delete.htm
@@ -0,0 +1,30 @@
+{% extends "base.htm" %}
+{% block title %}
+Confirm deletion of repository #{{repo.id}}
+{% endblock %}
+
+{% block content %}
+<h1>Delete paste #{{repo.id}}?</h1>
+<div class="well" style="margin-top: 5ex;">
+ <p>
+ Do you really want to delete the folloing paste #{{repo.id}}?
+ </p>
+ <p>
+ <strong>{{repo.getDescription}}</strong>
+ </p>
+
+ <div class="row-fluid" style="margin-top: 5ex;">
+ <div class="span6">
+ <a class="btn" href="{{repo.getLink('display')}}">Cancel</a>
+ </div>
+ <div class="span6" style="text-align: right">
+ <form method="post" action="{{repo.getLink('delete-confirm')}}" style="margin: 0px">
+ <button class="btn btn-danger" type="submit">
+ <i class="icon-trash icon-white"></i>
+ Permanently delete
+ </button>
+ </form>
+ </div>
+ </div>
+</div>
+{% endblock %}