芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/reports/proofofplay-report-form.twig
{# /* * Xibo - Digital Signage - http://www.xibo.org.uk * Copyright (C) 2021 Xibo Signage Ltd * * 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 actionMenu %}
{% trans "Schedule" %}
{% trans "Saved Reports" %}
{% trans "Report Schedules" %}
{% endblock %} {% block pageContent %}
{% trans "Proof of Play" %}
{% trans "All Reports" %}
Reports
{% for reports in defaults.availableReports %} {% for report in reports %} {% if report.hidden == 0 and report.category == 'Proof of Play' %}
{{ report.description }}
{% endif %} {% endfor %} {% endfor %}
{% set title %}{% trans "Range" %}{% endset %} {% set range %}{% trans "Select a range" %}{% endset %} {% set today %}{% trans "Today" %}{% endset %} {% set yesterday %}{% trans "Yesterday" %}{% endset %} {% set thisweek %}{% trans "This Week" %}{% endset %} {% set thismonth %}{% trans "This Month" %}{% endset %} {% set thisyear %}{% trans "This Year" %}{% endset %} {% set lastweek %}{% trans "Last Week" %}{% endset %} {% set lastmonth %}{% trans "Last Month" %}{% endset %} {% set lastyear %}{% trans "Last Year" %}{% endset %} {% set options = [ { filterName: "", reportFilter: range }, { filterName: "today", reportFilter: today }, { filterName: "yesterday", reportFilter: yesterday }, { filterName: "thisweek", reportFilter: thisweek }, { filterName: "thismonth", reportFilter: thismonth }, { filterName: "thisyear", reportFilter: thisyear }, { filterName: "lastweek", reportFilter: lastweek }, { filterName: "lastmonth", reportFilter: lastmonth }, { filterName: "lastyear", reportFilter: lastyear }, ] %} {{ inline.dropdown("reportFilter", "single", title, "today", options, "filterName", "reportFilter") }} {% set title %}{% trans "From Date" %}{% endset %} {{ inline.date("statsFromDt", title, defaults.fromDateOneDay, "", "stats-from-dt", "", "") }} {% set title %}{% trans "Time" %}{% endset %} {{ inline.time("statsFromDtTime", title, "00:00", "", "stats-from-dt-time") }} {% set title %}{% trans "To Date" %}{% endset %} {{ inline.date("statsToDt", title, defaults.toDate, "", "stats-to-dt", "", "") }} {% set title %}{% trans "Time" %}{% endset %} {{ inline.time("statsToDtTime", title, "00:00", "", "stats-to-dt-time") }} {% set title %}{% trans "Display" %}{% endset %} {% set attributes = [ { name: "data-width", value: "200px" }, { name: "data-allow-clear", value: "true" }, { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" }, { name: "data-search-url", value: url_for("display.search") }, { name: "data-search-term", value: "display" }, { name: "data-search-term-tags", value: "tags" }, { name: "data-id-property", value: "displayId" }, { name: "data-text-property", value: "display" } ] %} {{ inline.dropdown("displayId", "single", title, "", null, "displayId", "display", "", "pagedSelect", "", "d", "", attributes) }} {% set attributes = [ { name: "data-width", value: "200px" }, { name: "data-allow-clear", value: "true" }, { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" }, { name: "data-search-url", value: url_for("layout.search") }, { name: "data-search-term", value: "layout" }, { name: "data-search-term-tags", value: "tags" }, { name: "data-id-property", value: "layoutId" }, { name: "data-text-property", value: "layout" } ] %} {% set title %}{% trans "Layout" %}{% endset %} {{ inline.dropdown("layoutId[]", "dropdownmulti", title, "", null, "layoutId", "layout", "", "pagedSelect", "", "l", "", attributes) }} {% set attributes = [ { name: "data-width", value: "200px" }, { name: "data-allow-clear", value: "true" }, { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" }, { name: "data-search-url", value: url_for("library.search") }, { name: "data-search-term", value: "media" }, { name: "data-search-term-tags", value: "tags" }, { name: "data-id-property", value: "mediaId" }, { name: "data-text-property", value: "name" } ] %} {% set title %}{% trans "Media" %}{% endset %} {{ inline.dropdown("mediaId[]", "dropdownmulti", title, "", null, "mediaId", "name", "", "pagedSelect", "", "m", "", attributes) }} {% set title %}{% trans "Type" %}{% endset %} {% set layout %}{% trans "Layout" %}{% endset %} {% set media %}{% trans "Media" %}{% endset %} {% set widget %}{% trans "Widget" %}{% endset %} {% set event %}{% trans "Event" %}{% endset %} {% set options = [ { typeid: "", type: null }, { typeid: "layout", type: layout }, { typeid: "media", type: media }, { typeid: "widget", type: widget }, { typeid: "event", type: event } ] %} {{ inline.dropdown("type", "single", title, "", options, "typeid", "type") }} {% set title %}{% trans "Tags from" %}{% endset %} {% set dg %}{% trans "Display Group" %}{% endset %} {% set layout %}{% trans "Layout" %}{% endset %} {% set media %}{% trans "Media" %}{% endset %} {% set options = [ { tagsTypeid: "dg", tagsType: dg }, { tagsTypeid: "layout", tagsType: layout }, { tagsTypeid: "media", tagsType: media } ] %} {{ inline.dropdown("tagsType", "single", title, "dg", options, "tagsTypeid", "tagsType") }} {% if currentUser.featureEnabled("tag.tagging") %} {% set title %}{% trans "Tags" %}{% endset %} {% set exactMatchTitle %}{% trans "Should Tags filter by exact match?" %}{% 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, null, null, null, "exactTags", exactMatchTitle) }} {% endif %}
{% trans "Apply" %}
{% trans "Warning: This may return a lot of data and may take several minutes to process." %}
{% trans "Type" %}
{% trans "Display ID" %}
{% trans "Display" %}
{% trans "Layout ID" %}
{% trans "Layout" %}
{% trans "Widget ID" %}
{% trans "Media" %}
{% trans "Tag" %}
{% trans "Number of Plays" %}
{% trans "Total Duration" %}
{% trans "Total Duration (s)" %}
{% trans "First Period Shown" %}
{% trans "Last Period Shown" %}
{% endblock %} {% block javaScript %} {% endblock %}