mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove unwanted icons
This commit is contained in:
parent
db5589f2aa
commit
04d7106956
@ -957,10 +957,6 @@ RED.editor = (function() {
|
|||||||
var categoryRow = $("<div/>", {
|
var categoryRow = $("<div/>", {
|
||||||
class: "form-row"
|
class: "form-row"
|
||||||
}).appendTo(dialogForm);
|
}).appendTo(dialogForm);
|
||||||
$("<i/>", {
|
|
||||||
class: "fa fa-folder-o"
|
|
||||||
}).appendTo(categoryRow);
|
|
||||||
$("<span/>").text(" ").appendTo(categoryRow);
|
|
||||||
$("<label/>", {
|
$("<label/>", {
|
||||||
for: "subflow-appearance-input-category",
|
for: "subflow-appearance-input-category",
|
||||||
"data-i18n": "editor:subflow.category"
|
"data-i18n": "editor:subflow.category"
|
||||||
@ -1014,7 +1010,6 @@ RED.editor = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('<div class="form-row">'+
|
$('<div class="form-row">'+
|
||||||
'<i class="fa fa-tag"> '+
|
|
||||||
'<label for="node-input-show-label-btn" data-i18n="editor.label"></label>'+
|
'<label for="node-input-show-label-btn" data-i18n="editor.label"></label>'+
|
||||||
'<span style="margin-right: 2px;"/>'+
|
'<span style="margin-right: 2px;"/>'+
|
||||||
'<input type="checkbox" id="node-input-show-label"/>'+
|
'<input type="checkbox" id="node-input-show-label"/>'+
|
||||||
@ -1034,11 +1029,6 @@ RED.editor = (function() {
|
|||||||
// If a node has icon property in defaults, the icon of the node cannot be modified. (e.g, ui_button node in dashboard)
|
// If a node has icon property in defaults, the icon of the node cannot be modified. (e.g, ui_button node in dashboard)
|
||||||
if ((!node._def.defaults || !node._def.defaults.hasOwnProperty("icon"))) {
|
if ((!node._def.defaults || !node._def.defaults.hasOwnProperty("icon"))) {
|
||||||
var iconRow = $('<div class="form-row"></div>').appendTo(dialogForm);
|
var iconRow = $('<div class="form-row"></div>').appendTo(dialogForm);
|
||||||
$("<i/>", {
|
|
||||||
class: "fa fa-picture-o"
|
|
||||||
}).appendTo(iconRow);
|
|
||||||
$("<span/>").text(" ").appendTo(iconRow);
|
|
||||||
|
|
||||||
$('<label data-i18n="editor.settingIcon">').appendTo(iconRow);
|
$('<label data-i18n="editor.settingIcon">').appendTo(iconRow);
|
||||||
|
|
||||||
var iconButton = $('<button type="button" class="red-ui-button" id="red-ui-editor-node-icon-button">').appendTo(iconRow);
|
var iconButton = $('<button type="button" class="red-ui-button" id="red-ui-editor-node-icon-button">').appendTo(iconRow);
|
||||||
@ -1068,7 +1058,7 @@ RED.editor = (function() {
|
|||||||
$('<div id="red-ui-editor-node-icon">').text(node.icon).appendTo(iconButton);
|
$('<div id="red-ui-editor-node-icon">').text(node.icon).appendTo(iconButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
$('<div class="form-row"><i class="fa fa-external-link"/> <span data-i18n="editor.portLabels"></span></div>').appendTo(dialogForm);
|
$('<div class="form-row"><span data-i18n="editor.portLabels"></span></div>').appendTo(dialogForm);
|
||||||
|
|
||||||
var inputCount = node.inputs || node._def.inputs || 0;
|
var inputCount = node.inputs || node._def.inputs || 0;
|
||||||
var outputCount = node.outputs || node._def.outputs || 0;
|
var outputCount = node.outputs || node._def.outputs || 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user