Commit d945368573a3d166bf15ca9dc49c5ec98bcaee8a
1 parent
a06a0a67
Exists in
master
and in
2 other branches
Clean up.
Showing
1 changed file
with
1 additions
and
10 deletions
Show diff stats
web/view/home.html.jinja2
... | ... | @@ -318,7 +318,7 @@ var configuration = { |
318 | 318 | img: '{{ static('img/sun_128.png') }}' |
319 | 319 | }, |
320 | 320 | targets : { |
321 | -{% for target in targets if not target.locked%} | |
321 | +{% for target in targets if not target.locked %} | |
322 | 322 | {% if not loop.first %},{% endif %} |
323 | 323 | '{{ target.slug }}': { |
324 | 324 | slug: '{{ target.slug }}', |
... | ... | @@ -328,15 +328,6 @@ var configuration = { |
328 | 328 | img: '{{ static('img/target/'~target.slug~'_128.png') }}' |
329 | 329 | } |
330 | 330 | {% endfor %} |
331 | -{# jupiter: {#} | |
332 | -{# slug: 'jupiter',#} | |
333 | -{# name: 'Jupiter',#} | |
334 | -{# active: true,#} | |
335 | -{# minDate: '1990-01-01T01:30:00',#} | |
336 | -{# maxDate: '2017-02-19T00:00:00',#} | |
337 | -{# orbit: { a: 5.45516759, b: 4.95155843 },#} | |
338 | -{# img: '{{ static('img/target/jupiter_128.png') }}'#} | |
339 | -{# },#} | |
340 | 331 | }, |
341 | 332 | {# todo @Nicolas Define -somehow- error margins of each parameter ? #} |
342 | 333 | {# todo: generate this from config #} | ... | ... |