scrollable last log trace

This commit is contained in:
gabryon99 2020-06-23 11:02:17 +02:00
parent f9c312aac5
commit 6aa7d4cdfe
3 changed files with 8 additions and 3 deletions

View file

@ -119,14 +119,14 @@ if(page == "overview") then
print("</td></tr>")
if not info.oem then
print("<tr><th nowrap>"..i18n("about.last_log").."</th><td><code>\n")
print("<tr><th nowrap>"..i18n("about.last_log").."</th><td><div class='scrollable-log'><code>\n")
for i=0,32 do
msg = ntop.listIndexCache("ntopng.trace", i)
if(msg ~= nil) then
print(noHtml(msg).."<br>\n")
end
end
print("</code></td></tr>\n")
print("</code></div></td></tr>\n")
end
print("</table>\n")