{# The Plot Controls tab: four groups of settings, one shown at a time. Every control here is a row in the CONTROLS registry (static/javascript/ controls.js), keyed by DOM id - so this markup works unchanged on any page whose controller calls bindControls(), and a page without one of these features simply never binds it. A page with settings of its own passes `extra_control_tab` (a {group, label, title} for the strip) and `extra_control_groups` (a template to include after the shared ones). The exciton page is the only caller. `photoemission` adds the two Spectrum rows that only mean anything for a density of states of occupied orbitals - the kinetic-energy axis and the peak scaling. The exciton page's spectrum is an absorption spectrum and has neither. #} {# Controls #}
{# Each group is a pane of one or two side-by-side lists. #} {# Two fixed columns, each a plain top-to-bottom list of controls - the same shape as the Info tab's Calculation/System split, so a related pair of small groups reads as one consistent layout instead of a dense multi-column grid. #}

Geometry


Substrate

Light


Energy Mode
{# step 0.1, not the implicit 1: a mode switch carries the other energy over to one decimal, which an integer ladder rejects #}
Polarization
Handedness

Momentum Space


{% if kpath %}

k-Path


{% endif %} {% if band_map %}
{% endif %}

Detector


Real Space


Spectrum


Broadening
{# Disabled rather than hidden under Delta: taking the row out of the flow shifted every control below it on a shape change #}
{# Both hidden in fixed-E_kin mode, where hν is derived per orbital rather than set: neither an axis nor an intensity means anything then. Same condition as the Photon Energy box itself, so they show exactly when it does - see toggleEnergyModeControls. #} {% if photoemission %}
Energy Axis
Peak Scaling
{% endif %}

Units


Energy Unit
{% if allow_nm_unit %} {% endif %}

Atoms


{# One row per element this molecule contains, built by controls.js renderElementControls once the geometry is in #}

Visibility


{% if kpath %}
{% endif %} {% if dipole %}
{% endif %}
{# Colour and its opacity share one row where a scene element has both (Density, Hemisphere) - label, then slider, then swatch, the same order as the per-element rows in Atoms. #}

Orbital


Intensity Scale
Lobe Colours
Density

Scene


Hemisphere
{% if dipole %}
{% endif %}
{% if extra_control_groups %}{% include extra_control_groups %}{% endif %}