luci-app-wman3: show info if mwan3 is not global enabled
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
4b0347d498
commit
66b93ab784
4 changed files with 12 additions and 1 deletions
|
@ -28,6 +28,9 @@
|
|||
|
||||
<div class="cbi-map">
|
||||
<h2 name="content"><%:MWAN Status - Detail%></h2>
|
||||
<%if not require("luci.sys").init.enabled("mwan3") then%>
|
||||
<div><strong><%:INFO: MWAN not running%></strong></div>
|
||||
<%end%>
|
||||
<fieldset class="cbi-section">
|
||||
<legend id="diag-rc-legend"><%:Collecting data...%></legend>
|
||||
<span id="diag-rc-output">
|
||||
|
|
|
@ -55,7 +55,9 @@
|
|||
<form method="post" action="<%=url('admin/network/diagnostics')%>">
|
||||
<div class="cbi-map">
|
||||
<h2 name="content"><%:MWAN Status - Diagnostics%></h2>
|
||||
|
||||
<%if not require("luci.sys").init.enabled("mwan3") then%>
|
||||
<div><strong><%:INFO: MWAN not running%></strong></div>
|
||||
<%end%>
|
||||
<fieldset class="cbi-section">
|
||||
<br />
|
||||
|
||||
|
|
|
@ -66,6 +66,9 @@
|
|||
|
||||
<div class="cbi-map">
|
||||
<h2 name="content"><%:MWAN Status - Interface%></h2>
|
||||
<%if not require("luci.sys").init.enabled("mwan3") then%>
|
||||
<div><strong><%:INFO: MWAN not running%></strong></div>
|
||||
<%end%>
|
||||
<fieldset class="cbi-section">
|
||||
<legend id="diag-rc-legend"><%:Collecting data...%></legend>
|
||||
<span id="diag-rc-output">
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
|
||||
<div class="cbi-map">
|
||||
<h2 name="content"><%:MWAN Status - Troubleshooting%></h2>
|
||||
<%if not require("luci.sys").init.enabled("mwan3") then%>
|
||||
<div><strong><%:INFO: MWAN not running%></strong></div>
|
||||
<%end%>
|
||||
<fieldset class="cbi-section">
|
||||
<legend id="diag-rc-legend"><%:Collecting data...%></legend>
|
||||
<span id="diag-rc-output">
|
||||
|
|
Loading…
Reference in a new issue