mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Make export data use GET HTTP request
This commit is contained in:
parent
ca1d85c94e
commit
3b3436eb0d
3 changed files with 9 additions and 12 deletions
|
|
@ -28,12 +28,9 @@ print [[</H2>
|
|||
|
||||
<form class="form-horizontal" action="]]
|
||||
print (ntop.getHttpPrefix())
|
||||
print [[/lua/do_export_data.lua" method="post">
|
||||
print [[/lua/do_export_data.lua">
|
||||
]]
|
||||
|
||||
print('<input name="export" type="hidden" value="" />\n')
|
||||
print('<input id="csrf" name="csrf" type="hidden" value="'..ntop.getRandomCSRFValue()..'" />\n')
|
||||
|
||||
print [[
|
||||
|
||||
<div class="control-group">
|
||||
|
|
@ -42,6 +39,7 @@ print(i18n("export_data.host"))
|
|||
print[[</label>
|
||||
<div class="controls">
|
||||
<input type="hidden" id="hostIP" name="ip">
|
||||
<input type="hidden" name="ifid" value="]] print(getInterfaceId(ifname).."") print[[">
|
||||
<input type="text" id="hostIPSearch" placeholder="]] print(i18n("export_data.ip_or_mac_address")) print[[" class="form-control">
|
||||
</div>
|
||||
<label><small>]] print(i18n("export_data.note_host")) print[[</small></label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue