From: Hannu Nyman Date: Sat, 5 Aug 2023 16:00:34 +0000 (+0300) Subject: luci-mod-network: Adjust DNS/DHCP tab order X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7735bc1fdd2a98dbce15d52c1b1546d442cfcd40;p=openwrt-luci.git 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 --- 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'),