config.js: Cosmetics - Arrange options into like groupings.

This commit is contained in:
Ian 2014-05-24 15:32:37 +01:00
parent 6b5cb087bc
commit 92bda9c357

View file

@ -57,6 +57,15 @@ tvheadend.miscconf = function() {
width: 400
});
var dvbscanWrap = new Ext.form.FieldSet({
title: 'DVB Scan Files',
width: 700,
autoHeight: true,
collapsible: true,
animCollapse: true,
items : [ dvbscanPath ]
});
/*
* Language
*/
@ -76,6 +85,15 @@ tvheadend.miscconf = function() {
fromLegend: 'Available'
});
var languageWrap = new Ext.form.FieldSet({
title: 'Language Settings',
width: 700,
autoHeight: true,
collapsible: true,
animCollapse: true,
items : [ language ]
});
/*
* Time/Date
*/
@ -99,6 +117,7 @@ tvheadend.miscconf = function() {
width: 700,
autoHeight: true,
collapsible: true,
animCollapse: true,
items : [ tvhtimeUpdateEnabled, tvhtimeNtpEnabled, tvhtimeTolerance ]
});
@ -138,6 +157,7 @@ tvheadend.miscconf = function() {
width: 700,
autoHeight: true,
collapsible: true,
animCollapse: true,
items : [ imagecacheEnabled, imagecacheOkPeriod, imagecacheFailPeriod,
imagecacheIgnoreSSLCert ]
});
@ -151,6 +171,7 @@ tvheadend.miscconf = function() {
layout : 'form',
defaultType : 'textfield',
autoHeight : true,
animCollapse: true,
items : [ imagecachePanel ]
});
} else {
@ -170,6 +191,7 @@ tvheadend.miscconf = function() {
width: 700,
autoHeight: true,
collapsible: true,
animCollapse: true,
items : [ transcodingEnabled ]
});
if (tvheadend.capabilities.indexOf('transcoding') == -1)
@ -203,7 +225,7 @@ tvheadend.miscconf = function() {
layout : 'form',
defaultType : 'textfield',
autoHeight : true,
items : [ language, dvbscanPath,
items : [ languageWrap, dvbscanWrap,
tvhtimePanel,
transcodingPanel]
});