summaryrefslogtreecommitdiffstats
path: root/app/expert-html.lsp
blob: 24213a7467d344b199b28b63f2bbbd3ad9c9e2df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<% local form, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>

<% displaycommandresults({"startstop"}, session) %>

<% if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("status")
end %>

<%
local pattern = string.gsub(page_info.prefix..page_info.controller, "[%(%)%.%%%+%-%*%?%[%]%^%$]", "%%%1")
local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "filedetails-html.lsp")
func(form, viewlibrary, page_info, session)
%>

<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
	viewlibrary.dispatch_component("startstop")
end %>