luci-mod-status: split status page into a series of partials
[oweals/luci.git] / modules / luci-mod-status / luasrc / view / admin_status / index / 50-dsl.htm
1 <%#
2  Copyright 2008 Steven Barth <steven@midlink.org>
3  Copyright 2008-2018 Jo-Philipp Wich <jo@mein.io>
4  Licensed to the public under the Apache License 2.0.
5 -%>
6
7 <%
8         local fs = require "nixio.fs"
9         local has_dsl = fs.access("/etc/init.d/dsl_control")
10 %>
11
12 <% if has_dsl then %>
13 <div class="cbi-section">
14         <h3><%:DSL%></h3>
15
16         <div id="dsl_status_table" class="network-status-table">
17                 <p><em><%:Collecting data...%></em></p>
18         </div>
19 </div>
20 <% end %>