From a66c2e1023786aaba97be6d7f521573fdbff0bb4 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 15 Sep 2009 02:48:41 +0000 Subject: [PATCH] simple auth was buggy; due to chrome/remote restrictions in xulrunner 1.9? made separate chrome and remote versions, which is.. simpler :) git-svn-id: svn://svn.open-ils.org/ILS/trunk@14018 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/Makefile.am | 2 - .../content/OpenILS/util_overlay_chrome.xul | 1 + .../chrome/content/main/simple_auth.xul | 13 +- .../server/OpenILS/util_overlay.xul | 1 + .../staff_client/server/main/simple_auth.xul | 169 ++++++++++++++++++ 5 files changed, 176 insertions(+), 10 deletions(-) create mode 100644 Open-ILS/xul/staff_client/server/main/simple_auth.xul diff --git a/Open-ILS/xul/staff_client/Makefile.am b/Open-ILS/xul/staff_client/Makefile.am index fe1aac9a6b..d04b644dad 100644 --- a/Open-ILS/xul/staff_client/Makefile.am +++ b/Open-ILS/xul/staff_client/Makefile.am @@ -26,7 +26,6 @@ build_dir: @cp -fR build/chrome/content/util/ build/server/ @cp -fR build/chrome/content/auth/ build/server/ @cp build/chrome/content/main/constants.js build/server/main/constants.js - @cp build/chrome/content/main/simple_auth.xul build/server/main/simple_auth.xul @cp build/chrome/content/main/bindings.xml build/server/main/bindings.xml @cp build/chrome/content/OpenILS/data.js build/server/OpenILS/data.js @cp build/chrome/content/OpenILS/global_util.js build/server/OpenILS/global_util.js @@ -34,7 +33,6 @@ build_dir: # Convert chrome to remote for server localization chrome2remote: - @sed -i 's/chrome:\/\/open_ils_staff_client\/locale\//\/xul\/server\/locale\/<\!--#echo var=locale-->\//' build/server/main/simple_auth.xul @for loc in $(CHROME_LOCALES); do \ cp -fr chrome/locale/$$loc build/server/locale/. ; \ done; diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrome.xul b/Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrome.xul index cc4e031082..9995ad3af2 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrome.xul +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/util_overlay_chrome.xul @@ -16,6 +16,7 @@ diff --git a/Open-ILS/xul/staff_client/chrome/content/main/simple_auth.xul b/Open-ILS/xul/staff_client/chrome/content/main/simple_auth.xul index 3e58946dca..0157eeda70 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/simple_auth.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/simple_auth.xul @@ -8,18 +8,16 @@ - - + + - -]> + - + - diff --git a/Open-ILS/xul/staff_client/server/main/simple_auth.xul b/Open-ILS/xul/staff_client/server/main/simple_auth.xul new file mode 100644 index 0000000000..e89f6dc9ab --- /dev/null +++ b/Open-ILS/xul/staff_client/server/main/simple_auth.xul @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +