File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
SPK_NAME = rr-manager
2
2
SPK_VERS = 2.0
3
- SPK_REV = 63
3
+ SPK_REV = 64
4
4
SPK_ICON = src/rr-manager.png
5
5
6
6
DSM_UI_DIR = ui
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ export default
12
12
} ,
13
13
onDataReady : function ( ) {
14
14
let status = "normal" ;
15
- this . iconTemplate . overwrite ( this . getComponent ( "icon" ) . getEl ( ) , { status : status } ) ,
15
+ this . iconTemplate . overwrite ( this . getComponent ( "icon" ) . getEl ( ) , { status : status ,
16
+ 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')"
17
+ } ) ,
16
18
this . titleTemplate . overwrite ( this . upperPanel . getComponent ( "title" ) . getEl ( ) , {
17
19
status : status ,
18
20
} ) ,
@@ -56,7 +58,7 @@ export default
56
58
return Ext . apply ( panelConfig , e ) , panelConfig ;
57
59
} ,
58
60
createIconTpl : function ( ) {
59
- return new Ext . XTemplate ( '<div class="health-icon {status}"></div>' , {
61
+ return new Ext . XTemplate ( '<div class="health-icon {status}" style="{style}" ></div>' , {
60
62
compiled : ! 0 ,
61
63
disableFormats : ! 0 ,
62
64
} ) ;
You can’t perform that action at this time.
0 commit comments