%
require("viewfunctions")
local form, viewlibrary = ...
local data = form.option
local service = form.service
local config = form.service.config
%>
<%
--[[ DEBUG INFORMATION
io.write("
DEBUGGING
DEBUG INFO: CFE
")
io.write(html.cfe_unpack(form))
io.write("")
--]]
%>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
Configuration
<% if (#service.cfgerr > 0) then %>
Errors
- Config errors
<% io.write( service.cfgerr ) %>
<% end %>
<%
for k,v in ipairs( config.files ) do
io.write( "" .. v.path .. " | " .. (v.size or "--") .." | " .. (v.mtime or "--") .." |
\n" )
end
%>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("startstop")
end %>