mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
added print_page_title on each page
This commit is contained in:
parent
62ee1c8b37
commit
792a542c41
30 changed files with 158 additions and 151 deletions
|
|
@ -50,6 +50,8 @@ if(not isEmptyString(_GET["device_type"])) then
|
|||
devtype_filter = '<span class="fas fa-filter"></span>'
|
||||
end
|
||||
|
||||
page_utils.print_page_title('Mac List')
|
||||
|
||||
print [[
|
||||
<div id="table-mac"></div>
|
||||
<script>
|
||||
|
|
@ -62,7 +64,7 @@ ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/mac_stats_id.inc")
|
|||
|
||||
print [[
|
||||
$("#table-mac").datatable({
|
||||
title: "Mac List",
|
||||
title: '',
|
||||
url: url_update ,
|
||||
]]
|
||||
|
||||
|
|
@ -86,7 +88,6 @@ if manufacturer ~= nil then
|
|||
title = i18n("mac_stats.layer_2_devices_with_manufacturer",{title=title, manufacturer=manufacturer})
|
||||
end
|
||||
|
||||
print('title: "'..title..'",\n')
|
||||
|
||||
print ('rowCallback: function ( row ) { return mac_table_setID(row); },')
|
||||
print[[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue