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