summaryrefslogtreecommitdiff
path: root/webapps/menu.js
blob: e7aa1891ffba2ce6331b9220830d3c4979621966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
  the menu hierarchy for SWAT
*/

include("/scripting/menus.js");

swat_menus = new Object();

swat_menus.main = simple_menu(
	"Main Menu",
	"Installation",       session_uri("/install/"),
	"ESP Tests",          session_uri("/esptest/"),
	"Preview of new SWAT",session_uri("/index.html"));

swat_menus.esptest = simple_menu(
	"ESP Tests",
	"ldb database",          session_uri("/esptest/ldb.esp"),
	"samr calls",            session_uri("/esptest/samr.esp"),
	"html forms",            session_uri("/esptest/formtest.esp"),
	"esp includes",          session_uri("/esptest/include.esp"),
	"session variables",     session_uri("/esptest/session.esp"),
	"loadparm access",       session_uri("/esptest/loadparm.esp"),
	"exception handling",    session_uri("/esptest/exception.esp"),
	"environment variables", session_uri("/esptest/showvars.esp"),
	"registry",              session_uri("/esptest/registry.esp"));

swat_menus.json = simple_menu(
	"JSON Tests",
	"ldb browser",          session_uri("/apps/samba/utils/ldbbrowse.html"),
	"admin console",	session_uri("/apps/samba/utils/admin_console.html"));


swat_menus.install = simple_menu(
	"Installation",
	"Provisioning",       session_uri("/install/provision.esp"),
	"New User",           session_uri("/install/newuser.esp"),
	"Import from Samba3", session_uri("/install/samba3.esp"),
	"Import from Windows", session_uri("/install/vampire.esp"));


swat_menus.nbt_server = simple_menu(
	"NBT Server",
	"Statistics",          session_uri("/nbt_server/index.esp"));


swat_menus.docs = simple_menu(
	"Links",
	"Samba4 development", "http://devel.samba.org/",
	"Recent Checkins", "http://build.samba.org/?tree=samba4;function=Recent+Checkins",
	"Recent Builds", "http://build.samba.org/?tree=samba4;function=Recent+Builds",
	"EJS Information", "http://www.appwebserver.org/products/ejs/ejs.html",
	"ESP Information", "http://www.appwebserver.org/products/esp/esp.html",
	"XHTML Spec", "http://www.w3.org/TR/xhtml1/",
	"JavaScript Spec", "http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf",
	"CSS Specs", "http://www.w3.org/Style/CSS/#specs",
	"CSS1/2 Reference", "http://www.w3schools.com/css/css_reference.asp");