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/>", {
|
||||
class: "form-row"
|
||||
}).appendTo(dialogForm);
|
||||
$("<i/>", {
|
||||
class: "fa fa-folder-o"
|
||||
}).appendTo(categoryRow);
|
||||
$("<span/>").text(" ").appendTo(categoryRow);
|
||||
$("<label/>", {
|
||||
for: "subflow-appearance-input-category",
|
||||
"data-i18n": "editor:subflow.category"
|
||||
@ -1011,10 +1007,9 @@ RED.editor = (function() {
|
||||
});
|
||||
$("#red-ui-editor-subflow-user-count")
|
||||
.text(RED._("subflow.subflowInstances", {count:userCount})).show();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$('<div class="form-row">'+
|
||||
'<i class="fa fa-tag"> '+
|
||||
'<label for="node-input-show-label-btn" data-i18n="editor.label"></label>'+
|
||||
'<span style="margin-right: 2px;"/>'+
|
||||
'<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 ((!node._def.defaults || !node._def.defaults.hasOwnProperty("icon"))) {
|
||||
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);
|
||||
|
||||
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 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 outputCount = node.outputs || node._def.outputs || 0;
|
||||
@ -1166,7 +1156,7 @@ RED.editor = (function() {
|
||||
var defaultIcon;
|
||||
var nodeInfoEditor;
|
||||
var finishedBuilding = false;
|
||||
|
||||
|
||||
editStack.push(node);
|
||||
RED.view.state(RED.state.EDITING);
|
||||
var type = node.type;
|
||||
|
Loading…
Reference in New Issue
Block a user