From e12f2b087aa0be2cd1783c2944f396e42e9afbaa Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 4 Dec 2023 05:16:40 +0100 Subject: [PATCH] Merge pull request #6711 from systemcrash/dns_nitpick luci-mod-network: nitpick of CNAME, MX, SRV syntax formatting (cherry picked from commit d179d789e5f0542fd17eb2fd591909754c200d86) --- .../luci-static/resources/view/network/dhcp.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 ade401adc5..3631efab70 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 @@ -663,15 +663,15 @@ return view.extend({ ss.sortable = true; ss.rowcolors = true; - so = ss.option(form.Value, 'srv', _('SRV'), _('Syntax: _service._proto.example.com.')); + so = ss.option(form.Value, 'srv', _('SRV'), _('Syntax: _service._proto.example.com.')); so.rmempty = false; so.datatype = 'hostname'; - so.placeholder = '_sip._tcp.example.com'; + so.placeholder = '_sip._tcp.example.com.'; so = ss.option(form.Value, 'target', _('Target'), _('CNAME or fqdn')); so.rmempty = false; so.datatype = 'hostname'; - so.placeholder = 'sip.example.com'; + so.placeholder = 'sip.example.com.'; so = ss.option(form.Value, 'port', _('Port')); so.rmempty = false; @@ -703,12 +703,12 @@ return view.extend({ so = ss.option(form.Value, 'domain', _('Domain')); so.rmempty = false; so.datatype = 'hostname'; - so.placeholder = 'example.com'; + so.placeholder = 'example.com.'; so = ss.option(form.Value, 'relay', _('Relay')); so.rmempty = false; so.datatype = 'hostname'; - so.placeholder = 'relay.example.com'; + so.placeholder = 'relay.example.com.'; so = ss.option(form.Value, 'pref', _('Priority'), _('Ordinal: lower comes first.')); so.rmempty = true; @@ -729,12 +729,12 @@ return view.extend({ so = ss.option(form.Value, 'cname', _('Domain')); so.rmempty = false; so.datatype = 'hostname'; - so.placeholder = 'www.example.com'; + so.placeholder = 'www.example.com.'; so = ss.option(form.Value, 'target', _('Target')); so.rmempty = false; so.datatype = 'hostname'; - so.placeholder = 'example.com'; + so.placeholder = 'example.com.'; o = s.taboption('hosts', form.SectionValue, '__hosts__', form.GridSection, 'domain', null, _('Hostnames are used to bind a domain name to an IP address. This setting is redundant for hostnames already configured with static leases, but it can be useful to rebind an FQDN.')); -- 2.30.2