]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
config.js: Cosmetics - Arrange options into like groupings.
authorIan <ian@sproink.co.uk>
Sat, 24 May 2014 14:32:37 +0000 (15:32 +0100)
committerIan <ian@sproink.co.uk>
Sat, 24 May 2014 14:32:37 +0000 (15:32 +0100)
src/webui/static/app/config.js

index d1d99403e7f719c29cb50e5c2d543bb8f2e94731..41dcbbf1397a999edab15a087a1053279c51f631 100644 (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]
        });