Merge pull request #983 from stangri/luci-app-vpnbypass_makefileFix
[project/luci.git] / applications / luci-app-dynapoint / luasrc / view / dynapoint / cbi_color.htm
1 <%+cbi/valueheader%>
2
3
4 <%
5 if (self:cfgvalue(section) == translate("Disabled")) then
6 %>
7
8 <span id="<%=cbid%>.disabled" style="background-color:red;"><%=self:cfgvalue(section)%></span>
9
10 <%
11 else 
12 %>
13 <span id="<%=cbid%>.disabled" style="background-color:lime;"><%=self:cfgvalue(section)%></span>
14 <%
15 end
16 %>
17
18 <%+cbi/valuefooter%>