1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

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

This commit is contained in:
Sergio Betanzos 2020-01-30 19:06:19 +01:00 committed by GitHub
parent 211617bfe3
commit 7493c9b25a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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