2011-06-07 13:26:45 +00:00
|
|
|
<!--#include virtual="/lib/header.shtml" -->
|
2011-06-22 00:21:48 +00:00
|
|
|
<link href=/css/iphone-style-checkboxes.css rel=stylesheet type=text/css />
|
|
|
|
<script type="text/javascript" src="/js/iphone-style-checkboxes.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('input:checkbox').iphoneStyle();
|
|
|
|
// Don't allow turning off the web server from within the web server..
|
|
|
|
$('input:checkbox[name=mongoose][class=toggle]').attr('disabled', true);
|
|
|
|
|
|
|
|
$(':checkbox').change(function() {
|
|
|
|
var url = '/cgi-bin/service.jim?action=' +
|
|
|
|
escape($(this).attr('class')) +
|
|
|
|
'&service=' +
|
|
|
|
escape($(this).attr('name'));
|
|
|
|
$('#result_txt').load(url, function() {
|
2011-06-22 00:32:13 +00:00
|
|
|
if ($('#results').is(":visible") == false)
|
|
|
|
{
|
|
|
|
$('#results').show('slow');
|
|
|
|
$('#results').delay(3000).hide('slow');
|
|
|
|
}
|
2011-06-22 00:21:48 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
2011-06-07 13:26:45 +00:00
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<h1>Service Management</h1>
|
|
|
|
<div id=results class=shadowbox style="width: 90%; display: none; margin: 1 0 1em 0">
|
|
|
|
<div>
|
|
|
|
<pre id=result_txt>
|
|
|
|
Results...
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class=borders cellpadding=5>
|
|
|
|
<tr class=greenshade>
|
|
|
|
<th>Service</th>
|
|
|
|
<th>Auto Startup</th>
|
|
|
|
<th>Status</th>
|
|
|
|
</tr>
|
2012-05-21 20:23:41 +00:00
|
|
|
<!--#exec cmd="/mod/webif/include/services.jim" -->
|
2011-06-07 13:26:45 +00:00
|
|
|
</table>
|
|
|
|
<!--#include virtual="/lib/footer.shtml" -->
|