BunkerWeb logo
{% with menu_items = { "home": {"url": url_for('home'), "icon": "bx-home-smile"}, "instances": {"url": url_for('instances'), "icon": "bx-server"}, "global-config": {"url": url_for('global_config'), "icon": "bx-cog"}, "services": {"url": url_for('services'), "icon": "bx-cube"}, "configs": {"url": url_for('configs'), "icon": "bx-wrench"}, "plugins": {"url": url_for('plugins'), "icon": "bx-plug"}, "cache": {"url": url_for('cache'), "icon": "bx-data"}, "reports": {"url": url_for("loading", next=url_for("reports")), "icon": "bxs-flag-checkered"}, "bans": {"url": url_for('bans'), "icon": "bx-block"}, "jobs": {"url": url_for('jobs'), "icon": "bx-time-five"}, "logs": {"url": url_for('logs'), "icon": "bx-file-find"}, } %}
    {% for endpoint, item in menu_items.items() %}
  • {{ endpoint.replace('-', ' ') |title }}
    {% if item.get('sub') %}
      {% for sub in item['sub'][:item.get('max', 5)] %}
    • {{ sub }}
    • {% endfor %} {% if item['sub']|length > item.get('max', 5) %}
    • More...
    • {% endif %}
    {% endif %}
  • {% endfor %}
  • Plugins Pages
  • {% set menu_plugin_types = { "core": { "icon": "" }, "external": { "icon": "" }, "ui": { "icon": "" } } %}
    {% for plugin, plugin_data in plugins.items() %} {% with not_pro_pro_plugin = not is_pro_version and plugin_data['type'] == "pro" %} {% if not_pro_pro_plugin or plugin_data['page'] %}
  • {{ menu_plugin_types.get(plugin_data["type"], {}).get('icon', 'Pro plugin') |safe }}
    {{ plugin_data['name'] }}
    {% if plugin_data['type'] != "pro" %}
    {{ plugin_data['type']|upper }}
    {% endif %}
  • {% endif %} {% endwith %} {% endfor %}
  • Misc
  • About
  • Pro plugin
    Pro
  • Support
{% endwith %}