UI improvements
This commit is contained in:
@@ -7,6 +7,7 @@ RED.nodes.registerType<Ts3ConfigEditorNodeProperties,Ts3ConfigCreds>('ts3-config
|
||||
category: 'config',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
host: { value: ""},
|
||||
nickname: {value: "ServerQuery"}
|
||||
},
|
||||
@@ -15,6 +16,6 @@ RED.nodes.registerType<Ts3ConfigEditorNodeProperties,Ts3ConfigCreds>('ts3-config
|
||||
password: {type: "password"}
|
||||
},
|
||||
label: function() {
|
||||
return this.name || "Ts3 Config";
|
||||
return this.name || "TS3 Config";
|
||||
}
|
||||
});
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<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>
|
||||
<label for="node-input-configid"><i class="fa fa-server"></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>
|
||||
<label for="node-input-configid"><i class="fa fa-terminal"></i> Function</label>
|
||||
<select class="form-select" id="node-input-selection">
|
||||
<option value="version" selected>version</option>
|
||||
<option value="apiKeyList">apiKeyList</option>
|
||||
@@ -76,4 +76,8 @@
|
||||
<option value="downloadIcon">downloadIcon</option>
|
||||
<option value="getIconId">getIconId</option>
|
||||
</select>
|
||||
<div class="form-row">
|
||||
You can find documentation for all functions
|
||||
<a target="_blank" href="https://multivit4min.github.io/TS3-NodeJS-Library/classes/teamspeak.teamspeak-2.html"> here</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -7,12 +7,13 @@ RED.nodes.registerType<Ts3GetEditorNodeProperties>('ts3-get',{
|
||||
category: 'function',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
configid: { type:"ts3-config", value: "" },
|
||||
selection: { value:"" }
|
||||
selection: { value:"version" }
|
||||
},
|
||||
inputs: 1,
|
||||
outputs: 1,
|
||||
label: function() {
|
||||
return this.name || "Ts3 Get";
|
||||
return this.name || "TS3 Get";
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user