From: Andreas Ă–man Date: Tue, 23 Sep 2008 19:05:07 +0000 (+0000) Subject: Split the 'DVR' tab into multiple panels X-Git-Tag: 2.12~842 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba2dd0a704cdfe79246f2cc1e2aea79278b2c0f3;p=thirdparty%2Ftvheadend.git Split the 'DVR' tab into multiple panels --- diff --git a/webui/static/app/dvr.js b/webui/static/app/dvr.js index b6ab060e7..286fb3c08 100644 --- a/webui/static/app/dvr.js +++ b/webui/static/app/dvr.js @@ -91,7 +91,7 @@ tvheadend.dvrDetails = function(entry) { /** * */ -tvheadend.dvr = function() { +tvheadend.dvrlog = function() { function renderDate(value){ var dt = new Date(value); @@ -163,7 +163,7 @@ tvheadend.dvr = function() { loadMask: true, stripeRows: true, disableSelection: true, - title: 'Digital Video Recorder', + title: 'Recorder log', store: tvheadend.dvrStore, cm: dvrCm, viewConfig: {forceFit:true}, @@ -183,7 +183,21 @@ tvheadend.dvr = function() { function rowclicked(grid, index) { new tvheadend.dvrDetails(grid.getStore().getAt(index).data); } + return panel; +} +/** + * + */ +tvheadend.dvr = function() { + + var panel = new Ext.TabPanel({ + activeTab:0, + autoScroll:true, + title: 'Digital Video Recorder', + items: [new tvheadend.dvrlog + ] + }); return panel; }