% local view, viewlibrary, page_info, session = ... %> <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deletecert"}, session) %> <% htmlviewfunctions.displaycommandresults({"uploadcert"}, session, true) %> <% local header_level = htmlviewfunctions.displaysectionstart(view, page_info) %>
Action | Certificate |
---|---|
<% certcfe.value = cert %> <% htmlviewfunctions.displayitem(cfe({type="form", value={cert=certcfe}, label="", option="Delete", action="deletecert" }), page_info, -1) %> <% if not string.find(cert, "%-key") then %> <% htmlviewfunctions.displayitem(cfe({type="link", value={cert=certcfe}, label="", option="View", action="viewcert" }), page_info, -1) %> <% end %> | <%= html.html_escape(cert) %> |