Merge pull request #1675 from dibdot/material-fix

luci-base/firewall_zonelist: fix visual interface/background alignment
This commit is contained in:
Hannu Nyman 2018-03-09 18:54:32 +02:00 committed by GitHub
commit bf04031171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,8 @@
end end
-%> -%>
<ul style="margin:0; list-style-type:none; text-align:left"> <span>
<ul style="margin:0; list-style-type:none; text-align:left">
<% if self.allowlocal then %> <% if self.allowlocal then %>
<li style="padding:0.5em"> <li style="padding:0.5em">
<input class="cbi-input-radio" data-update="click change"<%=attr("type", self.widget or "radio") .. attr("id", cbid .. "_empty") .. attr("name", cbid) .. attr("value", "") .. ifattr(checked[""], "checked", "checked")%> /> &#160; <input class="cbi-input-radio" data-update="click change"<%=attr("type", self.widget or "radio") .. attr("id", cbid .. "_empty") .. attr("name", cbid) .. attr("value", "") .. ifattr(checked[""], "checked", "checked")%> /> &#160;
@ -88,6 +89,7 @@
</div> </div>
</li> </li>
<% end %> <% end %>
</ul> </ul>
</span>
<%+cbi/valuefooter%> <%+cbi/valuefooter%>