2011-06-07 13:26:45 +00:00
|
|
|
<!--#include virtual="/lib/header.shtml" -->
|
|
|
|
|
|
|
|
<script type=text/javascript src=/js/ajax.js></script>
|
|
|
|
|
|
|
|
<script type=text/javascript>
|
|
|
|
function updateResults()
|
|
|
|
{
|
|
|
|
var r = document.getElementById('results');
|
|
|
|
if (r && request.readyState == 4 && request.status == 200)
|
|
|
|
{
|
|
|
|
r.style.display = 'block';
|
|
|
|
var t = document.getElementById('result_txt');
|
|
|
|
t.innerHTML = request.responseText;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function go(service, action)
|
|
|
|
{
|
|
|
|
if (service == null || service == "" ||
|
|
|
|
action == null || action == "")
|
|
|
|
return;
|
|
|
|
|
|
|
|
var url = "/cgi-bin/service.jim?service=" + escape(service) +
|
|
|
|
"&action=" + escape(action);
|
|
|
|
|
|
|
|
request.open("GET", url, true);
|
|
|
|
request.onreadystatechange = updateResults;
|
|
|
|
request.send(null);
|
|
|
|
}
|
|
|
|
|
|
|
|
function toggle(obj)
|
|
|
|
{
|
|
|
|
if (obj.src.search("on") > -1)
|
|
|
|
obj.src = '/img/off.png';
|
|
|
|
else
|
|
|
|
obj.src = '/img/on.png';
|
|
|
|
}
|
|
|
|
|
|
|
|
</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>
|
2011-06-07 14:45:01 +00:00
|
|
|
<!--#exec cmd="/mod/var/mongoose/include/services.jim" -->
|
2011-06-07 13:26:45 +00:00
|
|
|
</table>
|
|
|
|
<!--#include virtual="/lib/footer.shtml" -->
|