Commit 707f1868 authored by Anders Damsgaard's avatar Anders Damsgaard

rename to index.php, add separate page for processing uploaded data

parent c56b2085
......@@ -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">
......
<?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>
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