1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

21 Commits

Author SHA1 Message Date
Andrew Tridgell
ef61c8de2f r9610: use a list of allowable extensions for unauthenticated access rather than
a list of file names
2007-10-10 13:34:34 -05:00
Andrew Tridgell
c2a450bb99 r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js
2007-10-10 13:29:59 -05:00
Andrew Tridgell
c45c4e335e r8720: split form object out to separate include file, and make it a real
object, with a display() method
2007-10-10 13:29:58 -05:00
Andrew Tridgell
a978484738 r8638: continue the trend of maknig our C functions true ejs objects by 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
2007-10-10 13:29:48 -05:00
Andrew Tridgell
1aa658b756 r8591: - added a simple 2 level menu structure to swat. Deryck, I know this
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
2007-10-10 13:29:42 -05:00
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
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
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
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
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
33d21d35fe r7096: added support for select lists in forms 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
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