summaryrefslogtreecommitdiff
path: root/swat/scripting
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell1-0/+2
making the string functions into an object. To keep existing code working I have added: string_init(global); into base.js. That brings the functions into the global scope for our existing scripts (This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10r8591: - added a simple 2 level menu structure to swat. Deryck, I know thisAndrew Tridgell2-2/+6
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)
2007-10-10r8565: put the docs menu on the rightAndrew Tridgell1-1/+8
(This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)
2007-10-10r8479: * Sync CSS with current samba.org stylesheets.Deryck Hodge3-4/+8
* Add wide.css so it's availble for future pages. * Move SWAT specific styles to swat.css to make future syncs easier. deryck (This used to be commit 7ddc3ed5b87687a66995d2555c683efcb93be7e2)
2007-10-10r8477: Simplify header/footer handling. esp variables allowDeryck Hodge6-11/+12
for individual page titles, so we don't need the split header/footer here like we do on samba.org. deryck (This used to be commit af893fe83346f516402d0d6271533eedefa0ce4b)
2007-10-10r8403: Reinstate linkpad.gif at Deryck's suggestion.Tim Potter3-3/+3
Install *.gif from swat/images when installing swat. (This used to be commit 156e090c2c0ec2c7bdf66405c3742839b82fe757)
2007-10-10r8372: - split out provisioning logic into a separate ejs libraryAndrew Tridgell1-2/+29
- added a provisioning web page (This used to be commit 7476cb94132cf2849ec19360468904ca6fe8de2c)
2007-10-10r8354: work around a js bug found by tpotAndrew Tridgell1-3/+4
(This used to be commit c6f7ace3333af31bc0d37264b3d8a75c79bb88e4)
2007-10-10r8353: Use a PNG instead of a GIF for padding. Also fixes a file not foundTim Potter3-4/+3
error as only PNG files were being installed by 'make installswat'. (This used to be commit eaf9c455de3025155fb502fb4c93eefa4eb13f7e)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell1-167/+0
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell2-18/+173
information from QueryUserInfo for all users in the domain. If you want to see why I am putting the effort into ejs, then please read swat/scripting/samr.js, and compare it to other methods of rpc access for our web management interface. Using ejs like this will make building a rich interface _much_ easier. (This used to be commit eb354f6da7ed79eb080f2ba47df2ea655e1891db)
2007-10-10r7136: fixed a typoAndrew Tridgell1-1/+1
(This used to be commit d0374ffc87da225dfe8e57d9c4ae859b288fc913)
2007-10-10r7134: a number of small changes to make the pages HTML compliant. TheAndrew Tridgell2-8/+31
builtin web validator in firefox sure is useful! (This used to be commit aa43111aa5f9a183395ebd840d8f77867730ab23)
2007-10-10r7132: - start a convention of making object constructors end in Obj, so weAndrew Tridgell1-8/+36
now have FormObj(). This follows the style in the ejs manual - make a new MenuObj object type, with a display_menu() to display it. This will make it easier to make different types of menus. Currently only veritical simple menus are supported. (This used to be commit ac978d4124f773d872dd15205d90a41dcec8a38f)
2007-10-10r7131: support sub-object arrays when displaying objects. This allows the ↵Andrew Tridgell1-4/+23
ldb test to correctly display multi-value attributes like objectClass (This used to be commit 134f42655ed2e5e13dee25921b8cd4e1ca9a1396)
2007-10-10r7106: the web interface now works completely with or without cookies. If ↵Andrew Tridgell2-3/+22
you have cookies they will be used, otherwise you will see URLs with ?SwatSessionId=XXX on the end. (This used to be commit 104d47a7458ecf03c0d5f969eaf2a98346928679)
2007-10-10r7096: added support for select lists in formsAndrew Tridgell1-5/+16
(This used to be commit 33d21d35feaa0f7f9d4067e90495ca19374cea78)
2007-10-10r7093: - added a new Form() ejs object for producing simple forms.Andrew Tridgell1-0/+57
- tidied up the html generation a bit (This used to be commit ddccf6d2f5c4757111010e3116b41e379a7dc2dd)
2007-10-10r7092: added some js for formatting table results in a nicer fashionAndrew Tridgell1-0/+31
(This used to be commit 5f91db4d60a5b5b03b1b14d1348f9db6807ab18b)
2007-10-10r7089: ensure that headers['HOST'] is setupAndrew Tridgell1-0/+7
(This used to be commit cb896a141a028ad386d92b0beb503af657a77813)
2007-10-10r7088: start on some real structure for the SWAT web pagesAndrew Tridgell8-0/+211
- 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)
2007-10-10r6989: - added support for esp style includes (which include a esp file, ↵Andrew Tridgell1-0/+6
instead of a ejs file) - added a test of esp style includes to the esptest html (This used to be commit af3de9468ee5ba490c991901b7a4aa260c839876)
2007-10-10r6983: add some sample esp pages to demonstrate the use of some of the ↵Andrew Tridgell1-0/+10
features of the server side scripting language (This used to be commit 519608bbf9c2a032261c00fce9a4f84eb73d1a9e)