1fb1f17d15
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.
26 lines
915 B
HTML
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 %}
|