summaryrefslogtreecommitdiffstats
path: root/provisioning-bulk-html.lsp
blob: d1278e1fc6051a4d770d70ec8a486e2a6a9104a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% local form, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>

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

<%
	local viewtype = cfe({type="hidden", value="stream"})
	if viewlibrary.check_permission("bulkdumprawdevices") then
		htmlviewfunctions.displayitem(cfe({type="form", value={viewtype=viewtype}, label="Bulk Dump Devices", option="Dump", action="bulkdumprawdevices"}), page_info)
	elseif viewlibrary.check_permission("bulkdumpdevices") then
		htmlviewfunctions.displayitem(cfe({type="form", value={viewtype=viewtype}, label="Bulk Dump Devices", option="Dump", action="bulkdumpdevices"}), page_info)
	end
%>