tchange appearance of waiting page, improve error msg - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
 (HTM) git clone git://src.adamsgaard.dk/cosmo
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 8b2000febc8d59707b7e03f64e1283ed49a99e17
 (DIR) parent 5cece23f596126d9bd52a102d1d73cade1354fe2
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 29 Sep 2015 11:23:44 +0200
       
       change appearance of waiting page, improve error msg
       
       Diffstat:
         M index.php                           |       6 +++---
         M uploadhistory.php                   |       2 +-
       
       2 files changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/index.php b/index.php
       t@@ -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.");
       t@@ -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">
 (DIR) diff --git a/uploadhistory.php b/uploadhistory.php
       t@@ -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