2011-11-12 23:57:19 +00:00
|
|
|
<!--#include virtual="/lib/header.shtml" -->
|
|
|
|
|
2011-11-16 21:40:53 +00:00
|
|
|
<fieldset style="display: inline; float: left; clear: left">
|
2011-11-12 23:57:19 +00:00
|
|
|
<legend>Diagnostics</legend>
|
|
|
|
Diagnostic:
|
2011-11-24 22:25:28 +00:00
|
|
|
<input name=seq id=seq autocorrect=off autocapitalize=off
|
|
|
|
value=general size=30 maxlength=50
|
2011-11-12 23:57:19 +00:00
|
|
|
class="text ui-widget-content ui-corner-all">
|
|
|
|
<button id=rundiag>Run Diagnostic</button>
|
|
|
|
</fieldset>
|
|
|
|
|
2011-11-16 21:40:53 +00:00
|
|
|
<fieldset style="display: inline; float: left; clear: left">
|
|
|
|
<legend>Log Files</legend>
|
|
|
|
<!--#exec cmd="/mod/var/mongoose/include/logfiles.jim" -->
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<div style="margin-top: 2em; display: none; float: left; clear: left"
|
|
|
|
class=pre id=results></div>
|
2011-11-12 23:57:19 +00:00
|
|
|
|
|
|
|
<script type=text/javascript>
|
|
|
|
$('#rundiag').button().click(function() {
|
2011-11-16 21:40:53 +00:00
|
|
|
$('#results')
|
|
|
|
.slideDown()
|
|
|
|
.text('\n\nRunning diagnostic, please wait...\n\n')
|
|
|
|
.load('/cgi-bin/diag.jim?diag=' +
|
2011-11-12 23:57:19 +00:00
|
|
|
encodeURIComponent($('#seq').val()));
|
|
|
|
});
|
2011-11-16 21:40:53 +00:00
|
|
|
$('a.log').click(function() {
|
|
|
|
$('#results')
|
|
|
|
.slideDown()
|
|
|
|
.text('\n\nLoading log, please wait...\n\n')
|
|
|
|
.load('/cgi-bin/cat.jim?file=' +
|
|
|
|
encodeURIComponent($(this).attr('file')));
|
|
|
|
});
|
2011-11-12 23:57:19 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<!--#include virtual="/lib/footer.shtml" -->
|
|
|
|
|