summaryrefslogtreecommitdiffstats
path: root/provisioning-listrequests-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-10 16:08:22 +0000
committerTed Trask <ttrask01@yahoo.com>2016-11-08 18:52:13 +0000
commitdf5ad37e297ffe69ec20c9aec332f81ef7e7e6fa (patch)
tree733cfc8e89018f3087afd038f7c651f2e73fd282 /provisioning-listrequests-html.lsp
parentf27e30740e371b4cd8947797bcf8c91f86b6768e (diff)
downloadacf-provisioning-df5ad37e297ffe69ec20c9aec332f81ef7e7e6fa.tar.bz2
acf-provisioning-df5ad37e297ffe69ec20c9aec332f81ef7e7e6fa.tar.xz
Remove trailing whitespace
(cherry picked from commit 12d3537a7cb975b0a75698f1e1f90e66313a6893)
Diffstat (limited to 'provisioning-listrequests-html.lsp')
-rw-r--r--provisioning-listrequests-html.lsp12
1 files changed, 6 insertions, 6 deletions
diff --git a/provisioning-listrequests-html.lsp b/provisioning-listrequests-html.lsp
index 9ddd3c0..54c4e42 100644
--- a/provisioning-listrequests-html.lsp
+++ b/provisioning-listrequests-html.lsp
@@ -1,4 +1,4 @@
-<% local view, viewlibrary, page_info, session = ...
+<% local view, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
@@ -26,7 +26,7 @@ html = require("acf.html")
window.location.assign("<%= html.html_escape(page_info.script..page_info.prefix..page_info.controller) %>/searchdevices");
<%
end
-
+
-- Since we're including a submission of createdevicefromrequest, we need to overcome the automatic redirect
if session.createdevicefromrequestresult and not session.createdevicefromrequestresult.errtxt then
local tmp = session.createdevicefromrequestresult
@@ -74,10 +74,10 @@ html = require("acf.html")
$("#list").tablesorter({headers: {1:{sorter:'digit'}, 3:{sorter:'ipAddress'}}, widgets: ['zebra', 'filter', 'pager'], widgetOptions: {
// Filtering is handled by the server
filter_serversideFiltering: true,
-
+
// We can put the page number and size here, filtering and sorting handled by pager_customAjaxUrl
pager_ajaxUrl : '<%= html.html_escape(page_info.script .. page_info.orig_action) %>?viewtype=json&page={page+1}&pagesize={size}',
-
+
// Modify the url after all processing has been applied to handle filtering and sorting
pager_customAjaxUrl: function(table, url) {
var columns = ["action", "date", "mac", "ip", "agent", "device_id"];
@@ -96,7 +96,7 @@ html = require("acf.html")
}
return url;
},
-
+
// process ajax so that the following information is returned:
// [ total_rows (number), rows (array of arrays), headers (array; optional) ]
pager_ajaxProcessing: function(data){
@@ -137,7 +137,7 @@ html = require("acf.html")
<th>IP Address</th>
<th>User Agent</th>
<th>Device ID</th>
- </tr>
+ </tr>
</thead><tbody>
</tbody>
</table>