mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Added confirm button before flushing service/periodic data
This commit is contained in:
parent
20273758ef
commit
c58b1091ee
3 changed files with 3 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ if(isAdministrator()) then
|
|||
<input type=hidden name="page" value="service_map">
|
||||
<input type=hidden name="action" value="reset">
|
||||
|
||||
<button id="btn-factory-reset" data-target='#reset-modal' data-toggle="modal" class="btn btn-danger">
|
||||
<button id="btn-factory-reset" data-target='#reset-modal' data-toggle="modal" class="btn btn-danger" onclick="return confirm(']] print(i18n("data_flush_confirm")) print [[')">
|
||||
<i class="fas fa-undo-alt"></i> ]] print(i18n("flush_service_map_data")) print [[
|
||||
</button>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue