2013-11-14 01:16:14 +01:00
|
|
|
{% extends 'core/widget.html' %}
|
|
|
|
|
2012-08-15 11:56:43 +02:00
|
|
|
{% load i18n %}
|
2013-10-23 17:08:08 +02:00
|
|
|
{% load tags %}
|
2012-08-15 11:56:43 +02:00
|
|
|
|
2013-11-14 01:16:14 +01:00
|
|
|
{% block content %}
|
|
|
|
|
2013-06-16 00:44:41 +02:00
|
|
|
<!-- projector live view -->
|
|
|
|
<a href="{% url 'projector_show' %}" target="_blank">
|
|
|
|
<div id="iframewrapper">
|
|
|
|
<iframe id="iframe" src="{% url 'projector_show' %}" frameborder="0"></iframe>
|
|
|
|
<div id="iframeoverlay"></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
2012-11-17 20:59:30 +01:00
|
|
|
<!-- projector control buttons -->
|
2014-01-28 08:32:26 +01:00
|
|
|
{% if perms.core.can_manage_projector %}
|
2013-06-16 00:44:41 +02:00
|
|
|
<p>
|
2013-10-23 17:08:08 +02:00
|
|
|
<a class="projector_edit btn" href="{% url 'projector_bigger' %}" title="{% trans 'Zoom in' %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-zoom-in"></i>
|
2013-06-16 00:44:41 +02:00
|
|
|
</a>
|
2013-10-23 17:08:08 +02:00
|
|
|
<a class="projector_edit btn" href="{% url 'projector_smaller' %}" title="{% trans 'Zoom out' %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-zoom-out"></i>
|
2012-11-17 20:59:30 +01:00
|
|
|
</a>
|
2013-10-23 17:08:08 +02:00
|
|
|
<a class="projector_edit btn" href="{% url 'projector_clean_scale' %}" title="{% trans 'Reset zoom level' %}">
|
|
|
|
<i class="icon-resize-small"></i>
|
|
|
|
</a>
|
|
|
|
{% trans "Zoom level" %}: <span id="scale_level">{{ 'projector_scale'|get_config }}</span>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<a class="projector_edit btn {% if 'projector_scroll'|get_config == 0 %}disabled{% endif %}" id="scroll_up_button"
|
|
|
|
href="{% url 'projector_up' %}" title="{% trans 'Scroll visible view up' %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-arrow-up"></i>
|
2013-06-16 00:44:41 +02:00
|
|
|
</a>
|
2013-10-23 17:08:08 +02:00
|
|
|
<a class="projector_edit btn" href="{% url 'projector_down' %}" title="{% trans 'Scroll visible view down' %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-arrow-down"></i>
|
2012-11-17 20:59:30 +01:00
|
|
|
</a>
|
2013-10-23 17:08:08 +02:00
|
|
|
<a class="projector_edit btn" href="{% url 'projector_clean_scroll' %}" title="{% trans 'Reset scroll level' %}">
|
2013-01-31 10:19:56 +01:00
|
|
|
<i class="icon-resize-small"></i>
|
2012-11-17 20:59:30 +01:00
|
|
|
</a>
|
2013-10-23 17:08:08 +02:00
|
|
|
{% trans "Scroll level" %}: <span id="scroll_level">{{ 'projector_scroll'|get_config }}</span>
|
2013-06-16 00:44:41 +02:00
|
|
|
</p>
|
2012-11-17 20:59:30 +01:00
|
|
|
{% endif %}
|
2013-11-14 01:16:14 +01:00
|
|
|
|
|
|
|
{% endblock %}
|