summaryrefslogtreecommitdiffstats
path: root/weblog-listsources-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'weblog-listsources-html.lsp')
-rw-r--r--weblog-listsources-html.lsp6
1 files changed, 2 insertions, 4 deletions
diff --git a/weblog-listsources-html.lsp b/weblog-listsources-html.lsp
index 53a571f..270e24c 100644
--- a/weblog-listsources-html.lsp
+++ b/weblog-listsources-html.lsp
@@ -5,7 +5,7 @@ require("viewfunctions")
<% displaycommandresults({"deletesource", "editsource", "testsource", "createsource", "importlogs"}, session) %>
<h1><%= html.html_escape(data.label) %></h1>
-
+<DL>
<TABLE>
<TR style="background:#eee;font-weight:bold;">
<TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Action</TD>
@@ -38,15 +38,13 @@ require("viewfunctions")
<p>No sources found</p>
<% end %>
-<DL>
+
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/createsource") %>">
<DT>Create New Source</DT>
<input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" >
<DD><input class="submit" type="submit" value="Create"></DD>
</form>
-</DL>
-<DL>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/importlogs") %>">
<DT>Import Logs</DT>
<DD><input class="submit" type="submit" value="Import"></DD>