Commit 2a5f0e9b801e8805255e45d273bae6365a36abfb

Authored by Goutte
1 parent 56d84302

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 671 jQuery().ready(function($){
672 672 // Space Weather app itself, handling data downloads and plot draws.
673 673 sw = new SpaceWeather(configuration);
674   - sw.init("{{ started_at }}", "{{ stopped_at }}");
  674 + sw.init("{{ started_at }}Z", "{{ stopped_at }}Z");
675 675  
676 676 // User Interface (except plots' interactivity, such as mouse hovers)
677 677 var parameters = $('#parameters');
... ...
web/view/layout.html.jinja2
... ... @@ -34,9 +34,9 @@
34 34 <header class="header mdl-layout__header">
35 35 <div class="mdl-layout__header-row">
36 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 38 <div class="mdl-layout-spacer"></div>
39   - <!-- Navigation. We hide it in small screens. -->
  39 +{# <!-- Navigation. We hide it in small screens. -->#}
40 40 <nav class="mdl-navigation mdl-layout--large-screen-only">
41 41 <span id="header-description">{{ config.header.description }}</span>
42 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 82  
83 83 </div>
84 84  
  85 + {# Please use enderjs instead of jquery #}
85 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 89 <script type="application/javascript">
88 90 jQuery().ready(function($){ $(".nojs").hide(); });
89 91 </script>
... ...