2 --local utl = require "luci.util"
3 local fs = require "luci.fs"
4 local title = data.title
5 local file = "/usr/share/customtext/" .. name .. ".html"
6 local text = fs.readfile(file)
7 local width = data.width or "100%"
8 local pr = data.paddingright or "0"
9 if type(width) == "number" then
15 <div id="<%=name%>" style="width:<%=width%>;float:left">
16 <div style="padding-right: <%=pr%>">
23 <%:Could not load the custom text from%> "<%=file%>!"