OpenSlides/openslides/projector/templates/projector/widget_overlay.html
Norman Jäckel 1fb1f17d15 New API for widgets using a metaclass.
It is now possible to define a default state and to submit extra stylefiles and javascript files when defining a widget in an app. This is done by a new metaclass in openslides.utils.dispatch. Also fixed some other tests.
2013-12-01 21:30:12 +01:00

26 lines
915 B
HTML

{% extends 'core/widget.html' %}
{% load i18n %}
{% block content %}
<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>
{% endblock %}