2019-10-25 07:18:57 +00:00
|
|
|
{% from 'include/input_macros.html' import input %}
|
2021-04-17 17:38:08 +00:00
|
|
|
<form action="" method="post">
|
|
|
|
<div style="text-align: center;margin-top: 20px;">
|
|
|
|
<h4>Comparing config files</h4>
|
2018-07-16 04:52:43 +00:00
|
|
|
<p>
|
|
|
|
<select autofocus required name="left" id="left">
|
2021-09-24 05:09:46 +00:00
|
|
|
<option disabled selected>Select an older config</option>
|
2018-07-16 04:52:43 +00:00
|
|
|
{% for file in return_files %}
|
|
|
|
{% if file == left %}
|
2018-09-26 15:10:35 +00:00
|
|
|
<option value="{{ file }}" selected>{{ file.split('-', maxsplit=1)[1] }}</option>
|
2018-07-16 04:52:43 +00:00
|
|
|
{% else %}
|
2018-09-26 15:10:35 +00:00
|
|
|
<option value="{{ file }}">{{ file.split('-', maxsplit=1)[1] }}</option>
|
2018-07-16 04:52:43 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select autofocus required name="right" id="right">
|
2021-09-24 05:09:46 +00:00
|
|
|
<option disabled selected>Select a newer config</option>
|
2018-09-26 15:10:35 +00:00
|
|
|
{% for file in return_files %}
|
|
|
|
<option value="{{ file }}">{{ file.split('-', maxsplit=1)[1] }}</option>
|
2018-07-16 04:52:43 +00:00
|
|
|
{% endfor %}
|
|
|
|
</select>
|
2019-10-31 19:51:43 +00:00
|
|
|
{{ input('serv', type='hidden', value=serv) }}
|
2019-10-25 07:18:57 +00:00
|
|
|
{{ input('open', type='hidden', value='open') }}
|
2021-09-15 05:40:51 +00:00
|
|
|
<a class="ui-button ui-widget ui-corner-all" id="show" title="Compare" onclick="showCompare()">Compare</a>
|
2018-07-16 04:52:43 +00:00
|
|
|
</p>
|
2021-04-17 17:38:08 +00:00
|
|
|
</div>
|
2018-07-16 04:52:43 +00:00
|
|
|
</form>
|