{# /* * Copyright (C) 2024 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 %} {% import "forms.twig" as forms %} {% block title %}{% set dataSetName = dataSet.dataSet %}{% trans %}{{ dataSetName }} - Data Connector{% endtrans %} | {% endblock %} {% set hideNavigation = "1" %} {% block pageContent %}

{{ dataSetName }}

{{ "Data Connector JavaScript"|trans }}
{{ forms.button("Save"|trans, "submit", null, null, null, "btn-success " ~ (dataSet.dataConnectorSource != 'user_defined' ? 'disabled' : '')) }}
{{ inline.message("You can test passing parameters that would otherwise be set when this Data Connector is scheduled."|trans, "alert alert-info") }} {{ inline.input("dataSetRealtimeTestParams", "Test Parameters"|trans) }}

                                    
{% for column in dataSet.getColumn() %} {% endfor %}
{{ column.heading }}Unmapped

                                    
{{ "Metric"|trans }} {{ "Value"|trans }} TTL
{% endblock %} {% block javaScript %} {# Add code editor bundle #} {% endblock %}