mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
e3f72a697e
commit
b3fa866385
@ -123,7 +123,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
var deleteButton = $('<a/>',{href:"#",class:"btn btn-mini", style:"margin-left: 5px;"}).appendTo(finalspan);
|
var deleteButton = $('<a/>',{href:"#",class:"btn btn-mini", style:"margin-left: 5px;"}).appendTo(finalspan);
|
||||||
$('<i/>',{class:"icon-remove"}).appendTo(deleteButton);
|
$('<i/>',{class:"fa fa-remove"}).appendTo(deleteButton);
|
||||||
|
|
||||||
deleteButton.click(function() {
|
deleteButton.click(function() {
|
||||||
container.css({"background":"#fee"});
|
container.css({"background":"#fee"});
|
||||||
|
@ -74,11 +74,9 @@ RED.touch.radialMenu = (function() {
|
|||||||
"text-align": "center",
|
"text-align": "center",
|
||||||
"line-height":"50px"
|
"line-height":"50px"
|
||||||
});
|
});
|
||||||
if (opt.icon) {
|
|
||||||
opt.el.append("i").attr("class","icon "+opt.icon)
|
opt.el.html(opt.name);
|
||||||
} else {
|
|
||||||
opt.el.html(opt.name);
|
|
||||||
}
|
|
||||||
if (opt.disabled) {
|
if (opt.disabled) {
|
||||||
opt.el.style({"border-color":"#ccc",color:"#ccc"});
|
opt.el.style({"border-color":"#ccc",color:"#ccc"});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user