{% extends "base.html" %} {% set active_page = "plugins" %} {% block title%}Plugins{% endblock %} {% block styles %}{{ super() }} {% endblock %} {% block script %} document.querySelectorAll('.plugins-box[data-href]').forEach(function (box) { box.addEventListener('click', function (e) { // don't hijack clicks on the toggle switch or its form if (e.target.closest('.plugin-toggle') || e.target.closest('a')) { return; } window.location.href = box.getAttribute('data-href'); }); }); {% endblock %} {% block content %}
{% for name in database.keys() | sort %} {% set has_info = name in loaded and loaded[name].__description__ is defined %} {% set has_webui = name in loaded and loaded[name].on_webhook is defined %}

{{ name }}

{% if name in loaded and loaded[name].__version__ is defined %} {{ loaded[name].__version__ }} {% endif %}
{% if has_info %} {{ loaded[name].__description__ }} {% else %} Description unable to load yet. {% endif %}
{% if name in default_plugins %} DEFAULT {% endif %}
{% endfor %}
{% endblock %} {% block scripts %}{{ super() }} {% endblock %}