Commit 5f63c83bafe97c1545de0fb6c08af5499b0ae6ff
1 parent
6b149919
Exists in
master
and in
2 other branches
Lint.
Showing
2 changed files
with
4 additions
and
6 deletions
Show diff stats
README.md
1 | 1 | |
2 | -The sources of the website available at https://spaceweatheronline.cdpp.eu | |
3 | - | |
2 | +## http://heliopropa.irap.omp.eu | |
4 | 3 | |
5 | 4 | # What |
6 | 5 | |
7 | 6 | ## Web Server |
8 | 7 | |
9 | 8 | Build and serve heliopropa's visualizations. |
10 | -It's a `flask` webserver, serving `d3.js` plots written in `livescript`. | |
9 | +It's a `flask` webserver, serving `d3.js` plots written in `livescript`, | |
10 | +which is just javascript with lots of sugar to make it palatable. | |
11 | 11 | It also gathers NetCDF data from AMDA, and serves it as CSV to the plotter. |
12 | 12 | |
13 | 13 | ... | ... |
web/view/home.html.jinja2
... | ... | @@ -457,9 +457,7 @@ jQuery().ready(function($){ |
457 | 457 | type: 'GET', |
458 | 458 | url: url, |
459 | 459 | processData: false, |
460 | - success: function (data) { | |
461 | - window.location = url; | |
462 | - }, | |
460 | + success: function (data) { window.location = url; }, | |
463 | 461 | error: function (xhr) { |
464 | 462 | console.error('Cannot download.', xhr); |
465 | 463 | alert("Our apologies, there was an error while downloading."); | ... | ... |