luci-app-travelmate: sync with travelmate 2.0.5-3

* adapt the travelmate UI to support the changed 'trm_maxscan' option

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit fd7494ffb1)
Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2021-08-22 09:14:54 +02:00
parent 422c1752a6
commit 8eb2c94e48
No known key found for this signature in database
GPG key ID: 9D71CD547BFAE684

View file

@ -362,9 +362,9 @@ return view.extend({
o.datatype = 'range(30,300)';
o.rmempty = true;
o = s.taboption('additional', form.Value, 'trm_scanbuffer', _('Scan Buffer Size'), _('Buffer size in bytes to prepare nearby scan results.'));
o.placeholder = '1024';
o.datatype = 'range(256,4096)';
o = s.taboption('additional', form.Value, 'trm_maxscan', _('Scan Limit'), _('Limit the nearby scan results to process only the strongest uplinks.'));
o.placeholder = '10';
o.datatype = 'range(1,30)';
o.rmempty = true;
o = s.taboption('additional', form.ListValue, 'trm_captiveurl', _('Captive Portal URL'), _('The selected URL will be used for connectivity- and captive portal checks.'));