Filters might not be everyone's aesthetics, so hide filters
by default and expose a global flag which can be set under
System -> System -> Language and Style. Only tables which
have .filterrow set to true will show filters.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
if (k[i].charAt(0) != '.')
o.value(uci.get('luci', 'themes', k[i]), k[i]);
+ o = s.taboption('language', form.Flag, '_tablefilters', _('Table Filters'));
+ o.default = o.disabled;
+ o.uciconfig = 'luci';
+ o.ucisection = 'main';
+ o.ucioption = 'tablefilters';
+
/*
* NTP
*/