Commit 3a277dca authored by Leigh Stoller's avatar Leigh Stoller

Minor changes to better deal with server temporarily not being available.

parent 42176a9d
......@@ -591,7 +591,8 @@ $(function ()
else if (instanceStatus == "unknown") {
status_html = "<font color=red>" + instanceStatus + "</font>";
bgtype = "panel-warning";
status_message = "The server is temporarily unavailable!";
status_message = "The server is temporarily unavailable. " +
"Please check back later.";
}
if (!status_collapsed) {
$("#status_message").html(status_message);
......@@ -1657,11 +1658,14 @@ $(function ()
//
// Do not show in the terminating or terminated state.
//
if (lastStatus == "terminated" || lastStatus == "terminating" ||
lastStatus == "unknown") {
if (lastStatus == "terminated" || lastStatus == "terminating") {
alert("Your experiment is no longer active.");
return;
}
if (lastStatus == "unknown") {
alert("Server is temporarily unavailable. Try again later.");
return;
}
/*
* While shell and console can handle a list, I am not actually
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment