{# /** * Copyright (C) 2020 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * This file is part of Xibo. * * Xibo is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Xibo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Xibo. If not, see . */ #} {% extends "authed.twig" %} {% import "forms.twig" as forms %} {% block pageContent %}
{# Playlist selection #} {% set attributes = [ { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" }, { name: "data-search-url", value: url_for("playlistdashboard.search") }, { name: "data-search-term", value: "name" }, { name: "data-id-property", value: "playlistId" }, { name: "data-text-property", value: "name" } ] %} {% set title %}{% trans "Playlist" %}{% endset %} {% set helpText %}{% trans "Please select a Playlist to manage" %}{% endset %} {{ forms.dropdown("playlistId", "single", title, "", [playlist], "playlistId", "name", helpText, "playlist-control pagedSelect", "", "", "", attributes) }}

{% trans "Playlist Content" %}

{% trans "Fill empty Spots by clicking on ‘Add’ to select the media file you wish to use." %}

{% trans "Replace existing media files by clicking on a Spot and select the new media file you wish to use." %}

{{ libraryUpload.maxSizeMessage }}

{% include "theme-dashboard-message.twig" ignore missing %}
{% endblock %} {% block javaScript %} {# Add common files #} {% include "editorTranslations.twig" %} {% include "editorVars.twig" %} {# Output a template for the upload form which will appear in the spot when clicked. #} {% verbatim %} {% endverbatim %} {% endblock %}