blob: bc8e4e37385c81a9dbb828dcdd5955c00063c23b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{% extends "workflow/viewport-element.html" %}
{% load staticfiles %}
{% load bootstrap4 %}
{% block content %}
<div class="text-center">
<h3>Confirm Session</h3>
</div>
<div class="container">
<div class="row justify-content-center">
<div class="col-auto">
<pre>{{confirmation_info|escape}}</pre>
</div>
</div>
<div class="row">
<div class="col">
<div id="form_div" class="text-center p-4">
<form id="step_form" action="/workflow/manager/" method="post">
{% csrf_token %}
<div class="d-none">
{{form|default:"<p> No Form Loaded</p>"}}
</div>
</form>
<div class="cform_buttons mx-auto">
<button id="confirm_button" class="btn btn-success" onclick="formconfirm()">Confirm</button>
<button id="cancel_button" class="btn btn-danger" onclick="formcancel()">Cancel</button>
</div>
<div class="d-none">
<form id="manager_delete_form" action="/workflow/finish/" method="post">
{% csrf_token %}
</form>
</div>
</div>
</div>
</div>
</div>
<script>
var select = document.getElementById("id_confirm");
function formconfirm()
{
select.value = "True";
submitStepForm();
pop_workflow();
}
function formcancel()
{
pop_workflow();
}
</script>
{% block element_messages %}
{% endblock element_messages %}
{% endblock content %}
|