From: Paul Donald Date: Mon, 20 Nov 2023 16:41:56 +0000 (+0100) Subject: luci-mod-network: nitpick of CNAME, MX, SRV syntax formatting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F6711%2Fhead;p=project%2Fluci.git luci-mod-network: nitpick of CNAME, MX, SRV syntax formatting Signed-off-by: Paul Donald --- 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 04b57a277d..0a6ba5eee3 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 @@ -647,15 +647,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; @@ -687,12 +687,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; @@ -713,12 +713,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.'));