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.
8 local fs = require "nixio.fs"
9 local has_wifi = ((fs.stat("/etc/config/wireless", "size") or 0) > 0)
12 <% if has_wifi then %>
13 <div class="cbi-section">
14 <h3><%:Wireless%></h3>
16 <div id="wifi_status_table" class="network-status-table">
17 <p><em><%:Collecting data...%></em></p>
21 <div class="cbi-section">
22 <h3><%:Associated Stations%></h3>