{% set current_endpoint = url_for(request.endpoint)[1:].split("/")[-1].strip() %} BunkerWeb UI {% if current_endpoint == "home" %} {% elif current_endpoint == "instances" or current_endpoint == "services" %} {% elif current_endpoint == "global_config" %} {% elif current_endpoint == "configs" %} {% elif current_endpoint == "plugins" %} {% elif current_endpoint == "cache" %} {% elif current_endpoint == "logs" %} {% endif %} {% if current_endpoint == "services" or current_endpoint == "global_config" %} {% elif current_endpoint == "configs" %} {% elif current_endpoint == "plugins" %} {% elif current_endpoint == "cache" %} {% elif current_endpoint == "logs" %} {% endif %}