trename to index.php, add separate page for processing uploaded data - 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 707f186854c0f0c165536a7d9d87ab7f97010194
 (DIR) parent c56b2085f4fa3ed02663dde9dfdd89e20ffc08b9
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Mon, 17 Aug 2015 16:03:42 +0200
       
       rename to index.php, add separate page for processing uploaded data
       
       Diffstat:
         M index.php                           |       4 ++--
         A uploadhistory.php                   |      17 +++++++++++++++++
       
       2 files changed, 19 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/index.php b/index.php
       t@@ -27,8 +27,8 @@
            </head>
        
            <!--<body ng-controller="mainController">-->
       -        <body ng-app="cosmoApp">
       -            <div ng-controller="mainController">
       +    <body ng-app="cosmoApp">
       +        <div ng-controller="mainController">
        
                <!-- Navigation bar -->
                <nav class="light-blue lighten-1" role="navigation">
 (DIR) diff --git a/uploadhistory.php b/uploadhistory.php
       t@@ -0,0 +1,17 @@
       +<?php
       +// write form data to file
       +if (isset($_POST['sample_id'])) {
       +    echo 'sample_id set';
       +}
       +?>
       +<!DOCTYPE html>
       +<!--<html lang="en" ng-app="cosmoApp">-->
       +<html lang="en">
       +    <head>
       +        <meta http-equiv="refresh" content="0; url=/cosmo" />
       +    </head>
       +    <body>
       +    <p>Click <a href="/">here</a> if your browser doesn't automatically forward 
       +    you</p>
       +    </body>
       +</html>