for some reason trying to use a <box> and dynamically setting the orient attribute...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Jul 2005 08:07:43 +0000 (08:07 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Jul 2005 08:07:43 +0000 (08:07 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1108 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/main/clam_shell_vertical.xul [new file with mode: 0755]
Evergreen/staff_client/chrome/content/evergreen/main/clam_shell_vertical_overlay.xul [new file with mode: 0644]

diff --git a/Evergreen/staff_client/chrome/content/evergreen/main/clam_shell_vertical.xul b/Evergreen/staff_client/chrome/content/evergreen/main/clam_shell_vertical.xul
new file mode 100755 (executable)
index 0000000..3d6bd3f
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!-- Clamlication: Evergreen Staff Client -->
+
+<!-- Localization -->
+<!DOCTYPE page SYSTEM "chrome://evergreen/locale/clam_shell.dtd">
+
+<page id="clam_shell_win"
+       orient="vertical" style="overflow: auto" width="800" height="500"
+       sizemode="maximized" persist="width height" 
+       onload="params.clamshell = 'ClamShell_main'; 
+               params.splitter = 'ClamShell_splitter';
+               params.w = window; 
+               params.app = 'ClamShell'; 
+               mw.OpenILS_init(params);"
+       onunload="mw.OpenILS_exit(params);"
+       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+       <script>mw.sdump('D_TRACE','Loading clam_shell_vertical.xul\n');</script>
+
+       <!-- Stylesheets -->
+       <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+       <?xml-stylesheet href="chrome://evergreen/skin/evergreen.css" type="text/css"?>
+       <?xml-stylesheet href="chrome://evergreen/skin/clam_shell.css" type="text/css"?>
+       
+       <!-- Overlays for this XUL file -->
+       <?xul-overlay href="chrome://evergreen/content/main/clam_shell_vertical_overlay.xul"?>
+
+       <!-- XUL'ified abstraction for logic to attach to widgets -->
+       <commandset id="ClamShell_cmds" />
+
+       <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
+       <keyset id="ClamShell_keys" />
+
+       <!-- Layout to be filled in by overlays and javascript -->
+       <box id="ClamShell_main" />
+
+</page>
+
diff --git a/Evergreen/staff_client/chrome/content/evergreen/main/clam_shell_vertical_overlay.xul b/Evergreen/staff_client/chrome/content/evergreen/main/clam_shell_vertical_overlay.xul
new file mode 100644 (file)
index 0000000..dbbb1cb
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/clam_shell.dtd">
+<overlay id="clam_shell_vertical_overlay" 
+       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+       <script>mw.sdump('D_TRACE','Loading clam_shell_vertical_overlay.xul\n');</script>
+
+<commandset id="ClamShell_cmds">
+
+       <command id="cmd_broken" oncommand="
+               alert('Not Yet Implemented'); "/>
+
+</commandset>
+
+<!-- main widget for clam_shell -->
+<box id="ClamShell_main" flex="1" orient="vertical">
+       <deck id="ClamShell_first_deck" flex="1"/>
+       <splitter id="ClamShell_splitter" />
+       <deck id="ClamShell_second_deck" flex="4"/>
+</box>
+
+<!-- Accelerator Keys (Accessor Keys are in DTD's) -->
+<keyset id="ClamShell_keys">
+</keyset>
+
+</overlay>