{% extends "base.html" %} {% block content %} {% set field_error_map = field_errors|default({}, true) %} {% set is_state_entry = form_values.entry_kind == 'state' %} {% set node_count = form_values.state_nodes|length %} {% set all_locations = ['LEO','GEO/MEO','Lunar Orbit','Lunar Surface','Earth Surface','Mercury System','Mercury Orbit','Mercury Surface','Venus System','Venus Orbit','Venus Surface','Earth System','Mars System','Mars Orbit','Mars Surface','Phobos Orbit','Phobos Surface','Deimos Orbit','Deimos Surface','Ceres Orbit','Ceres Surface','Vesta Orbit','Vesta Surface','Jupiter System','Jupiter Orbit','Io Orbit','Io Surface','Europa Orbit','Europa Surface','Ganymede Orbit','Ganymede Surface','Callisto Orbit','Callisto Surface','Saturn System','Saturn Orbit','Mimas Orbit','Mimas Surface','Enceladus Orbit','Enceladus Surface','Tethys Orbit','Tethys Surface','Dione Orbit','Dione Surface','Rhea Orbit','Rhea Surface','Titan Orbit','Titan Surface','Iapetus Orbit','Iapetus Surface','Uranus System','Uranus Orbit','Miranda Orbit','Miranda Surface','Ariel Orbit','Ariel Surface','Umbriel Orbit','Umbriel Surface','Titania Orbit','Titania Surface','Oberon Orbit','Oberon Surface','Neptune System','Neptune Orbit','Triton Orbit','Triton Surface','Pluto System','Pluto Orbit','Pluto Surface','Charon Orbit','Charon Surface','Solar Orbit','Transfer'] %} {% if not all_states %}{% set all_states = ['start-transit','transit-complete','Exploration','Maintenance','Docked','Construction','Testing','Autonomous Standby','Crew Handoff','Cargo Delivery','Surface Expedition','Planetary Operations','Base Construction','Outpost Construction','Base Expansion','Outpost Expansion'] %}{% endif %}
任务资产 / {{ asset.name }} / {{ '编辑日志' if delete_url else '新增日志' }}

{{ form_values.title or heading }}

{{ asset.asset_type }}{% if asset.program %} · {{ asset.program }}{% endif %}

Entry Type {{ 'State Interval' if is_state_entry else 'Event Point' }}
Simulation Time {{ simulation_time_input }}
State Window {{ form_values.start_at or '—' }}{% if form_values.end_at %} → {{ form_values.end_at }}{% endif %}
State Nodes {{ node_count }} node{{ '' if node_count == 1 else 's' }}

State Nodes

状态节点时间轴

每个节点代表这段状态中的一个具体时刻。时间、事件和备注会一起保存。

按 Node At 升序
Start Course Watch End {{ node_count }} node{{ '' if node_count == 1 else 's' }}
{% set node_section_error = field_error_map.get('state_nodes') %}
{% if not form_values.state_nodes %}
还没有 State Node 添加节点后,这里会按时间显示“什么时间发生了什么”。
{% endif %} {% for node in form_values.state_nodes %} {% set node_title_error = field_error_map.get('state_node_title:' ~ loop.index0) %} {% set node_at_error = field_error_map.get('state_node_at:' ~ loop.index0) %}
{{ node.at or '未设置时间' }}
{{ 'Node ' ~ loop.index }}
{{ node.title or 'Untitled node' }} {{ node.detail or 'No detail yet.' }}
{% macro combobox_location(name, value, placeholder) %}
    {% for loc in all_locations %}
  • {{ loc }}
  • {% endfor %}
{% endmacro %} {% macro combobox_state(name, value) %}
    {% for s in all_states %}
  • {{ s }}
  • {% endfor %}
{% endmacro %}
{% endfor %}
{% if delete_url %}
{% endif %}
返回 {% if delete_url %} {% endif %}
{% include "_validation_dialog.html" %} {% endblock %}