r8591: - added a simple 2 level menu structure to swat. Deryck, I know this
[sfrench/samba-autobuild/.git] / swat / index.esp
1 <% page_header("columns", "Server Status", "");
2   libinclude("base.js");
3   libinclude("management.js");
4 %>
5
6 <h1>Server Status</h1>
7
8 <%
9 var servers = new Array("nbt_server", "smb_server", "ldap_server", "cldap_server", "kdc_server");
10 var i;
11 var info = new Object();
12
13 info["NBT Server"]   = server_status("nbt");
14 info["WINS Server"]  = server_status("wins");
15 info["CLDAP Server"] = server_status("cldap");
16 info["KDC"]          = server_status("kdc");
17 info["SMB Server"]   = stream_server_status("smb");
18 info["LDAP Server"]  = stream_server_status("ldap");
19 info["RPC Server"]   = stream_server_status("rpc");
20
21 simple_table(info);
22 %>
23
24 <% page_footer(); %>