From 64a4cac9126cb6d79fc243cdb65ae22e6c3d6350 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 3 Mar 2009 21:55:09 +0000 Subject: Added postgresql first cut. git-svn-id: svn://svn.alpinelinux.org/acf/postgresql/trunk@1726 ab2d0c66-481e-0410-8bed-d214d4d58bed --- postgresql-listfiles-html.lsp | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 postgresql-listfiles-html.lsp (limited to 'postgresql-listfiles-html.lsp') diff --git a/postgresql-listfiles-html.lsp b/postgresql-listfiles-html.lsp new file mode 100644 index 0000000..f94653b --- /dev/null +++ b/postgresql-listfiles-html.lsp @@ -0,0 +1,39 @@ +<% local data, viewlibrary, page_info, session = ... +require("viewfunctions") +%> +<% +--[[ DEBUG INFORMATION +io.write("

DEBUGGING

DEBUG INFO: CFE

") +io.write(html.cfe_unpack(data)) +io.write("
") +--]] +%> + +<% displaycommandresults({"expert", "startstop"}, session) %> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + +

<%= html.html_escape(data.label) %>

+ + + + + + + + + +<% for i,file in ipairs(data.value) do %> + + + + + +<% end %> +
FileSizeLast Modified
<%= html.link{value = "expert?filename=" .. file.filename.."&redir="..page_info.orig_action, label=file.filename} %><%= html.html_escape(file.filesize) %><%= html.html_escape(file.mtime) %>
+ +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("startstop") +end %> -- cgit v1.2.3