r19357: More ldbbrowse work.
[jra/samba/.git] / swat / menu.js
1 /*
2   the menu hierarchy for SWAT
3 */
4
5 include("/scripting/menus.js");
6
7 swat_menus = new Object();
8
9 swat_menus.main = simple_menu(
10         "Main Menu",
11         "Servers",            session_uri("/?menu=servers"),
12         "Installation",       session_uri("/install/"),
13         "ESP Tests",          session_uri("/esptest/"),
14         "JSON/qooxdoo",       session_uri("/?menu=json"));
15
16 swat_menus.servers = simple_menu(
17         "Servers",
18         "LDAP Server",        session_uri("/ldap_server/"),
19         "CLDAP Server",       session_uri("/cldap_server/"),
20         "RPC Server",         session_uri("/rpc_server/"),
21         "NBT Server",         session_uri("/nbt_server/"),
22         "WINS Server",        session_uri("/wins_server/"),
23         "Kerberos Server",    session_uri("/kdc_server/"));
24
25 swat_menus.esptest = simple_menu(
26         "ESP Tests",
27         "ldb database",          session_uri("/esptest/ldb.esp"),
28         "samr calls",            session_uri("/esptest/samr.esp"),
29         "html forms",            session_uri("/esptest/formtest.esp"),
30         "esp includes",          session_uri("/esptest/include.esp"),
31         "session variables",     session_uri("/esptest/session.esp"),
32         "loadparm access",       session_uri("/esptest/loadparm.esp"),
33         "exception handling",    session_uri("/esptest/exception.esp"),
34         "environment variables", session_uri("/esptest/showvars.esp"),
35         "qooxdoo",               session_uri("/esptest/qooxdoo.esp"),
36         "registry",              session_uri("/esptest/registry.esp"));
37
38 swat_menus.json = simple_menu(
39         "JSON Tests",
40         "ldb browser",          session_uri("/apps/samba/utils/ldbbrowse.html"),
41         "qooxdoo examples",     session_uri("/apps/qooxdoo-examples/index.html"));
42
43
44 swat_menus.install = simple_menu(
45         "Installation",
46         "Provisioning",       session_uri("/install/provision.esp"),
47         "New User",           session_uri("/install/newuser.esp"),
48         "Import from Samba3", session_uri("/install/samba3.esp"),
49         "Import from Windows", session_uri("/install/vampire.esp"));
50
51
52 swat_menus.nbt_server = simple_menu(
53         "NBT Server",
54         "Statistics",          session_uri("/nbt_server/index.esp"));
55
56
57 swat_menus.docs = simple_menu(
58         "Links",
59         "Samba4 development", "http://devel.samba.org/",
60         "Recent Checkins", "http://build.samba.org/?tree=samba4;function=Recent+Checkins",
61         "Recent Builds", "http://build.samba.org/?tree=samba4;function=Recent+Builds",
62         "EJS Information", "http://www.appwebserver.org/products/ejs/ejs.html",
63         "ESP Information", "http://www.appwebserver.org/products/esp/esp.html",
64         "XHTML Spec", "http://www.w3.org/TR/xhtml1/",
65         "JavaScript Spec", "http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf",
66         "CSS Specs", "http://www.w3.org/Style/CSS/#specs",
67         "CSS1/2 Reference", "http://www.w3schools.com/css/css_reference.asp",
68         "qooxdoo info", "http://qooxdoo.sourceforge.net/");
69