tfix href to figures, decrease padding above wait text - 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 66a3c19db3b452475b107139f6670fbd242ccd74 (DIR) parent d04aef5afca88e8c2ecc68c3ff3488cea8e2082f (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Tue, 29 Sep 2015 15:52:59 +0200 fix href to figures, decrease padding above wait text Diffstat: M index.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) --- (DIR) diff --git a/index.php b/index.php t@@ -91,7 +91,7 @@ if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) { <div class="container"> - <br><br><br><br><br><br><br><br> + <br><br><br><br> <div class="row center"> <h2 class="header col s12 orange-text">Please wait</h2> </div> t@@ -133,18 +133,26 @@ if (isset($_GET['wait_id']) && !empty($_GET['wait_id'])) { <div class="row"> - <div class="col s12 m7"> + <div class="col s12 m7 center"> <div class="card"> <div class="card-image"> - <img src="output/<?php echo($_GET['results_id']); ?>-Walks-1.png"> + <img src="output/<?php + echo($_GET['results_id']); ?>_Walks-1.png"> <span class="card-title">First figure</span> </div> <div class="card-content"> <p>This is the first figure, and it shows this and that.</p> </div> <div class="card-action"> - <a href="output/<?php echo($_GET['results_id']); ?>-Walks-1.pdf">Link to PDF</a> - <a href="output/<?php echo($_GET['results_id']); ?>-Walks-1.fig">Link to FIG</a> + <a href="output/<?php + echo($_GET['results_id']); ?>_Walks-1.png" + target="_blank">Link to PNG</a> + <a href="output/<?php + echo($_GET['results_id']); ?>_Walks-1.pdf" + target="_blank">Link to PDF</a> + <a href="output/<?php + echo($_GET['results_id']); ?>_Walks-1.fig" + target="_blank">Link to FIG</a> </div> </div> </div>