From f9780f645bc94f2f79fc4e266e671d15232d4b9d Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 4 Mar 2014 02:41:32 +0000 Subject: Change HTML views to use htmlviewfunctions.displayheader Modified some models to change labels --- logfiles-view-html.lsp | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) mode change 100644 => 120000 logfiles-view-html.lsp (limited to 'logfiles-view-html.lsp') diff --git a/logfiles-view-html.lsp b/logfiles-view-html.lsp deleted file mode 100644 index 66a0248..0000000 --- a/logfiles-view-html.lsp +++ /dev/null @@ -1,35 +0,0 @@ -<% local form, viewlibrary, page_info = ... %> -<% htmlviewfunctions = require("htmlviewfunctions") %> -<% html = require("acf.html") %> - -<% if form.type == "form" then %> -

Configuration

-

Expert Configuration

-<% else %> -

View File

-<% end %> -

File Details

-<% -htmlviewfunctions.displayitem(form.value.filename) -htmlviewfunctions.displayitem(form.value.filesize) -htmlviewfunctions.displayitem(form.value.mtime) -if form.value.grep.value ~= "" then - htmlviewfunctions.displayitem(form.value.grep) -end -%> - -

File Content

-<% if form.type == "form" then %> -<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> -<% htmlviewfunctions.displayformstart(form) %> - -<% end %> - -<% if form.value.filecontent.errtxt then %>

<%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "
") %>

<% end %> -<% if form.value.filecontent.descr then %>

<%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "
") %>

<% end %> - -<% if form.type == "form" then %> -<% htmlviewfunctions.displayformend(form) %> -<% end %> diff --git a/logfiles-view-html.lsp b/logfiles-view-html.lsp new file mode 120000 index 0000000..15b1930 --- /dev/null +++ b/logfiles-view-html.lsp @@ -0,0 +1 @@ +../filedetails-html.lsp \ No newline at end of file -- cgit v1.2.3