From ca6b9f370bbd37b58dbec55c7b369d72a4684918 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 May 2005 06:15:01 +0000 Subject: r7088: start on some real structure for the SWAT web pages - this imports the basic css pages from samba.org - i have created some useful ejs scripts in common.js that will be included by all pages - added a real login page, and a logout button showing who you are logged in as - added page_header() and page_footer() functions that take a page type, allowing for "plain" or "columms" pages - added some simple menus on the left of the columns page type, with links to the esp tests and some useful links for samba4 developers (This used to be commit 86d2ecf0f2a8de8abfdcc5f2aae7d4d969d19339) --- swat/esptest/loadparm.esp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'swat/esptest/loadparm.esp') diff --git a/swat/esptest/loadparm.esp b/swat/esptest/loadparm.esp index b9f2c54ec5..0ed69d939a 100644 --- a/swat/esptest/loadparm.esp +++ b/swat/esptest/loadparm.esp @@ -1,8 +1,5 @@ - - -Samba4 ESP test - - +<% page_header("columns", "ESP loadparm test"); %> +

Samba4 loadparm test

@@ -37,7 +34,7 @@ function showValue(name, v) { if (request['REQUEST_METHOD'] == "POST") { /* if they cancelled then take them back to the list of tests */ if (form['submit'] == "Cancel") { - redirect("index.esp"); + redirect("/"); } var v; @@ -73,5 +70,4 @@ showParameter("server signing"); showParameter("interfaces"); %> - - +<% page_footer(); %> -- cgit