Deryck Hodge
7ddc3ed5b8
r8479: * Sync CSS with current samba.org stylesheets.
...
* Add wide.css so it's availble for future pages.
* Move SWAT specific styles to swat.css to make future syncs easier.
deryck
2007-10-10 13:23:07 -05:00
Deryck Hodge
af893fe833
r8477: Simplify header/footer handling. esp variables allow
...
for individual page titles, so we don't need the split
header/footer here like we do on samba.org.
deryck
2007-10-10 13:23:07 -05:00
Tim Potter
156e090c2c
r8403: Reinstate linkpad.gif at Deryck's suggestion.
...
Install *.gif from swat/images when installing swat.
2007-10-10 13:22:58 -05:00
Andrew Tridgell
7476cb9413
r8372: - split out provisioning logic into a separate ejs library
...
- added a provisioning web page
2007-10-10 13:20:13 -05:00
Andrew Tridgell
c6f7ace333
r8354: work around a js bug found by tpot
2007-10-10 13:20:10 -05:00
Tim Potter
eaf9c455de
r8353: Use a PNG instead of a GIF for padding. Also fixes a file not found
...
error as only PNG files were being installed by 'make installswat'.
2007-10-10 13:20:10 -05:00
Andrew Tridgell
4d4a062af4
r8299: make the samr swat test use the samr.js lib
2007-10-10 13:19:33 -05:00
Andrew Tridgell
2a444dedbe
r8298: - started building a library of js routines in scripting/libjs/
...
- switched the existing test programs over to using the library
- added install of js lib
2007-10-10 13:19:33 -05:00
Andrew Tridgell
eb354f6da7
r8257: add a samr rpc test page in the web server. It lists all level3
...
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.
2007-10-10 13:19:26 -05:00
Simo Sorce
41bae267e2
r7267: REMOTE_HOST is a better choice
2007-10-10 13:17:34 -05:00
Simo Sorce
8a98572a3b
r7238: Add pam auth support in swat
2007-10-10 13:17:30 -05:00
Simo Sorce
2e3316be9f
r7231: remove some old stuff
2007-10-10 13:17:29 -05:00
Deryck Hodge
95337ad27b
r7171: Just learning my way around the new SWAT, and updating some
...
docs/specs in the menu...
Linking to XHTML specs since we're sending the pages as XHTML.
Also, added a link to CSS specs to go along with the CSS quick
reference card.
2007-10-10 13:17:22 -05:00
Andrew Tridgell
d0374ffc87
r7136: fixed a typo
2007-10-10 13:17:21 -05:00
Andrew Tridgell
aa43111aa5
r7134: a number of small changes to make the pages HTML compliant. The
...
builtin web validator in firefox sure is useful!
2007-10-10 13:17:20 -05:00
Andrew Tridgell
ac978d4124
r7132: - start a convention of making object constructors end in Obj, so we
...
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.
2007-10-10 13:17:20 -05:00
Andrew Tridgell
134f42655e
r7131: support sub-object arrays when displaying objects. This allows the ldb test to
...
correctly display multi-value attributes like objectClass
2007-10-10 13:17:20 -05:00
Andrew Tridgell
3f87d53d66
r7108: display a session expired message
2007-10-10 13:17:17 -05:00
Andrew Tridgell
104d47a745
r7106: the web interface now works completely with or without cookies. If you have cookies
...
they will be used, otherwise you will see URLs with ?SwatSessionId=XXX on the end.
2007-10-10 13:17:17 -05:00
Andrew Tridgell
790f861538
r7105: fixed a typo
2007-10-10 13:17:17 -05:00
Andrew Tridgell
df7280c5c8
r7101: moved favicon into images/
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
ad2d3991ba
r7099: make the password field a password field...
...
metze
2007-10-10 13:17:16 -05:00
Andrew Tridgell
b45ddce5dd
r7097: removed a debug line
2007-10-10 13:17:16 -05:00
Andrew Tridgell
33d21d35fe
r7096: added support for select lists in forms
2007-10-10 13:17:15 -05:00
Andrew Tridgell
314bc44afe
r7095: more html tidying
2007-10-10 13:17:15 -05:00
Andrew Tridgell
9b8546f921
r7094: use the Form() object in a few more places
2007-10-10 13:17:15 -05:00
Andrew Tridgell
ddccf6d2f5
r7093: - added a new Form() ejs object for producing simple forms.
...
- tidied up the html generation a bit
2007-10-10 13:17:15 -05:00
Andrew Tridgell
5f91db4d60
r7092: added some js for formatting table results in a nicer fashion
2007-10-10 13:17:15 -05:00
Andrew Tridgell
d1d8268675
r7091: added some more useful links
2007-10-10 13:17:15 -05:00
Andrew Tridgell
90b50ed983
r7090: added back in the showvars test
2007-10-10 13:17:15 -05:00
Andrew Tridgell
cb896a141a
r7089: ensure that headers['HOST'] is setup
2007-10-10 13:17:14 -05:00
Andrew Tridgell
86d2ecf0f2
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
2007-10-10 13:17:14 -05:00
Stefan Metzmacher
ccc4d51927
r7070: fix redirection when the client
...
doesn't send a 'Host' header
metze
2007-10-10 13:17:12 -05:00
Simo Sorce
36d9054074
r7058: Add experimenthal pam authentication for web pages
2007-10-10 13:17:10 -05:00
Andrew Tridgell
624c7a76e8
r7056: added links to ejs and esp info pages
2007-10-10 13:17:09 -05:00
Andrew Tridgell
0fe835b16c
r7054: added a example script showing ldbSearch() usage
2007-10-10 13:17:09 -05:00
Andrew Tridgell
5912cf2cd4
r7044: vance is right that mixing http and https elements gives a warning in IE
2007-10-10 13:17:08 -05:00
Andrew Tridgell
94308d8fed
r7019: - added esp call lpServices() which returns a list of services in smb.conf.
...
- added a test of lpServices() in the esptest scripts
2007-10-10 13:17:07 -05:00
Andrew Tridgell
519bdcac96
r7018: take advantage of the server[TLS_SUPPORT] variable to auto-redirect the home
...
page of swat to https:// if TLS is initialised OK
2007-10-10 13:17:07 -05:00
Andrew Tridgell
814c3674f8
r7015: use a scripting trick to force images to be sent with http instead of https, which
...
should make the server more responsive
2007-10-10 13:17:06 -05:00
Andrew Tridgell
96c15646d2
r7005: added a esp page to demonstrate exception handling
2007-10-10 13:17:05 -05:00
Andrew Tridgell
a9f0caaaf3
r7003: added an example script for fetching smb.conf parameters from esp scripts
2007-10-10 13:17:04 -05:00
Andrew Tridgell
092ffc7339
r6999: - renamed our html files to esp
...
- added a favicon.ico so bookmarks show a samba icon
- added a session.esp demonstration of session variables
2007-10-10 13:17:04 -05:00
Andrew Tridgell
af3de9468e
r6989: - added support for esp style includes (which include a esp file, instead of a ejs file)
...
- added a test of esp style includes to the esptest html
2007-10-10 13:17:03 -05:00
Andrew Tridgell
a1eb98722d
r6988: added a test of esp include() calls
2007-10-10 13:17:02 -05:00
Andrew Tridgell
d747b06339
r6985: rearranged the directory structure so as to make it possible to support esp include() call
2007-10-10 13:17:02 -05:00
Andrew Tridgell
519608bbf9
r6983: add some sample esp pages to demonstrate the use of some of the features of the server
...
side scripting language
2007-10-10 13:17:02 -05:00