mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
add an ok icon and use it for the connection restored status
This commit is contained in:
parent
556c8b831a
commit
b13adbafbf
@ -379,6 +379,10 @@ dl.singleline dd {
|
|||||||
background-image: url('../icons/home.png') !important;
|
background-image: url('../icons/home.png') !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-ok {
|
||||||
|
background-image: url('../icons/ok.png') !important;
|
||||||
|
}
|
||||||
|
|
||||||
.icon-error {
|
.icon-error {
|
||||||
background-image: url('../icons/error.png') !important;
|
background-image: url('../icons/error.png') !important;
|
||||||
}
|
}
|
||||||
|
BIN
deluge/ui/web/icons/ok.png
Normal file
BIN
deluge/ui/web/icons/ok.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 905 B |
@ -142,7 +142,10 @@ deluge.ui = {
|
|||||||
icon: Ext.MessageBox.ERROR
|
icon: Ext.MessageBox.ERROR
|
||||||
});
|
});
|
||||||
deluge.events.fire('disconnect');
|
deluge.events.fire('disconnect');
|
||||||
deluge.statusbar.setStatus('Lost connection to webserver');
|
deluge.statusbar.setStatus({
|
||||||
|
iconCls: 'icon-ok',
|
||||||
|
text: 'Lost connection to webserver'}
|
||||||
|
);
|
||||||
this.checking = setInterval(this.checkConnection, 2000);
|
this.checking = setInterval(this.checkConnection, 2000);
|
||||||
}
|
}
|
||||||
this.errorCount++;
|
this.errorCount++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user