{# /** * 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 %} {% block title %}{{ "Displays"|trans }} | {% endblock %} {% block actionMenu %}
{% if currentUser.featureEnabled("displays.add") %} {% endif %}
{% endblock %} {% block headContent %} {# Add page source code bundle ( CSS ) #} {% endblock %} {% block pageContent %}
{% trans "Displays" %}
{% set title %}{% trans "ID" %}{% endset %} {{ inline.number("displayId", title) }} {% set title %}{% trans "Name" %}{% endset %} {{ inline.inputNameGrid('display', title) }} {% set title %}{% trans "Status" %}{% endset %} {% set check %}{% trans "Up to date" %}{% endset %} {% set cross %}{% trans "Downloading" %}{% endset %} {% set cloud %}{% trans "Out of date" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: "1", option: check}, { optionid: "2", option: cross}, { optionid: "3", option: cloud} ] %} {{ inline.dropdown("mediaInventoryStatus", "single", title, "", options, "optionid", "option") }} {% set title %}{% trans "Logged In?" %}{% endset %} {% set yesOption %}{% trans "Yes" %}{% endset %} {% set noOption %}{% trans "No" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: "1", option: yesOption}, { optionid: "0", option: noOption} ] %} {{ inline.dropdown("loggedIn", "single", title, "", options, "optionid", "option") }} {% set title %}{% trans "Authorised?" %}{% endset %} {% set yesOption %}{% trans "Yes" %}{% endset %} {% set noOption %}{% trans "No" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: "1", option: yesOption }, { optionid: "0", option: noOption}, ] %} {{ inline.dropdown("authorised", "single", title, "", options, "optionid", "option") }} {% set title %}{% trans "XMR Registered?" %}{% endset %} {% set yesOption %}{% trans "Yes" %}{% endset %} {% set noOption %}{% trans "No" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: 1, option: yesOption}, { optionid: 0, option: noOption}, ] %} {{ inline.dropdown("xmrRegistered", "single", title, "", options, "optionid", "option") }} {% 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|tag value to filter tags with values. Enter --no-tag to filter all items without tags. Enter - before a tag or tag value to exclude from results." %}{% endset %} {{ inline.inputWithTags("tags", title, null, helpText, null, null, null, "exactTags", exactTagTitle, logicalOperatorTitle) }} {% endif %} {% if currentUser.featureEnabled("displaygroup.view") %} {% set title %}{% trans "Display Group" %}{% 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("displayGroup.search") }, { name: "data-filter-options", value: '{"isDisplaySpecific":0}' }, { name: "data-search-term", value: "displayGroup" }, { name: "data-id-property", value: "displayGroupId" }, { name: "data-text-property", value: "displayGroup" }, { name: "data-initial-key", value: "displayGroupId" }, ] %} {{ inline.dropdown("displayGroupId", "single", title, "", null, "displayGroupId", "displayGroup", helpText, "pagedSelect", "", "", "", attributes) }} {% endif %} {% if currentUser.featureEnabled("displayprofile.view") %} {% set title %}{% trans "Display Profile" %}{% endset %} {{ inline.dropdown("displayProfileId", "single", title, "", [{displayProfileId:null, name:""}]|merge(displayProfiles), "displayProfileId", "name") }} {% endif %} {{ inline.hidden("folderId") }}
{% set title %}{% trans "Last Accessed" %}{% endset %} {{ inline.date("lastAccessed", title) }} {% set title %}{% trans "Player Type" %}{% endset %} {% set android %}{% trans "Android" %}{% endset %} {% set chromeos %}{% trans "ChromeOS" %}{% endset %} {% set windows %}{% trans "Windows" %}{% endset %} {% set webos %}{% trans "webOS" %}{% endset %} {% set sssp %}{% trans "Tizen" %}{% endset %} {% set linux %}{% trans "Linux" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: "android", option: android}, { optionid: "chromeos", option: chromeos}, { optionid: "windows", option: windows}, { optionid: "lg", option: webos}, { optionid: "sssp", option: sssp}, { optionid: "linux", option: linux}, ] %} {{ inline.dropdown("clientType", "single", title, "", options, "optionid", "option") }} {% set title %}{% trans "Player Code" %}{% endset %} {{ inline.input("clientCode", title) }} {% set title %}{% trans "Custom ID" %}{% endset %} {{ inline.input("customId", title) }} {% set title %}{% trans "Mac Address" %}{% endset %} {{ inline.input("macAddress", title) }} {% set title %}{% trans "IP Address" %}{% endset %} {{ inline.input("clientAddress", title) }} {% set title %}{% trans "Orientation" %}{% endset %} {% set landscape %}{% trans "Landscape" %}{% endset %} {% set portrait %}{% trans "Portrait" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: "landscape", option: landscape}, { optionid: "portrait", option: portrait} ] %} {{ inline.dropdown("orientation", "single", title, "", options, "optionid", "option") }} {% set title %}{% trans "Commercial Licence" %}{% endset %} {% set licensed %}{% trans "Licensed fully" %}{% endset %} {% set trial %}{% trans "Trial" %}{% endset %} {% set notLinceced %}{% trans "Not licenced" %}{% endset %} {% set notApplicable %}{% trans "Not applicable" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: "1", option: licensed}, { optionid: "2", option: trial}, { optionid: "0", option: notLinceced}, { optionid: "3", option: notApplicable} ] %} {{ inline.dropdown("commercialLicence", "single", title, "", options, "optionid", "option") }} {% set title %}{% trans "Player supported?" %}{% endset %} {% set yesOption %}{% trans "Yes" %}{% endset %} {% set noOption %}{% trans "No" %}{% endset %} {% set options = [ { optionid: "", option: "" }, { optionid: 1, option: yesOption}, { optionid: 0, option: noOption}, ] %} {{ inline.dropdown("isPlayerSupported", "single", title, "", options, "optionid", "option") }}

{% trans 'No Folders matching the search term' %}

{% if currentUser.featureEnabled("tag.tagging") %}{% endif %}
{% trans "ID" %} {% trans "Display" %} {% trans "Display Type" %} {% trans "Address" %} {% trans "Status" %} {% trans "Authorised?" %} {% trans "Current Layout" %} {% trans "Storage Available" %} {% trans "Storage Total" %} {% trans "Storage Free %" %} {% trans "Description" %} {% trans "Orientation" %} {% trans "Resolution" %}{% trans "Tags" %}{% trans "Default Layout" %} {% trans "Interleave Default" %} {% trans "Email Alert" %} {% trans "Logged In" %} {% trans "Last Accessed" %} {% trans "Display Profile" %} {% trans "Version" %} {% trans "Supported?" %} {% trans "Device Name" %} {% trans "IP Address" %} {% trans "Mac Address" %} {% trans "Timezone" %} {% trans "Languages" %} {% trans "Latitude" %} {% trans "Longitude" %} {% trans "Screen shot?" %} {% trans "Thumbnail" %} {% trans "CMS Transfer?" %} {% trans "Bandwidth Limit" %} {% trans "Last Command" %} {% trans "XMR Registered" %} {% trans "Commercial Licence" %} {% trans "Remote" %} {% trans "Sharing" %} {% trans "Screen Size" %} {% trans "Is Mobile?" %} {% trans "Outdoor?" %} {% trans "Reference 1" %} {% trans "Reference 2" %} {% trans "Reference 3" %} {% trans "Reference 4" %} {% trans "Reference 5" %} {% trans "Custom ID" %} {% trans "Cost Per Play" %} {% trans "Impressions Per Play" %} {% trans "Created Date" %} {% trans "Modified Date" %} {% trans "Faults?" %} {% trans "OS Version" %} {% trans "OS SDK" %} {% trans "Manufacturer" %} {% trans "Brand" %} {% trans "Model" %}
{% endblock %} {% block javaScript %} {# Initialise JS variables and translations #} {# Add page source code bundle ( JS ) #} {% endblock %}