mirror of https://github.com/rusefi/msqur.git
Fix download link
This commit is contained in:
parent
66c8243d49
commit
14347206d1
|
@ -60,10 +60,9 @@ class MSQ
|
|||
error($error->message);
|
||||
}
|
||||
|
||||
$html['header'] = '<div class="error">Unable to parse MSQ.</div>';
|
||||
throw new MSQ_ParseException("Error parsing XML", '<div class="error">Unable to parse MSQ.</div>');
|
||||
} else if ($msq) {
|
||||
$msqHeader = '<div class="info">';
|
||||
$msqHeader .= '<div style="float: right;"><a title="Download MSQ File" href="download.php?msq=' . $_GET['msq'] . '">💾</a></div>';
|
||||
$msqHeader .= "<div>Format Version: " . $msq->versionInfo['fileFormat'] . "</div>";
|
||||
$msqHeader .= "<div>MS Signature: " . $msq->versionInfo['signature'] . "</div>";
|
||||
$msqHeader .= "<div>Tuning SW: " . $msq->bibliography['author'] . "</div>";
|
||||
|
|
|
@ -96,6 +96,7 @@ if (isset($_GET['msq'])) {
|
|||
<label><input id="normalizeAxis" type="checkbox" disabled />Normalize Axis</label>
|
||||
</div>
|
||||
</div>
|
||||
<div id="downloadLink"><a title="Download MSQ File" href="download.php?msq=' . $_GET['msq'] . '">💾 Download MSQ</a></div>
|
||||
<?php
|
||||
}
|
||||
?>
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue