mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
added factory reset buttons
This commit is contained in:
parent
789ba5c205
commit
cae69e2c61
6 changed files with 88 additions and 2 deletions
21
httpdocs/templates/pages/modals/factory-reset.template
Normal file
21
httpdocs/templates/pages/modals/factory-reset.template
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<div class="modal fade" id="factory-reset-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">{{ title }}</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class='alert alert-danger'>{* body *}</div>
|
||||
<span class="invalid-feedback"></span>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ i18n("cancel") }}</button>
|
||||
<button type="button" class="btn btn-danger" id="btn-factory-reset">{{ i18n("reset") }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue