{# /** * 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 %}{% trans "Report: Time Connected" %} | {% endblock %} {% block actionMenu %} {% include "report-schedule-buttons.twig" %} {% endblock %} {% block pageContent %}
{% trans "Time Connected" %}
{% include "report-selector.twig" %}
Blue is disconnected %
Green is connected %
{% set title %}{% trans "Range" %}{% endset %} {{ inline.dateRangeFilter("reportFilter", title, "", "", "", "", "") }} {% set title %}{% trans "Group by" %}{% endset %} {% set byhour %}{% trans "Hour" %}{% endset %} {% set bydayofmonth %}{% trans "Day of month" %}{% endset %} {% set options = [ { filterName: "byhour", groupByFilter: byhour }, { filterName: "bydayofmonth", groupByFilter: bydayofmonth }, ] %} {{ inline.dropdown("groupByFilter", "single", title, "", options, "filterName", "groupByFilter", "", "group-by-filter") }} {% set title %}{% trans "Display/Display Groups" %}{% endset %} {% set helpText %}{% trans "Please select one or more displays / groups for this notification to be shown on - Layouts will need the notification widget." %}{% endset %} {% set attributes = [ { name: "data-width", value: "100%" } ] %} {% set transGroups %}{% trans "Groups" %}{% endset %} {% set transDisplays %}{% trans "Display" %}{% endset %} {% set optionGroups = [ {id: "group", label: transGroups}, {id: "display", label: transDisplays} ] %} {{ inline.dropdown("displayGroupId[]", "dropdownmulti", title, displayGroupIds, {group: defaults.displayGroups, display: defaults.displays}, "displayGroupId", "displayGroup", helpText, "selectPicker", "", "", "", attributes, optionGroups) }}
{% trans "Apply" %}
{% endblock %} {% block javaScript %} {% endblock %}