{% extends "vantage/base.html" %} {% load static vantage i18n %} {% block head %} {% endblock %} {% block content %} {% comment %} Arranging the top bar. One form for the whole screen, for the reason the settings screen states: a form cannot nest, and Reset, Save, every Move and every Remove is a submit button in this one rather than a form of its own. Every reordering control is a button. Dragging is added on top by vantage-topbar.js and writes its result into the same hidden "order" field the buttons act on, so there is one thing the server reads whether or not a script ran — and a keyboard user is never asked to drag anything. {% endcomment %}
{% csrf_token %}

{{ page_title }}

{{ page_description }}

{% if is_stored %} {% endif %}
{% if not is_stored %}

{% translate "Nothing is stored yet." %}

{% translate "This is the arrangement the package ships with. Saving anything here starts overriding it, and Reset hands it back." %}

{% endif %}

{% translate "The bar" %}

{% translate "In order, from the end of the breadcrumb to the far edge." %}

    {% for row in rows %}
  1. {{ row.label }} {% if row.description %} {{ row.description }} {% endif %} {% if row.broken %} {% translate "This no longer resolves, so it is not being shown. Remove it." %} {% endif %} {% if not row.builtin %} {% endif %} {% if row.lockable %} {% else %} {% comment %} The account menu has no "off". Hiding it from the only place it appears would take sign-out away, so the switch is not offered rather than offered and then refused. {% endcomment %} {% translate "Always shown" %} {% endif %} {% if row.removable %} {% endif %}
  2. {% endfor %}

{% translate "Add an item" %}

{% translate "A page in this panel, one of your custom pages, or a link anywhere else." %}

{% if errors.kind %}

{{ errors.kind }}

{% endif %}
{% if errors.target %}

{{ errors.target }}

{% else %}

{% translate "A route is a name like vantage:jobs. An external link needs its https:// — a bare hostname is not a link." %}

{% endif %}
{% if errors.label %}

{{ errors.label }}

{% endif %}

{% translate "What it will look like" %}

{% comment %} Drawn from the same Topbar the shell renders, not from a second guess at it — but as labels rather than as the live controls, because the account menu owns a handful of element ids and a second copy of them on the page would break both. {% endcomment %}
{% if preview.banner %}
{{ preview.banner }}
{% endif %}
{{ settings.SITE_TITLE }} {% for slot in preview.slots %} {% if slot.kind == "search" %}{% icon "search" %}{% translate "Search…" %} {% elif slot.kind == "theme" %}{% icon "sun" %} {% elif slot.kind == "environment" %}{{ slot.label }} {% elif slot.kind == "user" %}{{ account_initials }} {% else %} {% if slot.icon %}{% icon slot.icon %}{% endif %}{{ slot.label }} {% if slot.external %}{% endif %} {% endif %} {% endfor %}
{% endblock %}