summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach LeBar <zach@zachlebar.com>1980-02-23 04:30:22 +0000
committerZach LeBar <zach@zachlebar.com>1980-02-23 04:30:22 +0000
commitec077a1dfd0fd641473c84516cfc514c46e6eb62 (patch)
tree150a5b36564896f6a1ec2b5ac340685944a01885
parent10da2a83887d8efca93f0b8c0560f8297b7bc3bf (diff)
downloadacf-alpine-conf-master.tar.bz2
acf-alpine-conf-master.tar.xz
Cleaning and refining the HTML in 'lbu-listchanges-html.lsp' and 'lbu-status-html.lsp'.HEADmaster
-rw-r--r--lbu-listchanges-html.lsp41
-rw-r--r--lbu-status-html.lsp4
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 %>
-<H1>Download Overlay</H1>
-<DL>
- <DT>Generate and download overlay</DT>
- <DD><form action="<%= html.html_escape(page_info.script .. page_info.prefix) %>lbu/getpackage" method="POST">
- <input class="submit" type="submit" name="submit" value="Download"></form></DD>
-</DL>
+<h1>Download Overlay</h1>
+<div class="item">
+ <p class="left">Generate and download overlay</p>
+ <div class="right">
+ <form action="<%= html.html_escape(page_info.script .. page_info.prefix) %>lbu/getpackage" method="POST">
+ <input class="submit" type="submit" name="submit" value="Download" />
+ </form>
+ </div>
+</div><!-- end .item -->
<% end %>
-<H1>Changes Since Last Commit</H1>
-<DL>
- <dt>Files changed since last commit</dt>
- <dd><pre><%
- 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")))
+<h1>Changes Since Last Commit</h1>
+<div class="item">
+ <p class="left">Files changed since last commit</p>
+ <div class="right">
+ <pre><%
+ 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
- %></pre></DD>
-</DL>
+ %></pre>
+ </div>
+</div><!-- end .item -->
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")
%>
-<H1>System Info</H1>
-<DL>
+<h1>System Info</h1>
<%
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 %>
-</DL>