r8594: more placeholder pages for server status
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 09:44:55 +0000 (09:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:43 +0000 (13:29 -0500)
swat/index.esp
swat/kdc_server/index.esp [new file with mode: 0644]
swat/menu.js
swat/rpc_server/index.esp [new file with mode: 0644]
swat/wins_server/index.esp [new file with mode: 0644]

index 0abfcc46d99354cfb6beab3e1300a511c4cb231c..e1ec62430868cedab81d5fbb8ceaa8e7bfb72904 100644 (file)
@@ -10,13 +10,13 @@ var servers = new Array("nbt_server", "smb_server", "ldap_server", "cldap_server
 var i;
 var info = new Object();
 
-info["NBT Server"]   = server_status("nbt");
-info["WINS Server"]  = server_status("wins");
-info["CLDAP Server"] = server_status("cldap");
-info["KDC"]          = server_status("kdc");
-info["SMB Server"]   = stream_server_status("smb");
-info["LDAP Server"]  = stream_server_status("ldap");
-info["RPC Server"]   = stream_server_status("rpc");
+info["NBT Server"]      = server_status("nbt");
+info["WINS Server"]     = server_status("wins");
+info["CLDAP Server"]    = server_status("cldap");
+info["Kerberos Server"] = server_status("kdc");
+info["SMB Server"]      = stream_server_status("smb");
+info["LDAP Server"]     = stream_server_status("ldap");
+info["RPC Server"]      = stream_server_status("rpc");
 
 simple_table(info);
 %>
diff --git a/swat/kdc_server/index.esp b/swat/kdc_server/index.esp
new file mode 100644 (file)
index 0000000..ed70f7f
--- /dev/null
@@ -0,0 +1,13 @@
+<% page_header("columns", "Kerberos Server", ""); 
+
+  libinclude("base.js");
+  libinclude("management.js");
+%>
+
+<h1>Kerberos Server</h1>
+
+<%
+writefln("Status: %s\n", server_status("kdc"));
+%>
+
+<% page_footer(); %>
index 78d61b34d27b1446c7de2a40ec0539ffd9a30fa1..406bba0a564cd1e2c52ccc1dd0874ffd77624262 100644 (file)
@@ -1,8 +1,11 @@
 /* show a menu for the esp test pages */
 simple_menu(
        "Main Menu",
-       "File Server",         session_uri("/smb_server/"),
-       "LDAP Server",         session_uri("/ldap_server/"),
-       "CLDAP Server",         session_uri("/cldap_server/"),
+       "File Server",        session_uri("/smb_server/"),
+       "LDAP Server",        session_uri("/ldap_server/"),
+       "CLDAP Server",       session_uri("/cldap_server/"),
+       "RPC Server",         session_uri("/rpc_server/"),
        "NBT Server",         session_uri("/nbt_server/"),
+       "WINS Server",        session_uri("/wins_server/"),
+       "Kerberos Server",    session_uri("/kdc_server/"),
        "ESP Tests",          session_uri("/esptest/"));
diff --git a/swat/rpc_server/index.esp b/swat/rpc_server/index.esp
new file mode 100644 (file)
index 0000000..5c42907
--- /dev/null
@@ -0,0 +1,13 @@
+<% page_header("columns", "RPC Server", ""); 
+
+  libinclude("base.js");
+  libinclude("management.js");
+%>
+
+<h1>RPC Server</h1>
+
+<%
+writefln("Status: %s\n", stream_server_status("rpc"));
+%>
+
+<% page_footer(); %>
diff --git a/swat/wins_server/index.esp b/swat/wins_server/index.esp
new file mode 100644 (file)
index 0000000..d24fa34
--- /dev/null
@@ -0,0 +1,13 @@
+<% page_header("columns", "WINS Server", ""); 
+
+  libinclude("base.js");
+  libinclude("management.js");
+%>
+
+<h1>WINS Server</h1>
+
+<%
+writefln("Status: %s\n", server_status("wins"));
+%>
+
+<% page_footer(); %>