From 45ceb4770df9774a37346f7e0d1ef4f8acec46a9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:50:26 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- rrdtool-editgraphcfg-html.lsp | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'rrdtool-editgraphcfg-html.lsp') diff --git a/rrdtool-editgraphcfg-html.lsp b/rrdtool-editgraphcfg-html.lsp index 1d5f446..6f29307 100644 --- a/rrdtool-editgraphcfg-html.lsp +++ b/rrdtool-editgraphcfg-html.lsp @@ -3,36 +3,31 @@ <% html = require("acf.html") %> <% if form.type == "form" then %> -

Configuration

-

Expert Configuration

+

Configuration

+

Expert Configuration

<% else %> -

View File

+

View File

<% end %> -

File Details

-
+

File Details

<% htmlviewfunctions.displayitem(form.value.filename) htmlviewfunctions.displayitem(form.value.filesize) htmlviewfunctions.displayitem(form.value.mtime) %> -
-

File Content

+

File Content

<% if form.type == "form" then %> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> <% htmlviewfunctions.displayformstart(form) %> <% else %> -
<% 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.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) %> -<% else %> -
<% end %> -- cgit v1.2.3