{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% block page_title %}{{ page_title_text|default:_('Add Structure') }}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% include "indy_hub/partials/page_header.html" with icon_class=page_icon_class|default:"fas fa-plus-circle" title=page_title_text|default:_('Add Structure') subtitle=page_subtitle|default:_('Create a new industrial structure entry with its system, activities, taxes and rigs. Bonus previews are resolved automatically from EVE dogma.') back_url=page_back_url|default:structure_registry_url back_label=page_back_label|default:_('Back to Registry') %}
{% if structure_form.non_field_errors %}
{% for error in structure_form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
{% csrf_token %} {% if is_synced_structure_locked %}
{% trans "This structure is synchronized automatically from corporation ESI. Identity, activities and taxes are locked here; only rigs can be adjusted." %}
{% endif %}
{% trans "Registry mode" %}
{% if is_synced_structure_locked %} {% trans "Synced structure" %} {% else %} {% trans "Manual workspace" %} {% endif %}

{% if is_synced_structure_locked %} {% trans "Identity and taxes are controlled by ESI sync." %} {% else %} {% trans "You control identity, services, taxes and rigs from this screen." %} {% endif %}

{% trans "Current target" %}
{% trans "No structure selected" %}

{% trans "Pick a solar system to resolve local indexes." %}

{% trans "Loadout" %}
0 {% trans "services" %}
0/3 {% trans "rigs" %}

{% trans "The page updates previews from your system, activities and installed rigs." %}

{% if is_synced_structure_locked %}
{% endif %}

{% trans "Core Identity" %}

{% trans "Define the hull, location and registry label before you configure industrial services." %}

{{ structure_form.structure_type_id }} {% for error in structure_form.structure_type_id.errors %}
{{ error }}
{% endfor %}
{{ structure_form.solar_system_name }} {% for error in structure_form.solar_system_name.errors %}
{{ error }}
{% endfor %}
{{ structure_form.name }} {% for error in structure_form.name.errors %}
{{ error }}
{% endfor %}

{% trans "Services And Taxes" %}

{% trans "Turn on only the services you really offer, then price them inline." %}

{% if not is_synced_structure_locked %}
{% trans "Scan import" %}
{% endif %}
{% trans "Service matrix" %}

{% trans "Use this grid like an operations console: toggle the activity, adjust the tax, and keep the loadout lean." %}

0 {% trans "active" %} {% trans "Tax in %" %} {% trans "2 decimal precision" %}
{{ structure_form.enable_manufacturing }}
{{ structure_form.manufacturing_tax_percent }} {% for error in structure_form.manufacturing_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_manufacturing_capitals }}
{{ structure_form.manufacturing_capitals_tax_percent }} {% for error in structure_form.manufacturing_capitals_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_manufacturing_super_capitals }}
{{ structure_form.manufacturing_super_capitals_tax_percent }} {% for error in structure_form.manufacturing_super_capitals_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_research }}
{{ structure_form.research_tax_percent }} {% for error in structure_form.research_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_invention }}
{{ structure_form.invention_tax_percent }} {% for error in structure_form.invention_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_biochemical_reactions }}
{{ structure_form.biochemical_reactions_tax_percent }} {% for error in structure_form.biochemical_reactions_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_hybrid_reactions }}
{{ structure_form.hybrid_reactions_tax_percent }} {% for error in structure_form.hybrid_reactions_tax_percent.errors %}
{{ error }}
{% endfor %}
{{ structure_form.enable_composite_reactions }}
{{ structure_form.composite_reactions_tax_percent }} {% for error in structure_form.composite_reactions_tax_percent.errors %}
{{ error }}
{% endfor %}
{% if is_synced_structure_locked %}
{% endif %}

{% trans "Rig Loadout" %}

{% trans "Treat the three rig slots like a fitting rack: choose the exact industrial profile you want on this hull." %}

{% trans "3 slots maximum" %}
{{ rig_formset.management_form }} {% if is_synced_structure_locked %}
{% trans "Rigs remain editable so you can keep local rig assumptions in sync with your production planning." %}
{% endif %}
{% for rig_form in rig_formset %} {% if rig_form.non_field_errors %} {% endif %} {% endfor %}
{% trans "Slot" %} {% trans "Installed Rig" %}
{{ rig_form.slot_index }} {{ rig_form.initial.slot_index|default:forloop.counter }} {% trans "Rig Slot" %} {% for error in rig_form.slot_index.errors %}
{{ error }}
{% endfor %}
{{ rig_form.rig_type_id }}{% for error in rig_form.rig_type_id.errors %}
{{ error }}
{% endfor %}
{% for error in rig_form.non_field_errors %}
{{ error }}
{% endfor %}
{% trans "Operational readout" %}

{% trans "Operational Snapshot" %}

{% trans "System" %} {% trans "Dogma" %}
{% trans "System indexes" %}
{% trans "Resolved bonuses" %}
{% endblock content %} {% block extra_javascript %} {{ block.super }} {% endblock extra_javascript %}