B #3450: Fix highlighting states for images (#4141)

(cherry picked from commit 7493c9b25a)
This commit is contained in:
Sergio Betanzos authored and Tino Vazquez committed 2020-01-30 19:06:46 +01:00
1 parent 8962ed144f
commit 252e4006d7
1 file changed
+9 -6
+9 -6
View File
@@ -17,14 +17,17 @@
define(function(require) {
var resource_states = {
IMAGES:{
CLONE:"#4DBBD3",
INIT:"#4DBBD3",
CLONE:"#8A8A8A",
INIT:"#8A8A8A",
READY:"#3adb76",
USED:"#3adb76",
ERROR:"#ec5840",
DELETE:"#ec5840",
LOCKED:"lightsalmon",
DISABLED:"lightsalmon"
DELETE:"#8A8A8A",
LOCKED:"#8A8A8A",
DISABLED:"#8A8A8A",
USED_PERS: "#3adb76",
LOCKED_USED: "#8A8A8A",
LOCKED_USED_PERS: "#8A8A8A",
},
HOST:{
INIT:"#4DBBD3",
@@ -103,7 +106,7 @@ define(function(require) {
if (lock){
show_lock = "border-left: 3px solid #373537;";
}
return '<span style="'+show_lock+' float:left; margin-right: 3px; width: 5px; height: 20px; background: '+color+';"></span>'
}
})