{# vite_dev (MOJO_DOJO_DEV, see shared.py) loads Vite's client ahead of every other script: it reloads the page on an edit, and defines the `global` Plotly needs (see the `define` note in vite.config.ts) #} {% if vite_dev %} {% endif %} {% block extra_head %}{% endblock %}
Mojo Logo

MUJOCO MOJO

{% if status_code is not defined %} {% endif %}
{% if status_code is not defined %} {% endif %}
{% if status_code is not defined %}
Notifications
No notifications yet
{% endif %}
{% if status_code is not defined %}
Owner

{{ owner }}

Workdir

‎{{ workdir_name }}

{% endif %}
{# The loader has no x-cloak, so the first paint already shows it: the page is only ever shown after Alpine has started, which is also what hides it again (x-show) once the page is ready. #}

Loading Dojo

{# x-cloak keeps the page out of sight until Alpine has started. Without it the raw page showed for a moment first, with every x-show (each dropdown) still open, before :class below could blur it. Alpine removes x-cloak after it has applied :class and hidden the closed elements, so the page appears already blurred, behind the loader. #}
{% block content %}{% endblock %}
{% if sensai_available %} {% include "partials/_sensai.html" %} {% endif %} {% block scripts %}{% endblock %} {# Enter must only be prevented while this dialog is open. The .prevent modifier would cancel the default of every Enter on the page, even with no dialog: no newline in a textarea (SensAI's Shift+Enter), no click from Enter on a focused button. #} {% include "partials/_settings_panel.html" %} {% include "partials/_changelog_modal.html" %}