tauto-refresh waiting page - 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 5cea11a43b433a777ef74d2993ca56d25b70f470
(DIR) parent ac67d9d2f23e55c9bc6a7d90c97822f1d774632d
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 28 Sep 2015 13:43:17 +0200
auto-refresh waiting page
Diffstat:
M index.php | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/index.php b/index.php
t@@ -29,6 +29,15 @@
media="screen,projection"/>
<link type="text/css" rel="stylesheet" href="css/materialize.css"
media="screen,projection"/>
+
+<?php
+if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) {
+ // refresh the page every 5 seconds while computations are running
+?>
+ <meta http-equiv="refresh" content="5" >
+<?php
+}
+?>
</head>
<!--<body ng-controller="mainController">-->