cold
This commit is contained in:
28
AoM_Service/AoM_Configs/webapp/templates/debug.html
Executable file
28
AoM_Service/AoM_Configs/webapp/templates/debug.html
Executable file
@@ -0,0 +1,28 @@
|
||||
{% extends "header.html" %}
|
||||
{% block body %}
|
||||
<h2>Form Elements</h2><br />
|
||||
<table>
|
||||
{% for key, value in query.items() %}
|
||||
<tr>
|
||||
<th> {{ key }} </th>
|
||||
<td> {{ value }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table><br/>
|
||||
<p>
|
||||
{{ query.alert_name }}
|
||||
</p>
|
||||
<h2>Rendered Config File</h2><br />
|
||||
<p>{{ file_path }}</p>
|
||||
<p>
|
||||
{% for line in file_contents %}
|
||||
<div>{{ line|safe }}</div>
|
||||
{% endfor %}
|
||||
</p>
|
||||
<br />
|
||||
<form action="{{ url_for('re_build', alert_id=query.alert_name) }}" id="re_build" method="post">
|
||||
<p>
|
||||
<input type="submit" id="submit" class="btn btn-primary" value="Return to Form?">
|
||||
</p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user