===== chrome/content/evergreen/ ===== ^ File ^ Description ^ Repository ^ | OpenSRF/ | This directory contains code copied from **/ILS/OpenSRF/src/javascript/** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/OpenSRF/src/javascript/|CVS]]) and is required for JSON parsing and Jabber communication. The loading of these files is handled with **OpenSRF_overlay.xul** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/OpenSRF/OpenSRF_overlay.xul|CVS]])| [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/OpenSRF/|CVS]] | | Open-ILS/ | This directory contains **OpenILS_overlay.xul** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS_overlay.xul|CVS]]) which is our main overlay for pulling in everything (OpenSRF, app logic, string bundles, etc.) Currently, **OpenILS.js** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS.js|CVS]]) simply contains a centralized init dispatcher intended for onload events. **OpenILS_scripts_overlay.xul** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/Open-ILS/OpenILS_scripts_overlay.xul|CVS]]) pulls in other app level scripts. We also copy code from **/ILS/Open-ILS/src/javascript/** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Open-ILS/src/javascript/|CVS]]) into this directory. Two important ones are **RemoteRequest.js** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Open-ILS/src/javascript/util/RemoteRequest.js|CVS]]) and **ex.js** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Open-ILS/src/javascript/util/ex.js|CVS]]).| [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/Open-ILS/|CVS]]| | auth/ | Auth stands for Authentication/Authorization and is our bootstrap code for the staff client. The files **auth.xul** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/auth/auth.xul|CVS]]) and **auth_overlay.xul** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/auth/auth_overlay.xul|CVS]]) provide a logon window, but also house (provide the namespace) for most of the staff client code. Every window will reach into the auth window as much as possible. In the past, **auth.js** ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/auth/auth.js|CVS]]) would have been loaded directly by **auth.xul**, but is now pulled in by **OpenILS_scripts_overlay.xul**. On a successful login, Auth spawns an app shell.| [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/auth/|CVS]]| | main/ | This is our app "shell", which is a tabbed interface for interacting with the staff client. Every component other than the logon window will be presented through this interface. Two other generic interfaces have been added to this directory, a dual-pane "clamshell" and a tree that pages results.| [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/main/|CVS]]| | [[mozilla-devel:chrome:content:evergreen:util|util/]] | Miscellaneous code, browser extensions, and implementation specific code: **OrgTree.js** and **fieldmapper.js** | [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/util/|CVS]]| | patron/ | Current houses the search interface for patrons, but will also contain display, edit, and registration interfaces. | [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/patron/|CVS]]| | conf/ | Used by OpenSRF for the **client_config.xml** file ([[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/OpenSRF/examples/math_xul_client/math/content/conf/client_config.xml|Example]]) and as a log directory. | | | contents.rdf | The chrome manifest | [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Evergreen/staff_client/chrome/content/evergreen/contents.rdf|CVS]] |