{% extends "base.html" %} {% block title %}Overlay {{ overlay.name }} | left4me{% endblock %} {% block content %}

Overlay: {{ overlay.name }}

{% set can_edit = g.user.admin or (overlay.type in ['workshop', 'script'] and overlay.user_id == g.user.id) %} {% if can_edit %} {% endif %}
{% if can_edit %}
{% endif %}
Type{{ overlay.type }}
Scope{% if overlay.user_id %}private{% else %}system{% endif %}
Path{{ overlay.path }}
Last build {% if overlay.last_build_status == 'ok' %} ok {% elif overlay.last_build_status == 'failed' %} failed {% else %} never {% endif %}
{% if overlay.type == 'script' %}

Script

{% if can_edit %}
{% endif %}
{% if can_edit %}

Runs sandboxed against the overlay directory mounted at /overlay. Saving auto-enqueues a build.

{% else %}
{{ overlay.script or "" }}
{% endif %} {% if latest_build_job %}

Latest build: job #{{ latest_build_job.id }} — state: {{ latest_build_job.state }}

{% endif %}
{% endif %} {% if overlay.type == 'workshop' %}

Workshop items

{% if can_edit %}
{% endif %}
{% if can_edit %}
Input mode
{% endif %}
{% include "_overlay_item_table.html" with context %}
{% if latest_build_job %}

Latest build

job #{{ latest_build_job.id }} — state: {{ latest_build_job.state }}

{% endif %} {% endif %}

Used by

{% if using_blueprints %} {% else %}

Not used by any blueprint.

{% endif %}
{% if can_edit %} {% if overlay.type == 'script' %} {% endif %} {% endif %} {% endblock %}