diff --git a/webui/extjs.c b/webui/extjs.c index 77a9abe9..e0f56369 100644 --- a/webui/extjs.c +++ b/webui/extjs.c @@ -86,10 +86,10 @@ extjs_root(http_connection_t *hc, const char *remain, void *opaque) #define EXTJSPATH "static/extjs" htsbuf_qprintf(hq, "\n" - "\n" - "\n" "\n" - "\n"); + "\n" + "\n" + "\n"); extjs_exec(hq, "Ext.BLANK_IMAGE_URL = " "'"EXTJSPATH"/resources/images/default/s.gif';"); diff --git a/webui/static/app/chconf.js b/webui/static/app/chconf.js index 5e2d33fd..b9c915d0 100644 --- a/webui/static/app/chconf.js +++ b/webui/static/app/chconf.js @@ -17,7 +17,7 @@ tvheadend.channels = new Ext.data.JsonStore({ autoLoad: true, root:'entries', fields: [{name: 'name'}, {name: 'chid'}], - url: "chlist", + url: "chlist" }); /** @@ -48,27 +48,27 @@ tvheadend.channeldetails = function(chid, chname) { width: 125, id:'name', header: "Original name", - dataIndex: 'name', + dataIndex: 'name' },{ width: 125, id:'status', header: "Last status", - dataIndex: 'status', + dataIndex: 'status' },{ width: 125, id:'provider', header: "Provider", - dataIndex: 'provider', + dataIndex: 'provider' },{ width: 125, id:'network', header: "Network", - dataIndex: 'network', + dataIndex: 'network' },{ width: 250, id:'source', header: "Source", - dataIndex: 'source', + dataIndex: 'source' } ]); @@ -111,7 +111,7 @@ tvheadend.channeldetails = function(chid, chname) { var confreader = new Ext.data.JsonReader({ - root: 'channels', + root: 'channels' }, ['name','xmltvchannel','tags']); @@ -144,7 +144,7 @@ tvheadend.channeldetails = function(chid, chname) { items: [ { fieldLabel: 'Channel name', - name: 'name', + name: 'name' },new Ext.form.ComboBox({ loadingText: 'Loading...', fieldLabel: 'XML-TV Source', @@ -172,7 +172,7 @@ tvheadend.channeldetails = function(chid, chname) { displayField:"name", width:200, height:200, - store:tvheadend.channelTags, + store:tvheadend.channelTags }] }] }] @@ -232,7 +232,7 @@ tvheadend.channeldetails = function(chid, chname) { } }], defaults: { - border:false, + border:false }, layout:'anchor', items: [confpanel,transportsgrid] @@ -295,7 +295,7 @@ tvheadend.chconf = function() { dataIndex: 'name'} ], selModel: new Ext.grid.RowSelectionModel({singleSelect:true}), - store: tvheadend.channels, + store: tvheadend.channels }); var details = new Ext.Panel({ @@ -359,4 +359,4 @@ tvheadend.chconf = function() { }); */ return panel; -} \ No newline at end of file +} diff --git a/webui/static/app/dvb.js b/webui/static/app/dvb.js index 577abbea..8af7bc51 100644 --- a/webui/static/app/dvb.js +++ b/webui/static/app/dvb.js @@ -6,7 +6,7 @@ tvheadend.dvb_adapterdetails = function(adapterId, adapterName, treenode) { var confreader = new Ext.data.JsonReader({ - root: 'dvbadapters', + root: 'dvbadapters' }, ['name', 'automux']); @@ -31,11 +31,11 @@ tvheadend.dvb_adapterdetails = function(adapterId, adapterName, treenode) { rootVisible:false, loader: new Ext.tree.TreeLoader({ baseParams: {adapter: adapterId}, - dataUrl:'/dvbnetworks', + dataUrl:'/dvbnetworks' }), root: new Ext.tree.AsyncTreeNode({ - id:'root', + id:'root' }), buttons: [locationbutton], @@ -119,12 +119,12 @@ tvheadend.dvb_adapterdetails = function(adapterId, adapterName, treenode) { items: [{ fieldLabel: 'Adapter name', name: 'name', - width: 400, + width: 400 }, new Ext.form.Checkbox({ fieldLabel: 'Autodetect muxes', - name: 'automux', + name: 'automux' }) ], tbar:[{ @@ -195,8 +195,8 @@ tvheadend.dvb = function() { }), root: new Ext.tree.AsyncTreeNode({ - id:'root', - }), + id:'root' + }) }); diff --git a/webui/static/app/dvr.js b/webui/static/app/dvr.js index dde1677a..8ba03914 100644 --- a/webui/static/app/dvr.js +++ b/webui/static/app/dvr.js @@ -30,7 +30,7 @@ tvheadend.dvrDetails = function(entry) { height: 300, constrainHeader: true, buttonAlign: 'center', - html: content, + html: content }); switch(entry.schedstate) { @@ -102,20 +102,20 @@ tvheadend.dvrlog = function() { width: 250, id:'title', header: "Title", - dataIndex: 'title', + dataIndex: 'title' },{ width: 100, id:'start', header: "Start", dataIndex: 'start', - renderer: renderDate, + renderer: renderDate },{ width: 100, hidden:true, id:'end', header: "End", dataIndex: 'end', - renderer: renderDate, + renderer: renderDate },{ width: 100, id:'duration', @@ -126,18 +126,18 @@ tvheadend.dvrlog = function() { width: 250, id:'channel', header: "Channel", - dataIndex: 'channel', + dataIndex: 'channel' },{ width: 200, id:'creator', header: "Created by", hidden:true, - dataIndex: 'creator', + dataIndex: 'creator' },{ width: 200, id:'status', header: "Status", - dataIndex: 'status', + dataIndex: 'status' } ]); @@ -276,12 +276,12 @@ tvheadend.dvr = function() { {name: 'creator'}, {name: 'duration'}, {name: 'filesize'}, - {name: 'url'}, + {name: 'url'} ], url: 'dvrlist', autoLoad: true, id: 'id', - remoteSort: true, + remoteSort: true }); @@ -318,7 +318,7 @@ tvheadend.dvr = function() { tvheadend.dvrsettings = function() { var confreader = new Ext.data.JsonReader({ - root: 'dvrSettings', + root: 'dvrSettings' }, ['storage','postproc','retention','dayDirs', 'channelDirs','channelInTitle', 'dateInTitle','timeInTitle']); @@ -375,7 +375,7 @@ tvheadend.dvrsettings = function() { new tvheadend.help('DVR configuration', 'config_dvr.html'); } - }], + }] }); diff --git a/webui/static/app/epg.js b/webui/static/app/epg.js index 3b55cb94..954db0ca 100644 --- a/webui/static/app/epg.js +++ b/webui/static/app/epg.js @@ -2,7 +2,7 @@ tvheadend.ContentGroupStore = new Ext.data.JsonStore({ root:'entries', fields: [{name: 'name'}], autoLoad: true, - url:'ecglist', + url:'ecglist' }); @@ -33,7 +33,7 @@ tvheadend.epgDetails = function(event) { }) ], buttonAlign: 'center', - html: content, + html: content }); win.show(); @@ -82,7 +82,7 @@ tvheadend.epg = function() { url: 'epg', autoLoad: true, id: 'id', - remoteSort: true, + remoteSort: true }); function renderDate(value){ @@ -111,20 +111,20 @@ tvheadend.epg = function() { width: 250, id:'title', header: "Title", - dataIndex: 'title', + dataIndex: 'title' },{ width: 100, id:'start', header: "Start", dataIndex: 'start', - renderer: renderDate, + renderer: renderDate },{ width: 100, hidden:true, id:'end', header: "End", dataIndex: 'end', - renderer: renderDate, + renderer: renderDate },{ width: 100, id:'duration', @@ -135,12 +135,12 @@ tvheadend.epg = function() { width: 250, id:'channel', header: "Channel", - dataIndex: 'channel', + dataIndex: 'channel' },{ width: 250, id:'contentgrp', header: "Content Type", - dataIndex: 'contentgrp', + dataIndex: 'contentgrp' } ]); diff --git a/webui/static/app/xmltv.js b/webui/static/app/xmltv.js index 9c0a50c9..da928cca 100644 --- a/webui/static/app/xmltv.js +++ b/webui/static/app/xmltv.js @@ -2,7 +2,7 @@ tvheadend.grabberStore = new Ext.data.JsonStore({ root:'entries', fields: ['identifier','name','version','apiconfig'], url:'xmltv', - baseParams: {op: 'listGrabbers'}, + baseParams: {op: 'listGrabbers'} }); /* @@ -78,7 +78,7 @@ tvheadend.xmltvsetup = function() { tvheadend.xmltv = function() { var confreader = new Ext.data.JsonReader({ - root: 'xmltvSettings', + root: 'xmltvSettings' }, ['grabber','grabinterval','grabenable']); var grabberSelect = new Ext.form.ComboBox({ @@ -131,7 +131,7 @@ tvheadend.xmltv = function() { new tvheadend.help('XMLTV configuration', 'config_xmltv.html'); } - }], + }] });