forked from BD-Python-PIP/code-examples-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_done.html
More file actions
32 lines (27 loc) · 904 Bytes
/
example_done.html
File metadata and controls
32 lines (27 loc) · 904 Bytes
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
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
{% if 'ds_user_name' in session %}
<div>
{% else %}
<div style="margin:30px 90px 0 90px; padding:15px 15px 0 15px;">
{% endif %}
<h2>{{ title }}</h2>
<p>{{ message | safe }}</p>
{% if json %}
<!-- Data from the server -->
<div id="server_json_data" data-server-json-data='{"json": {{ json | safe }} }' class="hidden"></div>
<p><pre class="json-display"><code id="json-display"></code></pre></p>
{% endif %}
{% if changed_settings %}
<ul>
{% for k, v in changed_settings.items() %}
<li><b>{{ k }}:</b> {{ v }}</li>
{% endfor %}
</ul>
{% endif %}
{% if redirect_url %}
<p><a href="{{ redirect_url }}">Continue</a></p>
{% else %}
<p><a href="/">Continue</a></p>
{% endif %}
</div>
{% endblock %}