1 <%- luci.i18n.loadc(
"minidlna") -%
>
3 <script type=
"text/javascript">//<![CDATA[
4 XHR.poll(
5, '<%=luci.dispatcher.build_url(
"admin/services/minidlna_status")%
>', null,
7 var tb = document.getElementById('minidlna_status');
12 tb.innerHTML = String.format(
13 '<%:The miniDLNA service is active, serving %d audio, %d video and %d image files.%
>',
14 st.audio, st.video, st.image
19 tb.innerHTML = '
<em><%:The miniDLNA service is not running.%
></em>';
26 <fieldset class=
"cbi-section">
27 <legend><%:miniDLNA Status%
></legend>
28 <p id=
"minidlna_status">
29 <em><%:Collecting data...%
></em>