OpenSlides/openslides/projector/templates/projector/widget.html

46 lines
1.6 KiB
HTML
Raw Normal View History

{% load staticfiles %}
{% load i18n %}
2012-06-11 13:43:48 +02:00
{% load tags %}
2012-07-04 03:19:42 +02:00
<ul style="line-height: 180%">
<li class="{% if welcomepage_is_active %}activeline{% endif %}">
<a href="{% url projector_activate_welcomepage %}" class="activate_link {% if welcomepage_is_active %}active{% endif %}">
<div></div>
</a>
<a href="{% url projctor_preview_welcomepage %}" title="{% trans 'Preview' %}" class="icon preview right">
<span></span>
</a>
{% trans 'Welcome Page' %}
</li>
</ul>
<hr>
<ul style="line-height: 180%">
2012-06-11 13:43:48 +02:00
{% for slide in slides %}
<li class="{% if slide.active %}activeline{% endif %}">
<a href="{% url projector_activate_slide slide.sid %}" class="activate_link {% if slide.active %}active{% endif %}">
<div></div>
</a>
<a href="{% url customslide_delete slide.id %}" title="{% trans 'Delete' %}" class="icon delete right">
<span></span>
</a>
<a href="{% url customslide_edit slide.id %}" title="{% trans 'Edit' %}" class="icon edit right">
2012-06-11 13:43:48 +02:00
<span></span>
</a>
<a href="{% url projctor_preview_slide slide.sid %}" title="{% trans 'Preview' %}" class="icon preview right">
<span></span>
</a>
<a href="{% url customslide_edit slide.id %}">{{ slide }}</a>
</li>
2012-06-30 14:17:15 +02:00
{% empty %}
<li>{% trans 'No items available.' %}</li>
{% endfor %}
</ul>
2012-06-11 13:43:48 +02:00
<a href='{% url customslide_new %}'>
<button class="button" type="button" onclick="window.location='{% url customslide_new %}'">
<span class="icon add">{% trans 'New slide' %}</span>
2012-06-11 13:43:48 +02:00
</button>
</a>