From f8573766bc17af0afacc5d44d3c3d8234b426dbf Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 7 Sep 2007 03:08:44 +0000 Subject: r24985: Start to revert us back to the old-style SWAT, while trying not to loose some of the fixes in the meantime. Andrew Bartlett (This used to be commit 13acff5ed259e7b5859fd2324ea7740b8f9e5fd7) --- swat/nbt_server/index.esp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 swat/nbt_server/index.esp (limited to 'swat/nbt_server') diff --git a/swat/nbt_server/index.esp b/swat/nbt_server/index.esp new file mode 100644 index 0000000000..1928f12d1b --- /dev/null +++ b/swat/nbt_server/index.esp @@ -0,0 +1,24 @@ +<% page_header("columns", "NBT Server", "nbt_server"); + + libinclude("base.js"); + libinclude("management.js"); +%> + +

NBT Server

+ +<% +writefln("The NBT server is: %s\n", server_status("nbt")); +%> + +

Packet statistics

+<% + +var stats = nbtd_statistics(); +if (stats == undefined) { + writefln("nbt server not running"); +} else { + simple_table(stats); +} +%> + +<% page_footer(); %> -- cgit