<%# hmi.htm -%> <% ---------------------- -- Poste seleccionado ---------------------- local path = luci.dispatcher.context.requestpath local fs = require "nixio.fs" local cl = path[1] local utl = require "luci.util" local mUtl = require "luci.moreUtils" local sn = mUtl.get_serialnumber() if params and params.pdr then params = params.pdr end local master = mUtl.identify_pseudo_maestre(path[4] or sn) local options = utl.ubus(path[4] or params or sn , "get_configuration") if options and options.backlight21d then options = options.backlight21d end local gmod = require "luci.model.display_variables" -%> <%+header%>

<%=translate("Backlight Display21")%> - <%=path[4] or params or sn%>

<%:Configure general options%>
<%:Here you can configure the general options of the 21 inch display.%>
<% for k , v in pairs(gmod.intValues) do %>
<%end%> <% for k , v in pairs(gmod.booleanValues) do %> <%if options[k] == true then checked = "checked" else checked = "false" end%>
/>
<%end%> <%:Download video for the display%>
<%:Here you can download the video that will be displayed on the screen.%>
" id="save_value" onclick="save_url()"/>
<%+footer%>