tfix hyperlink on example button - cosmo - front and backend for Markov-Chain M… | |
git clone git://src.adamsgaard.dk/cosmo | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1a2048e5b3d569eae8df2ea5b57217eb17d2887e | |
parent 3d5f4abd4414ea235a9824a98123501051a98da8 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 17 Nov 2015 13:56:41 +0100 | |
fix hyperlink on example button | |
Diffstat: | |
M index.php | 1 - | |
M pages/front.html | 2 +- | |
2 files changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/index.php b/index.php | |
t@@ -28,7 +28,6 @@ if (isset($_GET['example']) && $_GET['example'] == 1) { | |
<script type="text/javascript" src="js/history-form-prefiller.js"></script> | |
<?php | |
} else { | |
- echo("oh hi mark"); | |
echo("'" . $_GET['example'] . "'"); | |
} | |
diff --git a/pages/front.html b/pages/front.html | |
t@@ -13,7 +13,7 @@ | |
<div class="row center"> | |
<div class="col s12 m12"> | |
- <a href="#/history?example=1" | |
+ <a href="/?example=1#/history" | |
class="btn-large waves-effect waves-light orange"> | |
<i class="material-icons left">schedule</i> | |
Calculate <b>Exposure and erosion history</b>, Example</a> |