X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=www%2Fmanager6%2FUtils.js;h=a159445bc7e8bc384b3cc955449285fb38bc2d8f;hb=2f5b82ae950bf343d3ef73f92efc7baacd562913;hp=87457078400af1201e962ee65f06534ace775627;hpb=aa240b298d3c426565297d28f07b54d671121e74;p=pve-manager.git diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index 87457078..a159445b 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -102,6 +102,15 @@ Ext.define('PVE.Utils', { utilities: { return icon; }, + get_ceph_icon_html: function(health, fw) { + var state = PVE.Utils.map_ceph_health[health]; + var cls = PVE.Utils.get_health_icon(state); + if (fw) { + cls += ' fa-fw'; + } + return " "; + }, + map_ceph_health: { 'HEALTH_OK':'good', 'HEALTH_OLD':'old',