UNPKG

amte-dataports

Version:

Node-red nodes to interact with the Automatic Models Training Engine from DATAPORTS

55 lines (48 loc) 2.06 kB
<!-- DataPorts - A Data Platform for the Connection of Cognitive Ports This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871493 Copyright (C) 2020-2023, by (Author's company of this file): - ITI – Instituto Tecnológico de Informática - Project Coordinator - UNIVERSITAT POLITÈCNICA DE VALÈNCIA (UPV) For more information, contact: - Project coordinator: <a href="mailto:info@dataports-project.eu"></a> This code is licensed under the ASL 2.0 license, available at the root application directory. --> <script type="text/javascript"> RED.nodes.registerType("list-services", { category: "DATAPORTS - AMTE", color: "#7EB89C", defaults: { username: {value: ""}, password: {value: ""} }, inputs: 1, outputs: 1, icon: "dataports-logo.png", label: function () { return this.username || "list-services"; }, oneditprepare: function () { $("#node-input-translation").typedInput({ type: "json", types: ["json"], }); $("#node-input-requestBody").typedInput({ type: "json", types: ["json"], }); }, }); </script> <script type="text/html" data-template-name="list-services"> <div class="form-row node-input-basic-row"> <label for="node-input-username"><i class="fa fa-user"></i> <span data-i18n="common.label.username"></span>Username</label> <input type="text" id="node-input-username" placeholder="Username"> </div> <div class="form-row"> <label for="node-input-password"> <i class="fa fa-lock"></i> <span data-i18n="common.label.password" id="node-span-password"></span><span data-i18n="httpin.label.bearerToken" id="node-span-token" style="display:none"></span>Password</label> <input type="password" id="node-input-password" placeholder="Password"> </div> </script> <script type="text/html" data-help-name="list-services"> <p>List the trained services available in the Automatic Models Training Engine</p> </script>