cosmetic, and display the version
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Mar 2006 16:24:12 +0000 (16:24 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Mar 2006 16:24:12 +0000 (16:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3376 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/auth/controller.js
Open-ILS/xul/staff_client/chrome/content/main/main.js
Open-ILS/xul/staff_client/chrome/content/main/main.xul
Open-ILS/xul/staff_client/chrome/skin/global.css

index fd14ed4..b1a3e87 100644 (file)
@@ -169,6 +169,7 @@ auth.controller.prototype = {
                if (!url) {
                        s.setAttribute('value','Please enter a server hostname.');
                        s.setAttribute('style','color: red;');
+                       obj.controller.view.server_prompt.disabled = false;
                        return;
                }
                try {
index 6355c11..be10211 100644 (file)
@@ -111,6 +111,10 @@ function main_init() {
                // XML_HTTP_SERVER will get reset to G.auth.controller.view.server_prompt.value
 
                /////////////////////////////////////////////////////////////////////////////
+
+               var x = document.getElementById('version_label');
+               x.setAttribute('value','Build ID: ' + '/xul/server/'.split(/\//)[2]);
+
        } catch(E) {
                var error = "!! This software has encountered an error.  Please tell your friendly " +
                        "system administrator or software developer the following:\n" + E + '\n';
index 0cbbc97..e8d47c7 100644 (file)
@@ -74,8 +74,7 @@
        <deck id="main_deck" flex="1">
        <groupbox id="main_groupbox" flex="1" style="overflow: auto;">
                <caption id="main_caption" label="Startup"/>
-               <label value="&staff.auth.version;"/>
-               <label value="Development Version 123"/>
+               <label id="version_label"/>
                <label value=" "/>
 
                <groupbox flex="1">
index e80b749..1321188 100644 (file)
@@ -2,6 +2,11 @@
 @namespace html url("http://www.w3.org/TR/REC-html40"); 
 
 tabpanel { border: 2px groove black; }
+caption { font-weight: bold; }
+
+iframe { background: #CDCED3 url("chrome://browser/skin/icons/box-background.png") repeat-x bottom !important; }
+.my_bg { background: #CDCED3 url("chrome://browser/skin/icons/box-background.png") repeat-x bottom !important; }
+
 .shrinkable_groupbox { font-weight: bold; -moz-binding: url('chrome://open_ils_staff_client/content/main/bindings.xml#caption'); }
 
 .my_overflow { overflow: auto; }