Merge pull request #1365 from weaveworks/add-download-report-button

Add a button to download the report as JSON
This commit is contained in:
David
2016-04-21 19:17:22 +02:00

View File

@@ -63,6 +63,9 @@ export default function Footer(props) {
<a className="footer-icon" onClick={clickDownloadGraph} title="Save canvas as SVG">
<span className="fa fa-download" />
</a>
<a className="footer-icon" href="api/report" download title="Save raw data as JSON">
<span className="fa fa-code" />
</a>
<a className="footer-icon" href={otherContrastModeUrl} title={otherContrastModeTitle}>
<span className="fa fa-adjust" />
</a>