1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

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

(cherry picked from commit 7493c9b25aa990715237e200499d1fe57da851b3)
This commit is contained in:
Sergio Betanzos 2020-01-30 19:06:19 +01:00 committed by Tino Vazquez
parent 8962ed144f
commit 252e4006d7
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

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>'
}
})