diff --git a/Makefile b/Makefile index a3e5cf8..549f26f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SPK_NAME = rr-manager SPK_VERS = 2.0 -SPK_REV = 63 +SPK_REV = 64 SPK_ICON = src/rr-manager.png DSM_UI_DIR = ui diff --git a/src/src/panels/healthPanel.js b/src/src/panels/healthPanel.js index 1a347d5..b790c1a 100644 --- a/src/src/panels/healthPanel.js +++ b/src/src/panels/healthPanel.js @@ -12,7 +12,9 @@ export default }, onDataReady: function () { let status = "normal"; - this.iconTemplate.overwrite(this.getComponent("icon").getEl(), { status: status }), + this.iconTemplate.overwrite(this.getComponent("icon").getEl(), { status: status, + style:"background-image:url('webapi/entry.cgi?api=SYNO.Core.Synohdpack&version=1&method=getHDIcon&res=72&retina=false&path=webman/3rdparty/rr-manager/images/rr-manager-{0}.png&app_version=0.1')" + }), this.titleTemplate.overwrite(this.upperPanel.getComponent("title").getEl(), { status: status, }), @@ -56,7 +58,7 @@ export default return Ext.apply(panelConfig, e), panelConfig; }, createIconTpl: function () { - return new Ext.XTemplate('
', { + return new Ext.XTemplate('', { compiled: !0, disableFormats: !0, });