2017-11-28 14:02:46 +00:00
|
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% trans %}Screens{% endtrans %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-07-23 22:16:31 +00:00
|
|
|
|
<div id="screen_list">
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
|
|
|
|
<div id="title">
|
2024-07-23 22:16:31 +00:00
|
|
|
|
<h3>{% trans %}Screens{% endtrans %}</h3>
|
|
|
|
|
<div id="links" class="right">
|
|
|
|
|
<a id="create" class="link" href="{{ url("com:screen_create") }}">{% trans %}Create{% endtrans %}</a>
|
|
|
|
|
</div>
|
2017-11-28 14:02:46 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="screens">
|
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% if screen_list.count() == 0 %}
|
|
|
|
|
<div id="no-screens">{% trans %}No screens{% endtrans %}</div>
|
|
|
|
|
{% else %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% for screen in screen_list %}
|
|
|
|
|
<div class="screen">
|
|
|
|
|
<div class="name">{{ screen.name }}</div>
|
|
|
|
|
<a class="edit" href="{{ url("com:screen_edit", screen.id) }}">{% trans %}Edit{% endtrans %}</a>
|
|
|
|
|
<a class="slideshow" href="{{ url("com:screen_slideshow", screen.id) }}" target="_blank">{% trans %}Slideshow{% endtrans %}</a>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
{% endif %}
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
|
</div>
|
2017-11-28 14:02:46 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|