芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/views/campaign-page.twig
{# /** * 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 "inline.twig" as inline %} {% block title %}{{ "Campaigns"|trans }} | {% endblock %} {% block actionMenu %} {% if currentUser.featureEnabled("campaign.add") %}
{% trans "Add Campaign" %}
{% endif %} {% endblock %} {% block pageContent %}
{% trans "Campaigns" %}
{% set title %}{% trans "Name" %}{% endset %} {{ inline.inputNameGrid('name', title) }} {% if currentUser.featureEnabled("tag.tagging") %} {% set title %}{% trans "Tags" %}{% endset %} {% set exactTagTitle %}{% trans "Exact match?" %}{% endset %} {% set logicalOperatorTitle %}{% trans "When filtering by multiple Tags, which logical operator should be used?" %}{% 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, logicalOperatorTitle) }} {% endif %} {% set title %}{% trans "Layouts" %}{% endset %} {% set values = [{id: 0, value: ""}, {id: 2, value: "Yes"}, {id: 1, value: "No"}] %} {{ inline.dropdown("hasLayouts", "single", title, 0, values, "id", "value") }} {{ inline.hidden("folderId") }} {% set title %}{% trans "Layout ID" %}{% endset %} {{ inline.number("layoutId", title, layoutId) }} {% if currentUser.featureEnabled('ad.campaign') %} {% set title %}{% trans "Type" %}{% endset %} {% set options = [ { id: null, name: "" }, { id: "list", name: "Layout list"|trans }, { id: "ad", name: "Ad Campaign"|trans } ] %} {{ inline.dropdown("type", "single", title, "both", options, "id", "name", helpText) }} {% endif %} {% set title %}{% trans "Cycle Based Playback" %}{% endset %} {% set enabled %}{% trans "Enabled" %}{% endset %} {% set disabled %}{% trans "Disabled" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: 0, option: disabled}, { optionid: 1, option: enabled} ] %} {{ inline.dropdown("cyclePlaybackEnabled", "single", title, "", options, "optionid", "option") }}
{% trans "All Folders" %}
{% trans "Name" %}
{% if currentUser.featureEnabled('ad.campaign') %}
{% trans "Type" %}
{% trans "Start Date" %}
{% trans "End Date" %}
{% endif %}
{% trans "# Layouts" %}
{% if currentUser.featureEnabled("tag.tagging") %}
{% trans "Tags" %}
{% endif %}
{% trans "Duration" %}
{% trans "Cycle based Playback" %}
{% trans "Play Count" %}
{% if currentUser.featureEnabled('ad.campaign') %}
{% trans "Target Type" %}
{% trans "Target" %}
{% trans "Plays" %}
{% trans "Spend" %}
{% trans "Impressions" %}
{% endif %}
{% trans "Ref 1" %}
{% trans "Ref 2" %}
{% trans "Ref 3" %}
{% trans "Ref 4" %}
{% trans "Ref 5" %}
{% trans "Created At" %}
{% trans "Modified At" %}
{% trans "Modified By" %}
{% endblock %} {% block javaScript %} {% verbatim %} {% endverbatim %} {% endblock %}