diff options
author | Anton Kikin <a.kikin@tano-systems.com> | 2018-12-10 19:56:42 +0300 |
---|---|---|
committer | Anton Kikin <a.kikin@tano-systems.com> | 2018-12-10 20:24:33 +0300 |
commit | 77014af67edbced3d7ccf5b6650d56c3c6b39cbb (patch) | |
tree | d4eac6b5599af2374fbf05709f9e7848b08ecab4 /modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm | |
parent | 08cee189caf8972af9607d1f7754603a1a3788ff (diff) |
luci-mod-status: split status page into a series of partials
Split status page into a series of partials as discussed in PR #2359.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Diffstat (limited to 'modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm')
-rw-r--r-- | modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm b/modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm new file mode 100644 index 000000000..f37bf147a --- /dev/null +++ b/modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm @@ -0,0 +1,20 @@ +<%# + Copyright 2008 Steven Barth <steven@midlink.org> + Copyright 2008-2018 Jo-Philipp Wich <jo@mein.io> + Licensed to the public under the Apache License 2.0. +-%> + +<% + local fs = require "nixio.fs" + local has_dsl = fs.access("/etc/init.d/dsl_control") +%> + +<% if has_dsl then %> +<div class="cbi-section"> + <h3><%:DSL%></h3> + + <div id="dsl_status_table" class="network-status-table"> + <p><em><%:Collecting data...%></em></p> + </div> +</div> +<% end %> |