luci-app-nikki: sync upstream

last commit: 7c06175f46
This commit is contained in:
gitea-action 2025-03-15 14:00:26 +08:00
parent 4a80040859
commit 6bd93f7518
2 changed files with 6 additions and 5 deletions

View File

@ -112,7 +112,8 @@ return view.extend({
o = s.taboption('external_control', form.Value, 'ui_url', _('UI Url')); o = s.taboption('external_control', form.Value, 'ui_url', _('UI Url'));
o.placeholder = _('Unmodified'); o.placeholder = _('Unmodified');
o.value('https://github.com/Zephyruso/zashboard/archive/refs/heads/gh-pages.zip', 'Zashboard'); o.value('https://github.com/Zephyruso/zashboard/releases/latest/download/dist-cdn-fonts.zip', 'Zashboard (CDN Fonts)');
o.value('https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip', 'Zashboard');
o.value('https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip', 'MetaCubeXD'); o.value('https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip', 'MetaCubeXD');
o.value('https://github.com/MetaCubeX/Yacd-meta/archive/refs/heads/gh-pages.zip', 'YACD'); o.value('https://github.com/MetaCubeX/Yacd-meta/archive/refs/heads/gh-pages.zip', 'YACD');
o.value('https://github.com/MetaCubeX/Razord-meta/archive/refs/heads/gh-pages.zip', 'Razord'); o.value('https://github.com/MetaCubeX/Razord-meta/archive/refs/heads/gh-pages.zip', 'Razord');
@ -124,7 +125,7 @@ return view.extend({
o = s.taboption('external_control', form.Value, 'api_secret', _('API Secret')); o = s.taboption('external_control', form.Value, 'api_secret', _('API Secret'));
o.password = true; o.password = true;
o.placeholder = _('Unmodified'); o.rmempty = false;
o = s.taboption('external_control', form.ListValue, 'selection_cache', _('Save Proxy Selection')); o = s.taboption('external_control', form.ListValue, 'selection_cache', _('Save Proxy Selection'));
o.optional = true; o.optional = true;

View File

@ -130,21 +130,21 @@ return view.extend({
s.tab('bypass', _('Bypass')); s.tab('bypass', _('Bypass'));
o = s.taboption('bypass', form.MultiValue, 'bypass_user', _('Bypass User')); o = s.taboption('bypass', form.DynamicList, 'bypass_user', _('Bypass User'));
o.create = true; o.create = true;
for (const user of users) { for (const user of users) {
o.value(user); o.value(user);
}; };
o = s.taboption('bypass', form.MultiValue, 'bypass_group', _('Bypass Group')); o = s.taboption('bypass', form.DynamicList, 'bypass_group', _('Bypass Group'));
o.create = true; o.create = true;
for (const group of groups) { for (const group of groups) {
o.value(group); o.value(group);
}; };
o = s.taboption('bypass', form.MultiValue, 'bypass_cgroup', _('Bypass cgroup')); o = s.taboption('bypass', form.DynamicList, 'bypass_cgroup', _('Bypass cgroup'));
o.create = true; o.create = true;
for (const cgroup of cgroups) { for (const cgroup of cgroups) {