Commit 787639a5 authored by Robert Ricci's avatar Robert Ricci

Minor fixes to the status page

parent 11c022c1
......@@ -204,7 +204,7 @@ if ($instance_status == "failed") {
$color = "color=red";
$spin = 0;
$bgtype = "bg-danger";
$statustext = "Something went wrong, sorry! Our staff has been notified.";
$statustext = "Something went wrong, sorry! We've been notified.";
}
elseif ($instance_status == "ready") {
$color = "color=green";
......@@ -228,10 +228,14 @@ echo "<div class='row'>
echo "<div class='panel panel-default'>\n";
echo "<div class='panel-body'>\n";
echo "<table class='table table-condensed' $style>\n";
echo "<tr>\n";
echo "<td colspan=2 $style class='$bgtype'>\n";
echo "<h4 id='statusmessage'>$statustext</h4>\n";
echo "</td>\n";
echo "</tr>\n";
if ($spin) {
echo "<tr>\n";
echo "<td colspan=2 $style class='$bgtype'>\n";
echo "<h4 id='statusmessage'>$statusmessage</h4>\n";
echo "<td colspan=2 $style>\n";
echo "<div id='quickvm_spinner'>\n";
echo " <div id='quickvm_progress'
class='progress progress-striped active'>\n";
......@@ -244,11 +248,6 @@ if ($spin) {
echo "</tr>\n";
}
echo "<tr>\n";
echo "<td colspan=2 $style class='$bgtype'>\n";
echo "<h4 id='statusmessage'>$statusmessage</h4>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='uk-width-1-5' $style>URN:</td>\n";
echo "<td class='uk-width-4-5' $style>$slice_urn</td>\n";
echo "</tr>\n";
......
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