{% set theme = theme or "light" %} {% set pro_diamond_url = url_for('static', filename='img/diamond.svg') %} {% set avatar_url = url_for('static', filename='img/avatar_profil_BW.png' if theme == 'light' else 'img/avatar_profil_BW-white.png') %} {% set plugin_types = { "core": { "icon": "", "title-class": " border-dark" }, "external": { "icon": "", "title-class": " border-secondary", "text-class": " text-secondary fw-bold" }, "ui": { "icon": "", "title-class": " border-secondary", "text-class": " text-secondary" }, "pro": { "title-class": " border-primary", "text-class": " text-primary fw-bold shine" } } %} BunkerWeb UI {% if current_endpoint in ("instances", "services", "configs", "plugins", "cache", "reports", "bans", "jobs") or "plugins" in request.path %} {% endif %} {% if current_endpoint in ("bans", "pro") or current_endpoint != "plugins" and "plugins" in request.path %} {% if theme == 'dark' %} {% endif %} {% endif %} {% if current_endpoint == "home" or current_endpoint != "plugins" and "plugins" in request.path %} {% endif %} {% if starting or current_endpoint in ("setup", "login", "totp", "loading") %} {% elif current_endpoint in ("loading", "starting") %} {% elif current_endpoint == "profile" %} {% elif current_endpoint == "home" %} {% endif %} {% if not starting %}{% endif %} {% if not starting and current_endpoint != "loading" %} {% include "flash.html" %} {% endif %} {% block page %}{% endblock %} {% if current_endpoint in ("instances", "services", "configs", "plugins", "cache", "reports", "bans", "jobs") or "plugins" in request.path %} {% endif %} {% if current_endpoint == "home" or current_endpoint != "plugins" and "plugins" in request.path %} {% endif %} {% if current_endpoint in ("bans", "pro") or current_endpoint != "plugins" and "plugins" in request.path %} {% endif %} {% if current_endpoint not in ("services", "configs", "cache", "plugins") and ("services" in request.path or "configs" in request.path or "cache" in request.path or current_endpoint == "logs" or "plugins" in request.path) %} {% endif %} {% if starting or current_endpoint in ("setup", "loading", "instances") or (current_endpoint != "plugins" and "plugins" in request.path) %} {% endif %} {% if current_endpoint == "global-config" or (current_endpoint != "services" and "services" in request.path) %} {% endif %} {% if starting %} {% endif %} {% if current_endpoint == "setup" %} {% elif current_endpoint == "loading" %} {% elif current_endpoint == "home" %} {% elif current_endpoint == "profile" %} {% elif current_endpoint == "instances" %} {% elif current_endpoint == "services" %} {% elif current_endpoint == "configs" %} {% elif current_endpoint != "configs" and "configs" in request.path %} {% elif current_endpoint == "plugins" %} {% elif current_endpoint == "cache" %} {% elif current_endpoint != "cache" and "cache" in request.path %} {% elif current_endpoint == "reports" %} {% elif current_endpoint == "bans" %} {% elif current_endpoint == "jobs" %} {% elif current_endpoint == "logs" %} {% elif current_endpoint == "pro" %} {% elif current_endpoint == "support" %} {% elif current_endpoint != "plugins" and "plugins" in request.path %} {% endif %}