better build pipeline
This commit is contained in:
14
src/nodes/ts3-get/ui/editor.html
Normal file
14
src/nodes/ts3-get/ui/editor.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-globe"></i> Name</label>
|
||||
<input type="text" id="node-input-name">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-configid"><i class="fa fa-database"></i> Connection</label>
|
||||
<input type="text" id="node-input-configid">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-configid"><i class="fa fa-database"></i> Connection</label>
|
||||
<select class="form-select" id="node-input-selection">
|
||||
<option selected>Open this select menu</option>
|
||||
</select>
|
||||
</div>
|
||||
1
src/nodes/ts3-get/ui/help.html
Normal file
1
src/nodes/ts3-get/ui/help.html
Normal file
@@ -0,0 +1 @@
|
||||
<p>Get information from a Teamspeak 3 server.</p>
|
||||
18
src/nodes/ts3-get/ui/index.ts
Normal file
18
src/nodes/ts3-get/ui/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { EditorRED } from "node-red";
|
||||
import { Ts3GetEditorNodeProperties } from "../types";
|
||||
|
||||
declare const RED: EditorRED;
|
||||
|
||||
RED.nodes.registerType<Ts3GetEditorNodeProperties>('ts3-get',{
|
||||
category: 'function',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
configid: { type:"ts3-config", value: "" },
|
||||
selection: { value:"" }
|
||||
},
|
||||
inputs: 1,
|
||||
outputs: 1,
|
||||
label: function() {
|
||||
return this.name || "Ts3 Get";
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user