mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Started implementing ticket 8508, REST to be implemented when netbox is done
This commit is contained in:
parent
075e732a3a
commit
18f83ca7ca
2 changed files with 14 additions and 3 deletions
|
|
@ -32,14 +32,14 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="mb-3 col-auto">
|
||||
<label for="export_host">Insert Host IP or Mac Address or /24</label>
|
||||
<label for="export_host"> {{ i18n("manage_data.specify_ip_mac") }}</label>
|
||||
<input type="text" id="export_host" data-host="host" name="host"
|
||||
placeholder="{{ i18n("manage_data.ip_or_mac_address")}}" class="form-control" size="24" disabled
|
||||
required />
|
||||
</div>
|
||||
<div class="mb-3 col-auto">
|
||||
<label for="export_vlan">Insert VLAN Host</label>
|
||||
<input type="number" min="1" max="65535" placeholder="{{ i18n(" vlan") }}" id="export_vlan"
|
||||
<label for="export_vlan">{{ i18n("manage_data.specify_vlan")}}</label>
|
||||
<input type="number" min="1" max="65535" placeholder="{{ i18n("manage_data.ip_or_mac_address") }}" id="export_vlan"
|
||||
name="vlan" class="form-control" value="" disabled />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
11
httpdocs/templates/pages/tabs/manage_data/purge.template
Normal file
11
httpdocs/templates/pages/tabs/manage_data/purge.template
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<div class="card-body">
|
||||
<div id="search_card">
|
||||
<form class="host_data_form" id="host_data_form_delete" method="POST">
|
||||
<input name="csrf" type="hidden" value="{{ ntop.getRandomCSRFValue() }}" />
|
||||
<button form="host_data_form_delete" class="btn btn-danger" type="submit" onclick="return delete_data_show_modal();">
|
||||
<i class="fas fa-trash" aria-hidden="true" title="{{ i18n("manage_data.purge_asset_inventory_button") }}"></i>
|
||||
{{ i18n("manage_data.purge_asset_inventory_button") }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue