Added nav bar to historical flow explorer

This commit is contained in:
MatteoBiscosi 2021-11-26 14:03:10 +01:00
parent cf9d05f955
commit ac6bb574c2
3 changed files with 11 additions and 3 deletions

View file

@ -3250,7 +3250,7 @@ function historicalProtoHostHref(ifId, host, l4_proto, ndpi_proto_id, info)
print(' ')
-- print('<span class="badge bg-info">')
print('<a href="'..hist_url..url_params..'" title="'..i18n("db_explorer.last_hour_flows")..'"><i class="fas fa-search-plus fa-lg"></i></a>')
print('<a href="'..hist_url..url_params..'" title="'..i18n("db_explorer.last_hour_flows")..'"><i class="fas fa-search-plus"></i></a>')
-- print('</span>')
elseif prefs.is_dump_flows_to_mysql_enabled then
@ -3267,7 +3267,7 @@ function historicalProtoHostHref(ifId, host, l4_proto, ndpi_proto_id, info)
print('&nbsp;')
-- print('<span class="badge bg-info">')
print('<a href="'..hist_url..'&epoch_begin='..tostring(ago1h)..'" title="'..i18n("db_explorer.last_hour_flows")..'"><i class="fas fa-search-plus fa-lg"></i></a>')
print('<a href="'..hist_url..'&epoch_begin='..tostring(ago1h)..'" title="'..i18n("db_explorer.last_hour_flows")..'"><i class="fas fa-search-plus"></i></a>')
-- print('</span>')
end
end