Commit f57c94fe2a83a9b93e2e665bdb14493eb4f4b655

Authored by Goutte
1 parent 8a48d5fa

Clean up.

Showing 2 changed files with 9 additions and 8 deletions   Show diff stats
web/run.py
... ... @@ -1038,8 +1038,9 @@ def download_targets_cdf(targets, inp, started_at, stopped_at):
1038 1038 environ['SPACEPY'] = CACHE_DIR
1039 1039 environ['CDF_LIB'] = CDF_LIB
1040 1040 try:
  1041 + # Importing pydcf will fail if the toolbox is not up to date.
1041 1042 # todo: maybe move this to the daily cache warmup ?
1042   - log.info("Updating spacepy's table of leap seconds…")
  1043 + log.info("Updating spacepy's toolbox…")
1043 1044 import spacepy.toolbox
1044 1045 spacepy.toolbox.update()
1045 1046 except Exception as e:
... ...
web/view/home.html.jinja2
... ... @@ -222,16 +222,16 @@
222 222 #time_series:hover .help {
223 223 display: block;
224 224 }
  225 + #time_series svg .brush .selection {
  226 + fill: #efa02c;
  227 + fill-opacity: 0.382;
  228 + }
225 229 .axis path, .axis line {
226 230 fill: none;
227 231 {# stroke: #f4f4f4;#}
228 232 shape-rendering: crispEdges;
229 233 stroke-width: 1px;
230 234 }
231   - #time_series svg .brush .selection {
232   - fill: #efa02c;
233   - fill-opacity: 0.382;
234   - }
235 235 path.line {
236 236 fill: none;
237 237 stroke: steelblue;
... ... @@ -347,6 +347,9 @@
347 347 background-color: #c8d3e1;
348 348 }
349 349  
  350 +
  351 + {# CSS Spinners #}
  352 +
350 353 #download_spinner {
351 354 display: none;
352 355 top: 2px;
... ... @@ -355,8 +358,6 @@
355 358 height: 14px;
356 359 }
357 360  
358   - {# CSS Spinners #}
359   -
360 361 #plots_loader {
361 362 position: fixed;
362 363 top: 0; left: 0; bottom: 0; right: 0;
... ... @@ -566,7 +567,6 @@
566 567 }
567 568 }
568 569  
569   -
570 570 </style>
571 571 {% endblock %}
572 572  
... ...