From 342d11e3544ec4836cf718f23ea65bee3592fc08 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Jul 2005 09:34:11 +0000 Subject: r8591: - added a simple 2 level menu structure to swat. Deryck, I know this isn't very pretty, and please feel free to do this much more nicely :-) - added a top level menu listing our main servers - added placeholder pages for the main servers - added NBT server statistics (This used to be commit 1aa658b756903e7cb598302eddd18b7734937c83) --- swat/esptest/exception.esp | 2 +- swat/esptest/formtest.esp | 2 +- swat/esptest/include.esp | 2 +- swat/esptest/index.esp | 7 +++++++ swat/esptest/ldb.esp | 2 +- swat/esptest/loadparm.esp | 2 +- swat/esptest/newuser.esp | 2 +- swat/esptest/provision.esp | 2 +- swat/esptest/samr.esp | 2 +- swat/esptest/session.esp | 2 +- swat/esptest/showvars.esp | 2 +- 11 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 swat/esptest/index.esp (limited to 'swat/esptest') diff --git a/swat/esptest/exception.esp b/swat/esptest/exception.esp index df62e9a326..dcc0fda093 100644 --- a/swat/esptest/exception.esp +++ b/swat/esptest/exception.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP Exception test"); %> +<% page_header("columns", "ESP Exception test", "/esptest/menu.js"); %>

Samba4 exception test

diff --git a/swat/esptest/formtest.esp b/swat/esptest/formtest.esp index 2d7c33e518..5cb4f00327 100644 --- a/swat/esptest/formtest.esp +++ b/swat/esptest/formtest.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP Form Test"); %> +<% page_header("columns", "ESP Form Test", "/esptest/menu.js"); %> <% var f = FormObj("FormTest", 3, 2); diff --git a/swat/esptest/include.esp b/swat/esptest/include.esp index 96afead1f9..fc53a9b1f4 100644 --- a/swat/esptest/include.esp +++ b/swat/esptest/include.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP Include Test"); %> +<% page_header("columns", "ESP Include Test", "/esptest/menu.js"); %> including /scripting/test.ejs

<% include("/scripting/test.ejs"); %> diff --git a/swat/esptest/index.esp b/swat/esptest/index.esp new file mode 100644 index 0000000000..fbbed9b3c4 --- /dev/null +++ b/swat/esptest/index.esp @@ -0,0 +1,7 @@ +<% page_header("columns", "ESP Tests", "/esptest/menu.js"); %> + +

ESP Test functions

+ +Please select a menu item from the selection on the left + +<% page_footer(); %> diff --git a/swat/esptest/ldb.esp b/swat/esptest/ldb.esp index 18427dfecd..b0a2db8dad 100644 --- a/swat/esptest/ldb.esp +++ b/swat/esptest/ldb.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP ldb test"); %> +<% page_header("columns", "ESP ldb test", "/esptest/menu.js"); %>

Samba4 ldb test

diff --git a/swat/esptest/loadparm.esp b/swat/esptest/loadparm.esp index 738208b745..9e6de480e2 100644 --- a/swat/esptest/loadparm.esp +++ b/swat/esptest/loadparm.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP loadparm test"); %> +<% page_header("columns", "ESP loadparm test", "/esptest/menu.js" ); %>

Samba4 loadparm test

diff --git a/swat/esptest/newuser.esp b/swat/esptest/newuser.esp index 2e4341fbee..4c54a969e7 100644 --- a/swat/esptest/newuser.esp +++ b/swat/esptest/newuser.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "Add a user"); +<% page_header("columns", "Add a user", "/esptest/menu.js"); libinclude("base.js"); libinclude("provision.js"); diff --git a/swat/esptest/provision.esp b/swat/esptest/provision.esp index b2f5fbf618..edb65469df 100644 --- a/swat/esptest/provision.esp +++ b/swat/esptest/provision.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "Server provisioning"); +<% page_header("columns", "Server provisioning", "/esptest/menu.js"); libinclude("base.js"); libinclude("provision.js"); diff --git a/swat/esptest/samr.esp b/swat/esptest/samr.esp index b0a6a9de6e..53e20a23ab 100644 --- a/swat/esptest/samr.esp +++ b/swat/esptest/samr.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP samr test"); +<% page_header("columns", "ESP samr test", "/esptest/menu.js"); libinclude("base.js"); libinclude("samr.js"); diff --git a/swat/esptest/session.esp b/swat/esptest/session.esp index 4fb4ee7bb4..0135221266 100644 --- a/swat/esptest/session.esp +++ b/swat/esptest/session.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP session test"); %> +<% page_header("columns", "ESP session test", "/esptest/menu.js"); %>

Samba4 session test

diff --git a/swat/esptest/showvars.esp b/swat/esptest/showvars.esp index 38904edcc5..6763f2b6dd 100644 --- a/swat/esptest/showvars.esp +++ b/swat/esptest/showvars.esp @@ -1,4 +1,4 @@ -<% page_header("columns", "ESP standard variables test"); %> +<% page_header("columns", "ESP standard variables test", "/esptest/menu.js"); %>

Samba4 showvars test

-- cgit