{# /** * Copyright (C) 2023 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 %} {% import "forms.twig" as forms %} {% block title %}{{ "Schedule"|trans }} | {% endblock %} {% block actionMenu %}
{% if currentUser.featureEnabled("schedule.add") %} {% endif %}
{% endblock %} {% block pageContent %}
{% trans "Schedule" %}
{% set title %}{% trans "Range" %}{% endset %} {% set range %}{% trans "Custom" %}{% endset %} {% set day %}{% trans "Day" %}{% endset %} {% set week %}{% trans "Week" %}{% endset %} {% set month %}{% trans "Month" %}{% endset %} {% set year %}{% trans "Year" %}{% endset %} {% set options = [ { name: "custom", range: range }, { name: "day", range: day }, { name: "week", range: week }, { name: "month", range: month }, { name: "year", range: year }, ] %} {{ inline.dropdown("range", "single", title, "month", options, "name", "range", "", "date-range-input") }} {% set title %}{% trans 'From Date' %}{% endset %} {{ inline.dateTime("fromDt", title, "", "", "custom-date-range d-none", "", "") }} {% set title %}{% trans 'To Date' %}{% endset %} {{ inline.dateTime("toDt", title, "", "", "custom-date-range d-none", "", "") }} {% set title %}{% trans "Date Controls" %}{% endset %}
{{ title }}
{% set title %}{% trans "Name" %}{% endset %} {{ inline.inputNameGrid('name', title) }} {% set title %}{% trans 'Event Type' %}{% endset %} {{ inline.dropdown("eventTypeId", "single", title, "", [{eventTypeId: null, eventTypeName: "All"}]|merge(eventTypes), "eventTypeId", "eventTypeName") }} {% set title %}{% trans "Layout / Campaign" %}{% endset %} {% set helpText %}{% trans "Please select a Layout or Campaign for this Event to show" %}{% endset %}
{% set title %}{% trans "Displays" %}{% endset %}
{% set title %}{% trans "Display Groups" %}{% endset %}
{% set label %}{% trans "Direct Schedule?" %}{% endset %} {% set title %}{% trans "Show only events scheduled directly on selected Displays/Groups" %}{% endset %}
{% set title %}{% trans "Only show schedules which appear on all filtered displays/groups?" %}{% endset %} {% set label %}{% trans "Shared Schedule?" %}{% endset %}
{% set title %}{% trans 'Geo Aware?' %}{% endset %} {% set options = [ { id: null, name: "Both"|trans }, { id: 0, name: "No"|trans }, { id: 1, name: "Yes"|trans } ] %} {{ inline.dropdown("geoAware", "single", title, "both", options, "id", "name") }} {% set title %}{% trans 'Recurring?' %}{% endset %} {% set options = [ { id: null, name: "Both" }, { id: 0, name: "No"|trans }, { id: 1, name: "Yes"|trans } ] %} {{ inline.dropdown("recurring", "single", title, "both", options, "id", "name") }}

{% trans 'ID' %} {% trans 'Event Type' %} {% trans 'Name' %} {% trans 'Start' %} {% trans 'End' %} {% trans 'Event' %} {% trans 'Campaign ID' %} {% trans 'Display Groups' %} {% trans 'SoV' %} {% trans 'Max Plays per Hour' %} {% trans 'Geo Aware?' %} {% trans 'Recurring?' %} {% trans 'Recurrence Description' %} {% trans 'Recurrence Type' %} {% trans 'Recurrence Interval' %} {% trans 'Recurrence Repeats On' %} {% trans 'Recurrence End' %} {% trans 'Priority?' %} {% trans 'Criteria?' %} {% trans 'Created On' %} {% trans 'Updated On' %} {% trans 'Modified By' %}
  • {% trans "Always showing" %}
  • {% trans "Single Display" %}
  • {% trans "Multi Display" %}
  • {% trans "Priority" %}
  • {% trans "Recurring" %}
  • {% trans "View Only" %}
  • {% trans "Command" %}
  • {% trans "Interrupt" %}
  • {% trans "Geo Location" %}
  • {% trans "Interactive Action" %}
  • {% trans "Synchronised" %}
{% endblock %} {% block javaScript %} {# Initialise JS variables #} {# Add page source code bundle ( JS ) #} {% endblock %}