% local view, viewlibrary, page_info, session = ... require("viewfunctions") %> <% 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?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?id=device_id&value="..v.device_id.."&redir=searchdevices&Search=Search", label="Search "} %> <% end %> <% else %> <% if viewlibrary.check_permission("createdevicefromrequest") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/createdevicefromrequest?mac="..v.mac.."&Create=Create", label="Create "} %> <% end %> <% end %> | <%= html.html_escape(v.date) %> | <%= html.html_escape(v.mac) %> | <%= html.html_escape(v.ip) %> | <%= html.html_escape(v.agent) %> |