{# /* * Copyright (C) 2023 Xibo Signage Ltd * * Xibo - Digital Signage - https://xibosignage.com * * 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 %}{{ "Module Templates"|trans }} | {% endblock %} {% block actionMenu %}
{% endblock %} {% block pageContent %}
{% trans "Module Templates" %}
{% set title %}{% trans "ID" %}{% endset %} {{ inline.number('id', title) }} {% set title %}{% trans "Title" %}{% endset %} {{ inline.input('templateId', title) }} {% set attributes = [ { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" }, { name: "data-width", value: "200px" }, { name: "data-search-url", value: url_for("developer.templates.datatypes.search") }, { name: "data-search-term", value: "name" }, { name: "data-id-property", value: "id" }, { name: "data-text-property", value: "name" }, { name: "data-initial-key", value: "dataType" }, { name: "data-allow-clear", value: "true"}, { name: "data-hide-search", value: 1} ] %} {% set title %}{% trans "Data Type" %}{% endset %} {% set helpText %}{% trans "Which data type does this template need?" %}{% endset %} {{ inline.dropdown("dataType", "single", title, null, null, "id", "id", helpText, "pagedSelect", "", "", "", attributes) }}
{% trans "ID" %} {% trans "Template ID" %} {% trans "Data Type" %} {% trans "Title" %} {% trans "Type" %} {% trans "Sharing" %}
{% endblock %} {% block javaScript %} {# Initialise JS variables and translations #} {# Add page source code bundle ( JS ) #} {% endblock %} {% block javaScriptTemplates %} {{ parent() }} {% verbatim %} {% endverbatim %} {% endblock %}