From: Ian Date: Mon, 26 May 2014 14:35:35 +0000 (+0100) Subject: tvhlog.js: Option grouping for consistency with rest of interface; correction of... X-Git-Tag: v4.1~2046^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77cd7c4e59a68106a439478cd9066aaba477ab9;p=thirdparty%2Ftvheadend.git tvhlog.js: Option grouping for consistency with rest of interface; correction of option label capitalisation --- diff --git a/src/webui/static/app/tvhlog.js b/src/webui/static/app/tvhlog.js index d5c6e92cc..8062b7ac2 100644 --- a/src/webui/static/app/tvhlog.js +++ b/src/webui/static/app/tvhlog.js @@ -12,7 +12,7 @@ tvheadend.tvhlog = function() { * ***************************************************************/ var tvhlogLogPath = new Ext.form.TextField({ - fieldLabel: 'Debug Log Path', + fieldLabel: 'Debug log path', name: 'tvhlog_path', allowBlank: true, width: 400 @@ -29,14 +29,14 @@ tvheadend.tvhlog = function() { }); var tvhlogDebugSubsys = new Ext.form.TextField({ - fieldLabel: 'Debug Subsystems', + fieldLabel: 'Debug subsystems', name: 'tvhlog_debug', allowBlank: true, width: 400 }); var tvhlogTraceSubsys = new Ext.form.TextField({ - fieldLabel: 'Trace Subsystems', + fieldLabel: 'Trace subsystems', name: 'tvhlog_trace', allowBlank: true, width: 400 @@ -60,6 +60,16 @@ tvheadend.tvhlog = function() { } }); + var DebuggingPanel = new Ext.form.FieldSet({ + title: 'Debugging Options', + width: 700, + autoHeight: true, + collapsible: true, + animCollapse : true, + items: [tvhlogLogPath, tvhlogToSyslog, + tvhlogTraceOn, tvhlogDebugSubsys, tvhlogTraceSubsys] + }); + var confpanel = new Ext.form.FormPanel({ title: 'Debugging', iconCls: 'wrench', @@ -72,8 +82,7 @@ tvheadend.tvhlog = function() { layout: 'form', defaultType: 'textfield', autoHeight: true, - items: [tvhlogLogPath, tvhlogToSyslog, - tvhlogTraceOn, tvhlogDebugSubsys, tvhlogTraceSubsys], + items: [DebuggingPanel], tbar: [saveButton, '->', helpButton] });