Differentiate recordings by icon
This commit is contained in:
parent
cf159f8322
commit
663e1d618d
2 changed files with 9 additions and 5 deletions
|
@ -143,7 +143,7 @@ tvheadend.dvrDetails = function(entry) {
|
|||
/**
|
||||
*
|
||||
*/
|
||||
tvheadend.dvrschedule = function(title, dvrStore) {
|
||||
tvheadend.dvrschedule = function(title, iconCls, dvrStore) {
|
||||
|
||||
var actions = new Ext.ux.grid.RowActions({
|
||||
header : '',
|
||||
|
@ -359,7 +359,7 @@ tvheadend.dvrschedule = function(title, dvrStore) {
|
|||
stripeRows : true,
|
||||
disableSelection : true,
|
||||
title : title,
|
||||
iconCls : 'clock',
|
||||
iconCls : iconCls,
|
||||
store : dvrStore,
|
||||
cm : dvrCm,
|
||||
plugins : [ actions ],
|
||||
|
@ -685,9 +685,9 @@ tvheadend.dvr = function() {
|
|||
title : 'Digital Video Recorder',
|
||||
iconCls : 'drive',
|
||||
items : [
|
||||
new tvheadend.dvrschedule('Upcoming recordings', tvheadend.dvrStoreUpcoming),
|
||||
new tvheadend.dvrschedule('Finished recordings', tvheadend.dvrStoreFinished),
|
||||
new tvheadend.dvrschedule('Failed recordings', tvheadend.dvrStoreFailed),
|
||||
new tvheadend.dvrschedule('Upcoming recordings', 'clock', tvheadend.dvrStoreUpcoming),
|
||||
new tvheadend.dvrschedule('Finished recordings', 'television', tvheadend.dvrStoreFinished),
|
||||
new tvheadend.dvrschedule('Failed recordings', 'exclamation', tvheadend.dvrStoreFailed),
|
||||
new tvheadend.autoreceditor
|
||||
]
|
||||
});
|
||||
|
|
|
@ -224,6 +224,10 @@
|
|||
background-image: url(../icons/clock.png) !important;
|
||||
}
|
||||
|
||||
.exclamation {
|
||||
background-image: url(../icons/exclamation.png) !important;
|
||||
}
|
||||
|
||||
.wrench {
|
||||
background-image: url(../icons/wrench.png) !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue