芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/views/library-page.twig
{# /** * Copyright (C) 2021 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 "inline.twig" as inline %} {% block title %}{{ "Library"|trans }} | {% endblock %} {% block actionMenu %} {% if currentUser.featureEnabledCount(["library.add", "library.modify"]) > 0 or settings.SETTING_LIBRARY_TIDY_ENABLED == 1 %}
{% if currentUser.featureEnabled("library.add") %}
{% trans "Add Media" %}
{% trans "Add media (URL)" %}
{% endif %} {% if settings.SETTING_LIBRARY_TIDY_ENABLED == 1 and currentUser.featureEnabled("library.modify") %}
{% trans "Tidy Library" %}
{% endif %}
{% endif %} {% endblock %} {% block pageContent %}
{% trans "Library" %}
{% set title %}{% trans "ID" %}{% endset %} {{ inline.number("mediaId", title) }}
{% trans "Name" %}
{% if currentUser.featureEnabled("tag.tagging") %} {% set title %}{% trans "Tags" %}{% endset %} {% set exactTagTitle %}{% trans "Exact match?" %}{% endset %} {% set helpText %}{% trans "A comma separated list of tags to filter by. Enter a Tag value preceded with | to filter by Tag values. Enter --no-tag to see items without tags." %}{% endset %} {{ inline.inputWithTags("tags", title, null, helpText, null, null, null, "exactTags", exactTagTitle) }} {% endif %} {% set attributes = [ { name: "data-allow-clear", value: "true" }, { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" } ] %} {% set title %}{% trans "Owner" %}{% endset %} {% set users = [{userId: null, userName: ""}]|merge(users) %} {{ inline.dropdown("ownerId", "single", title, null, users, "userId", "userName", "", "selectPicker", "", "", "", attributes) }} {% set title %}{% trans "Owner User Group" %}{% endset %} {% set helpText %}{% trans "Show items owned by users in the selected User Group." %}{% endset %} {{ inline.dropdown("ownerUserGroupId", "single", title, "", [{groupId:null, group:""}]|merge(groups), "groupId", "group", helpText, "selectPicker", "", "", "", attributes) }} {% set title %}{% trans "Type" %}{% endset %} {{ inline.dropdown("type", "single", title, "", [{"type": none, "name": ""}]|merge(modules), "type", "name") }} {% set title %}{% trans "Retired" %}{% endset %} {% set values = [{id: 1, value: "Yes"}, {id: 0, value: "No"}] %} {{ inline.dropdown("retired", "single", title, 0, values, "id", "value") }} {{ inline.hidden("folderId") }} {% set title %}{% trans "Layout ID" %}{% endset %} {{ inline.number("layoutId", title, layoutId) }}
{% trans "All Folders" %}
{% trans "ID" %}
{% trans "Name" %}
{% trans "Type" %}
{% if currentUser.featureEnabled("tag.tagging") %}
{% trans "Tag" %}
{% endif %}
{% trans "Thumbnail" %}
{% trans "Duration" %}
{% trans "Duration (seconds)" %}
{% trans "Size" %}
{% trans "Size (bytes)" %}
{% trans "Owner" %}
{% trans "Sharing" %}
{% trans "Revised" %}
{% trans "Released" %}
{% trans "File Name" %}
{% trans "Stats?" %}
{% trans "Created" %}
{% trans "Modified" %}
{% trans "Expires" %}
{% endblock %} {% block javaScript %} {% endblock %}