Commit 2a5f0e9b801e8805255e45d273bae6365a36abfb
1 parent
56d84302
Exists in
master
and in
2 other branches
Force UTC. A bit brutal, this.
Showing
2 changed files
with
6 additions
and
4 deletions
Show diff stats
web/view/home.html.jinja2
@@ -671,7 +671,7 @@ var sw; | @@ -671,7 +671,7 @@ var sw; | ||
671 | jQuery().ready(function($){ | 671 | jQuery().ready(function($){ |
672 | // Space Weather app itself, handling data downloads and plot draws. | 672 | // Space Weather app itself, handling data downloads and plot draws. |
673 | sw = new SpaceWeather(configuration); | 673 | sw = new SpaceWeather(configuration); |
674 | - sw.init("{{ started_at }}", "{{ stopped_at }}"); | 674 | + sw.init("{{ started_at }}Z", "{{ stopped_at }}Z"); |
675 | 675 | ||
676 | // User Interface (except plots' interactivity, such as mouse hovers) | 676 | // User Interface (except plots' interactivity, such as mouse hovers) |
677 | var parameters = $('#parameters'); | 677 | var parameters = $('#parameters'); |
web/view/layout.html.jinja2
@@ -34,9 +34,9 @@ | @@ -34,9 +34,9 @@ | ||
34 | <header class="header mdl-layout__header"> | 34 | <header class="header mdl-layout__header"> |
35 | <div class="mdl-layout__header-row"> | 35 | <div class="mdl-layout__header-row"> |
36 | <span class="mdl-layout-title">CDPP / Heliopropa</span> | 36 | <span class="mdl-layout-title">CDPP / Heliopropa</span> |
37 | - <!-- Add spacer, to align navigation to the right --> | 37 | +{# <!-- Add spacer, to align navigation to the right -->#} |
38 | <div class="mdl-layout-spacer"></div> | 38 | <div class="mdl-layout-spacer"></div> |
39 | - <!-- Navigation. We hide it in small screens. --> | 39 | +{# <!-- Navigation. We hide it in small screens. -->#} |
40 | <nav class="mdl-navigation mdl-layout--large-screen-only"> | 40 | <nav class="mdl-navigation mdl-layout--large-screen-only"> |
41 | <span id="header-description">{{ config.header.description }}</span> | 41 | <span id="header-description">{{ config.header.description }}</span> |
42 | <a class="mdl-navigation__link" href="https://onlinelibrary.wiley.com/doi/10.1029/2004JA010959/abstract">Tao's Model</a> | 42 | <a class="mdl-navigation__link" href="https://onlinelibrary.wiley.com/doi/10.1029/2004JA010959/abstract">Tao's Model</a> |
@@ -82,8 +82,10 @@ | @@ -82,8 +82,10 @@ | ||
82 | 82 | ||
83 | </div> | 83 | </div> |
84 | 84 | ||
85 | + {# Please use enderjs instead of jquery #} | ||
85 | <script type="application/javascript" src="{{ static('js/vendor/jquery-3.2.1.min.js') }}"></script> | 86 | <script type="application/javascript" src="{{ static('js/vendor/jquery-3.2.1.min.js') }}"></script> |
86 | - <script type="application/javascript" src="{{ static('js/vendor/material-custom.js') }}"></script> | 87 | + {# Material's js behaves very poorly, performance-wise. #} |
88 | +{# <script type="application/javascript" src="{{ static('js/vendor/material-custom.js') }}"></script>#} | ||
87 | <script type="application/javascript"> | 89 | <script type="application/javascript"> |
88 | jQuery().ready(function($){ $(".nojs").hide(); }); | 90 | jQuery().ready(function($){ $(".nojs").hide(); }); |
89 | </script> | 91 | </script> |