add temp factory reset for pools

This commit is contained in:
gabryon99 2020-09-16 19:22:43 +02:00
parent 3b2447b904
commit dc505c5729
11 changed files with 92 additions and 36 deletions

View file

@ -0,0 +1,9 @@
{% if toggle_modal then %}
<button class="btn btn-danger" data-target="#{{ modal_id }}" data-toggle="modal">
<i class='fas fa-undo-alt'></i> {{ i18n('config_scripts.config_reset') }}
</a>
{% else %}
<a class="btn btn-danger" href="{{ href }}" {{ (id and "id='"..id.."'" or '') }}>
<i class='fas fa-undo-alt'></i> {{ i18n('config_scripts.config_reset') }}
</a>
{% end %}