luci/modules/luci-mod-status/luasrc/view/admin_status/index/50-dsl.htm
Anton Kikin 77014af67e 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>
2018-12-10 20:24:33 +03:00

20 lines
448 B
HTML

<%#
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 %>