From ec077a1dfd0fd641473c84516cfc514c46e6eb62 Mon Sep 17 00:00:00 2001 From: Zach LeBar Date: Sat, 23 Feb 1980 04:30:22 +0000 Subject: Cleaning and refining the HTML in 'lbu-listchanges-html.lsp' and 'lbu-status-html.lsp'. --- lbu-listchanges-html.lsp | 41 +++++++++++++++++++++++------------------ lbu-status-html.lsp | 4 +--- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/lbu-listchanges-html.lsp b/lbu-listchanges-html.lsp index 1660156..c00a7ea 100644 --- a/lbu-listchanges-html.lsp +++ b/lbu-listchanges-html.lsp @@ -12,24 +12,29 @@ require("htmlviewfunctions") %> <% if viewlibrary.check_permission("getpackage") then %> -

Download Overlay

-
-
Generate and download overlay
-
-
-
+

Download Overlay

+
+

Generate and download overlay

+
+
+ +
+
+
<% end %> -

Changes Since Last Commit

-
-
Files changed since last commit
-
<% 
-		if (#view.value == 0) then
-			io.write("None")
-		else
-			for i,file in pairs(view.value) do
-				io.write((html.html_escape(file.status .. "\t" .. file.name .. "\n")))
+

Changes Since Last Commit

+
+

Files changed since last commit

+
+
<% 
+			if (#view.value == 0) then
+				io.write("None")
+			else
+				for i,file in pairs(view.value) do
+					io.write((html.html_escape(file.status .. "\t" .. file.name .. "\n")))
+				end
 			end
-		end
-	%>
-
+ %> + + diff --git a/lbu-status-html.lsp b/lbu-status-html.lsp index 932ced1..3caba4e 100644 --- a/lbu-status-html.lsp +++ b/lbu-status-html.lsp @@ -2,8 +2,7 @@ require("htmlviewfunctions") %> -

System Info

-
+

System Info

<% if view.value.committed.value then view.value.committed.value = "There are no uncommitted files" @@ -18,4 +17,3 @@ for name,value in pairs(view.value) do htmlviewfunctions.displayitem(value) end end %> -
-- cgit v1.2.3