From 7735bc1fdd2a98dbce15d52c1b1546d442cfcd40 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sat, 5 Aug 2023 19:00:34 +0300 Subject: [PATCH] luci-mod-network: Adjust DNS/DHCP tab order Adjust the order of tabs in the DNS/DHCP page. Based on estimated importance of tabs * move common (old) tabs to be earlier * move the less frequently used (new) tabs later Signed-off-by: Hannu Nyman --- .../htdocs/luci-static/resources/view/network/dhcp.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index e1333d7954..82d7ae42e4 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -254,16 +254,16 @@ return view.extend({ s.addremove = false; s.tab('general', _('General Settings')); - s.tab('relay', _('Relay')); - s.tab('files', _('Resolv and Hosts Files')); - s.tab('pxe_tftp', _('PXE/TFTP Settings')); s.tab('advanced', _('Advanced Settings')); s.tab('leases', _('Static Leases')); + s.tab('files', _('Resolv and Hosts Files')); s.tab('hosts', _('Hostnames')); + s.tab('ipsets', _('IP Sets')); + s.tab('relay', _('Relay')); s.tab('srvhosts', _('SRV')); s.tab('mxhosts', _('MX')); s.tab('cnamehosts', _('CNAME')); - s.tab('ipsets', _('IP Sets')); + s.tab('pxe_tftp', _('PXE/TFTP Settings')); s.taboption('general', form.Flag, 'domainneeded', _('Domain required'), -- 2.30.2