% local view, viewlibrary, page_info, session = ... require("htmlviewfunctions") html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deleterequest"}, session) %>
Action | Timestamp | MAC Address | IP Address | User Agent |
---|---|---|---|---|
<% if viewlibrary.check_permission("deleterequest") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleterequest?submit=true&mac="..v.mac, label="Delete ", class="deleterequest"} %> <% end %> <% if v.device_id then %> <% if viewlibrary.check_permission("searchdevices") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/searchdevices?submit=true&id=device_id&value="..v.device_id.."&redir=searchdevices", label="Search "} %> <% end %> <% else %> <% if viewlibrary.check_permission("createdevicefromrequest") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/createdevicefromrequest?submit=true&mac="..v.mac, label="Create "} %> <% end %> <% end %> | <%= html.html_escape(v.date) %> | <%= html.html_escape(v.mac) %> | <%= html.html_escape(v.ip) %> | <%= html.html_escape(v.agent) %> |