mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Enhanced about box with platform bits
This commit is contained in:
parent
6cea39bbfd
commit
73811618f8
2 changed files with 4 additions and 4 deletions
|
|
@ -67,9 +67,8 @@ end
|
|||
print("</td></tr>")
|
||||
|
||||
vers = string.split(info["version.git"], ":")
|
||||
if((vers ~= nil) and (vers[1] ~= nil)) then
|
||||
v_hash = string.sub(vers[1], 2)
|
||||
ntopng_git_url = "<A HREF=https://github.com/ntop/ntopng/commit/".. v_hash ..">"..info["version"].."</A>"
|
||||
if((vers ~= nil) and (vers[2] ~= nil)) then
|
||||
ntopng_git_url = "<A HREF=https://github.com/ntop/ntopng/commit/".. vers[2] ..">"..info["version"].."</A>"
|
||||
else
|
||||
ntopng_git_url = info["version"]
|
||||
end
|
||||
|
|
@ -88,7 +87,7 @@ end
|
|||
|
||||
print(" Edition</td></tr>\n")
|
||||
|
||||
print("<tr><th>Platform</th><td>"..info["platform"].."</td></tr>\n")
|
||||
print("<tr><th>Platform</th><td>"..info["platform"].." - "..info["bits"] .." bit</td></tr>\n")
|
||||
print("<tr><th>Currently Logged User</th><td><i class='fa fa-user fa-lg'></i> ".._SESSION["user"].."</td></tr>\n")
|
||||
print("<tr><th>Uptime</th><td><i class='fa fa-clock-o fa-lg'></i> "..secondsToTime(info["uptime"]).."</td></tr>\n")
|
||||
print("<tr><th colspan=2 align=center> </th></tr>\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue