1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Allow to disable a server

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-11 10:00:14 +02:00
parent c328a4ea1c
commit 5352c9baa0
2 changed files with 23 additions and 5 deletions

View file

@ -110,6 +110,15 @@ end
</div>
<%
end
%>
<br />
<div class="cbi-value">
<label class="cbi-value-title"><%:Disable server%></label>
<div class="cbi-value-field">
<input class="cbi-input-radio" type="checkbox" name="<%=servername%>.openmptcprouter_vps_disabled" value="1" <% if uci:get("openmptcprouter",servername,"openmptcprouter_vps_disabled") == "1" then %>checked<% end %>/>
</div>
</div>
<%
end)
%>
<div class="cbi-section-create">