OpenSlides/openslides/projector/templates/projector/overlay_widget.html

22 lines
846 B
HTML

{% load i18n %}
<ul class="overlay_list">
{% for overlay in overlays %}
<li>
<a id="{{ overlay.name }}_active"
href="{% url 'projector_overlay_deactivate' overlay.name %}"
class="overlay_activate_link btn btn-mini btn-primary"
style="{% if not overlay.is_active %}display:none;{% endif %}">
<i class="icon-checked-new_white"></i>
</a>
<a id="{{ overlay.name }}_inactive"
href="{% url 'projector_overlay_activate' overlay.name %}"
class="overlay_activate_link btn btn-mini"
style="{% if overlay.is_active %}display:none;{% endif %}">
<i class="icon-unchecked-new"></i>
</a>
{{ overlay.get_widget_html|safe }}
</li>
{% endfor %}
</ul>