diff --git a/Site5/Pages/v5/Init/Default.aspx b/Site5/Pages/v5/Init/Default.aspx index 1c057170..7242189f 100644 --- a/Site5/Pages/v5/Init/Default.aspx +++ b/Site5/Pages/v5/Init/Default.aspx @@ -90,6 +90,9 @@ async: false, // blocks until function returns - race conditions otherwise success: function (msg) { if (msg.d == true) { + + alert('Yes, writable'); + // Yes, config is writable. Hide "unwritable" div, show "writable" div, all is nice $('#DivDatabaseUnwritable').css('display', 'none'); $('#DivDatabaseWritable').css('display', 'inline'); @@ -97,6 +100,8 @@ } else { // Config is NOT writable. Keep the error on-screen and keep re-checking every two seconds. + alert('No, not writable - rechecking'); + setTimeout('recheckConfigurationWritability();', 5000); // 5s until first re-check } } @@ -143,10 +148,11 @@ data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", - async: false, // blocks until function returns - race conditions otherwise success: function (msg) { if (msg.d == true) { + alert('Yes, writable - rechecking'); + // Yes, config is writable. Hide "unwritable" div, show "writable" div, all is nice $('#DivDatabaseUnwritable').css('display', 'none'); $('#DivDatabaseWritable').fadeIn('slow'); @@ -154,6 +160,8 @@ } else { // Config is NOT writable. Keep the error on-screen and keep re-checking every two seconds. + alert('No, not writable - rechecking'); + setTimeout('recheckConfigurationWritability();', 2000); } } diff --git a/Site5/Pages/v5/Init/WizardStyle.css b/Site5/Pages/v5/Init/WizardStyle.css index 0408d4a9..a3162d92 100644 --- a/Site5/Pages/v5/Init/WizardStyle.css +++ b/Site5/Pages/v5/Init/WizardStyle.css @@ -317,4 +317,17 @@ .ui-progressbar-value { background-image: url('/Images/Abstract/activizr-progressbar-animation.gif'); + height: 13px; + border-radius: 3px; + box-shadow: 1px 0px 5px 0px #7F5500; +} + + +.ui-progressbar { + height: 13px; + width: 100%; + border: solid 1px #C78B15; + border-radius: 3px; + box-shadow: inset 0px 1px 10px 0px #C78B15; + margin-bottom: 8px; } \ No newline at end of file