mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
add temp factory reset for pools
This commit is contained in:
parent
3b2447b904
commit
dc505c5729
11 changed files with 92 additions and 36 deletions
|
|
@ -27,6 +27,10 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
{* template_utils.gen('pages/components/import-export-link.template', {href='#'}) *}
|
||||
{* template_utils.gen('pages/components/reset-config-link.template', {href='#', toggle_modal=true, modal_id="factory-reset-modal", id='btn-factory-reset'}) *}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -46,6 +50,11 @@ modal_type = "remove",
|
|||
pool = pool
|
||||
}) *}
|
||||
|
||||
{* template_utils.gen("pages/modals/factory-reset.template", {
|
||||
body = i18n("endpoint_notifications.factory_reset.body", { reset_element = i18n("pools.pools") }),
|
||||
title = i18n("endpoint_notifications.factory_reset.title", { reset_element = i18n("pools.pools") })
|
||||
}) *}
|
||||
|
||||
|
||||
<link href="{{ ntop.getHttpPrefix() }}/datatables/datatables.min.css" rel="stylesheet" />
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue