mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
add responsive div wrapper for necessary tables (#4681)
This commit is contained in:
parent
e5d97d7120
commit
4eaedf5c75
23 changed files with 139 additions and 94 deletions
|
|
@ -111,6 +111,7 @@ print[[
|
|||
<input id="csrf" name="csrf" type="hidden" value="]] print(ntop.getRandomCSRFValue()) print [[" />
|
||||
|
||||
<div id="assistance-config" class="tab-pane in active">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered">
|
||||
<tr>
|
||||
<th width=22%>]] print(i18n("remote_assistance.enable_remote_assistance")) print [[</th>
|
||||
|
|
@ -127,12 +128,12 @@ print[[</div>
|
|||
<br><small>]]
|
||||
|
||||
if(remote_assistance.getStatus() == "active") then
|
||||
print(i18n("remote_assistance.remote_ip_msg", {product=info.product, ip = remote_assistance.getIpAddress()}))
|
||||
print(i18n("remote_assistance.remote_ip_msg", {product=info.product, ip = remote_assistance.getIpAddress()}))
|
||||
end
|
||||
|
||||
print [[</small>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>]]
|
||||
|
||||
|
|
@ -171,6 +172,7 @@ end
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="accept_tos" data-ays-ignore="true" value="0" class="hidden" />
|
||||
|
|
@ -238,7 +240,7 @@ print[[
|
|||
</script>
|
||||
]]
|
||||
else -- tab == "status"
|
||||
print("<table class=\"table table-bordered table-striped\">\n")
|
||||
print("<div class='table-responsive'><table class=\"table table-bordered table-striped\">\n")
|
||||
print("<tr><th width='15%' nowrap>"..i18n("interface").."</th><td>".. remote_assistance.getInterfaceName() .."</td></tr>\n")
|
||||
print("<tr><th width='15%' nowrap>"..i18n("ip_address").."</th><td>".. remote_assistance.getIpAddress() .."</td></tr>\n")
|
||||
print("<tr><th width='15%' nowrap>"..i18n("prefs.n2n_supernode_title").."</th><td>".. remote_assistance.getSupernode() .." <a href=\"".. ntop.getHttpPrefix() .."/lua/admin/prefs.lua?tab=remote_assistance\"><i class=\"fas fa-cog fa-lg\"></i></a></td></tr>\n")
|
||||
|
|
@ -264,7 +266,7 @@ else -- tab == "status"
|
|||
end
|
||||
|
||||
print("</code></td></tr>")
|
||||
print("</table>\n")
|
||||
print("</table></div>\n")
|
||||
end
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue