Commit 8b2000fe authored by Anders Damsgaard's avatar Anders Damsgaard

change appearance of waiting page, improve error msg

parent 5cece23f
......@@ -79,11 +79,11 @@ if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) {
<br><br><br><br><br><br><br><br>
<div class="row center">
<h2 class="header col s12">Please wait</h2>
<h2 class="header col s12 orange-text">Please wait</h2>
</div>
<div class="row center">
<h2 class="header col s12 orange">Inversion status:
<h4 class="header col s12">Inversion status:
<?php
if (!$statusfile = fopen("/home/adc/cosmo/input/status_" . $_GET['wait_id'], "r")) {
echo("Error! Sample data not found.");
......@@ -92,7 +92,7 @@ if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) {
echo fgets($statusfile);
fclose($statusfile);
?>
</h2>
</h4>
</div>
<div class="row progress center-align s12">
......
......@@ -165,7 +165,7 @@ if (is_writable($outputfile)) {
}
} else {
die("The php server output file $outputfile is not writable");
die("The php server output file $outputfile does not exist or is not writable");
}
// change permissions of output file
......
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