{% extends "base.html" %} {% block title %}Signal systems{% endblock %} {% block content %}

Signal systems

{% if not systems %}

No signal systems loaded. To enable, point JMRI_SIGNAL_XML_ROOT at your JMRI install's xml/signals directory before starting the server (e.g. JMRI_SIGNAL_XML_ROOT=/opt/JMRI/xml/signals).

The rewrite currently parses the aspect tables (aspects.xml) — enough to enumerate the systems and populate a signal-mast picker. Appearance tables and aspect images arrive with Panel Editor.

{% else %}

Loaded {{ systems|length }} signal system{% if systems|length != 1 %}s{% endif %}. Click a name to expand its aspect table.

{% for system in systems %}
{{ system.name or system.id }} — {{ system.id }} {{ system.aspects|length }} aspect{% if system.aspects|length != 1 %}s{% endif %} {% if system.reference %}

{{ system.reference }}

{% endif %} {% if system.aspects %} {% for aspect in system.aspects %} {% endfor %}
Aspect Indication Speed Speed 2 Route
{{ aspect.name }} {{ aspect.indication }} {{ aspect.speed }} {{ aspect.speed2 }} {% if aspect.route %}{{ aspect.route }}{% endif %}
{% else %}

This system's aspects.xml had no aspects — likely a truncated or work-in-progress file.

{% endif %}
{% endfor %} {% endif %} {% endblock %}