From 14347206d1fc3f8fda72eabf4e5b3a8032d822d2 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 7 Nov 2019 17:53:32 -0600 Subject: [PATCH] Fix download link --- src/msq.php | 3 +-- src/view/header.php | 1 + src/view/msqur.css | 12 ++++++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/msq.php b/src/msq.php index 3b2b97d..2c8a7d6 100644 --- a/src/msq.php +++ b/src/msq.php @@ -60,10 +60,9 @@ class MSQ error($error->message); } - $html['header'] = '
Unable to parse MSQ.
'; + throw new MSQ_ParseException("Error parsing XML", '
Unable to parse MSQ.
'); } else if ($msq) { $msqHeader = '
'; - $msqHeader .= '
💾
'; $msqHeader .= "
Format Version: " . $msq->versionInfo['fileFormat'] . "
"; $msqHeader .= "
MS Signature: " . $msq->versionInfo['signature'] . "
"; $msqHeader .= "
Tuning SW: " . $msq->bibliography['author'] . "
"; diff --git a/src/view/header.php b/src/view/header.php index fe206b0..7512b7c 100644 --- a/src/view/header.php +++ b/src/view/header.php @@ -96,6 +96,7 @@ if (isset($_GET['msq'])) {
+ \ No newline at end of file diff --git a/src/view/msqur.css b/src/view/msqur.css index 523df5c..dff957a 100644 --- a/src/view/msqur.css +++ b/src/view/msqur.css @@ -82,9 +82,17 @@ div#splash img.tutorial { div#settings { z-index: 999; background: rgba(224, 224, 224, 32); - position: absolute; + float: right; margin-top: 4px; - right: 8px; +} + +img#settingsIcon { + cursor: pointer; +} + +div#downloadLink { + margin: 5px; + float: right; } #fileDropZone {