芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/shimoda/views/library-page.twig
{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (library-page) */ #} {% extends "authed.twig" %} {% import "inline.twig" as inline %} {% block actionMenu %}
{% trans "Add Media" %}
{% if settings.SETTING_LIBRARY_TIDY_ENABLED == 1 %}
{% trans "Tidy Library" %}
{% endif %}
{% endblock %} {% block pageContent %}
{% trans "Library" %}
{% set title %}{% trans "Name" %}{% endset %} {{ inline.input("media", title) }} {% set title %}{% trans "Tags" %}{% endset %} {% set helpText %}{% trans "A comma separated list of tags to filter by. Enter --no-tag to see items without tags." %}{% endset %} {{ inline.inputWithTags("tags", title, null, helpText) }} {% set attributes = [ { name: "data-live-search", value: "true" }, { name: "data-selected-text-format", value: "count > 4" } ] %} {% 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") }}
{% trans "ID" %}
{% trans "Name" %}
{% trans "Type" %}
{% trans "Tag" %}
{% trans "Thumbnail" %}
{% trans "Duration" %}
{% trans "Duration (seconds)" %}
{% trans "Size" %}
{% trans "Size (bytes)" %}
{% trans "Owner" %}
{% trans "Permissions" %}
{% trans "Revised" %}
{% trans "File Name" %}
{% trans "Created" %}
{% trans "Modified" %}
{% endblock %} {% block javaScript %} {% endblock %}