Replaced historical label with icon

Reworked history on networks
This commit is contained in:
Luca Deri 2015-09-15 09:54:21 +02:00
parent b56fd1761e
commit a820699db1
6 changed files with 15 additions and 9 deletions

View file

@ -204,6 +204,11 @@ if(network_url == "") then
print (ntop.getHttpPrefix())
print ('/lua/hosts_stats.lua?mode=network">Local Networks</a></li></ul>')
print ("</div>' ],")
else
print('buttons: [ \'')
print('<A HREF='..ntop.getHttpPrefix()..'/lua/network_details.lua?network='..network..'><i class=\"fa fa-area-chart fa-lg\"></i></A>')
print('\' ],')
end
print [[
@ -279,4 +284,5 @@ end
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/hosts_stats_bottom.inc")
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")