Fixes for IE compliance.
Patch by Joakim Plate.
This commit is contained in:
parent
acdcacaa8f
commit
4a05b28a51
6 changed files with 44 additions and 44 deletions
|
@ -86,10 +86,10 @@ extjs_root(http_connection_t *hc, const char *remain, void *opaque)
|
|||
#define EXTJSPATH "static/extjs"
|
||||
|
||||
htsbuf_qprintf(hq, "<html><body>\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\""EXTJSPATH"/resources/css/ext-all.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"static/app/ext.css\">\n"
|
||||
"<script type=\"text/javascript\" src=\""EXTJSPATH"/adapter/ext/ext-base.js\"></script>\n"
|
||||
"<script type=\"text/javascript\" src=\""EXTJSPATH"/ext-all-debug.js\"></script>\n");
|
||||
"<script type=\"text/javascript\" src=\""EXTJSPATH"/ext-all-debug.js\"></script>\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\""EXTJSPATH"/resources/css/ext-all.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"static/app/ext.css\">\n");
|
||||
|
||||
extjs_exec(hq, "Ext.BLANK_IMAGE_URL = "
|
||||
"'"EXTJSPATH"/resources/images/default/s.gif';");
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}],
|
||||
}]
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
]);
|
||||
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}],
|
||||
}]
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue