Muhammad Labeeb d2c41f4639
chore: change repo name
* automatically add issues to project board

* chore: rename app
2025-03-28 19:51:39 +05:00

12 lines
531 B
HTML

{% macro switch(plugin_name, is_enabled) %}
<div class="switch">
<div class="form-switch">
<label class="switch" title="{% if is_enabled %} Disable {% else %} Enable {% endif %}">
<form method="POST" action="{{ url_for('plugin_toggle', name=plugin_name) }}">
<input type="checkbox" name="checked" onchange="this.form.submit()" {% if is_enabled %} checked {% endif %} />
<span class="slider round"></span>
</form>
</label>
</div>
</div>
{% endmacro %}