From 6e029cd625261b77c94cdf3c38139a7d0fc381c4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 10 Oct 2011 15:24:51 +0000 Subject: Added viewclassparams, getfile, and putfile actions plus determine_class.lua script and provisioning_requests table. viewclassparams shows the parameters and default values for a class getfile is used to get the config file for a known device and a default config file for unconfigured devices putfile is unimplemented, but will be used for parsing files uploaded to the server determine_class.lua determines which device class best matches an unconfigured device (by agent) provisioning_requests table will track the last request (ip, agent, and timestamp) for each device --- provisioning-listclasses-html.lsp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'provisioning-listclasses-html.lsp') diff --git a/provisioning-listclasses-html.lsp b/provisioning-listclasses-html.lsp index d5550c7..4d55604 100644 --- a/provisioning-listclasses-html.lsp +++ b/provisioning-listclasses-html.lsp @@ -33,6 +33,9 @@ require("viewfunctions") <% if viewlibrary.check_permission("editclass") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editclass?class_id="..v.class_id.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> + <% if viewlibrary.check_permission("viewclassparams") then %> + <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/viewclassparams?class_id="..v.class_id.."&redir="..page_info.orig_action, label="Params "} %> + <% end %> <%= html.html_escape(v.group) %> <%= html.html_escape(v.label) %> -- cgit v1.2.3