From eff4851d554aea9d4398fb94ca2c7af00e714f2a Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 25 Aug 2009 08:45:07 +0000 Subject: Added missing samba-listfiles-html.lsp file, bumped to 0.3.1 --- Makefile | 2 +- samba-listfiles-html.lsp | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 samba-listfiles-html.lsp diff --git a/Makefile b/Makefile index 117f9b7..56aa7d9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ APP_NAME=samba PACKAGE=acf-$(APP_NAME) -VERSION=0.3.0 +VERSION=0.3.1 APP_DIST=\ samba* \ diff --git a/samba-listfiles-html.lsp b/samba-listfiles-html.lsp new file mode 100644 index 0000000..13bd484 --- /dev/null +++ b/samba-listfiles-html.lsp @@ -0,0 +1,32 @@ +<% local data, viewlibrary, page_info, session = ... +require("viewfunctions") +%> + +<% 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