summaryrefslogtreecommitdiffstats
path: root/logfiles-tail-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-02-03 21:16:54 +0000
committerTed Trask <ttrask01@yahoo.com>2014-02-03 21:16:54 +0000
commitdb50c4a219e0199bebd8a9fd70a87a4d3c6a123e (patch)
tree30a7dd126382030425767f00948ce3f19e3c8be4 /logfiles-tail-html.lsp
parent0abf04fdfd4e0c26c6e43007d188d2b6c75c696e (diff)
downloadacf-alpine-baselayout-db50c4a219e0199bebd8a9fd70a87a4d3c6a123e.tar.bz2
acf-alpine-baselayout-db50c4a219e0199bebd8a9fd70a87a4d3c6a123e.tar.xz
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
Diffstat (limited to 'logfiles-tail-html.lsp')
-rw-r--r--logfiles-tail-html.lsp16
1 files changed, 7 insertions, 9 deletions
diff --git a/logfiles-tail-html.lsp b/logfiles-tail-html.lsp
index 24366a7..b75429b 100644
--- a/logfiles-tail-html.lsp
+++ b/logfiles-tail-html.lsp
@@ -48,7 +48,7 @@
ID=window.setTimeout("Update();", 1000);
}
function handleerror(event, request, settings){
- $(this).append("Error requesting page " + settings.url + "<BR>Perhaps the session has timed out.");
+ $(this).append("Error requesting page " + settings.url + "<br/>Perhaps the session has timed out.");
$("#Stop").click();
};
$(function(){
@@ -62,8 +62,7 @@
});
</script>
-<H1>Tail File</H1>
-<DL>
+<h1>Tail File</h1>
<%
htmlviewfunctions.displayitem(form.value.filename)
htmlviewfunctions.displayitem(form.value.filesize)
@@ -74,9 +73,8 @@ end
<textarea id="filecontent">
</textarea>
<p class="error" id="errtxt"></p>
-<DT>Start / Stop tailing file</DT>
-<DD>
-<input TYPE="button" ID="Start" VALUE="Start" onClick='$("#errtxt").empty(); Update(); $("#Start").attr("disabled","disabled");$("#Stop").removeAttr("disabled");'>
-<input TYPE="button" ID="Stop" VALUE="Stop" onClick='window.clearTimeout(ID); $("#Stop").attr("disabled","disabled");$("#Start").removeAttr("disabled");'>
-</DD>
-</DL>
+<div class='item'><p class='left'>Start / Stop tailing file</p>
+<div class='right'>
+<input type="button" id="Start" value="Start" onClick='$("#errtxt").empty(); Update(); $("#Start").attr("disabled","disabled");$("#Stop").removeAttr("disabled");'>
+<input type="button" id="Stop" value="Stop" onClick='window.clearTimeout(ID); $("#Stop").attr("disabled","disabled");$("#Start").removeAttr("disabled");'>
+</div></div><!-- end .item -->