summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-wireguard
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-11-21 23:40:21 +0100
committerJo-Philipp Wich <jo@mein.io>2021-11-21 23:40:21 +0100
commitf58ae7635c6b3ab14239e200d7ebe37c481da076 (patch)
tree7471d086a544bd607d1846d253e8655a3b8cee20 /protocols/luci-proto-wireguard
parent4720a025e8ab5a28541f7d066fb9b2f35ddb2cb1 (diff)
luci-proto-wireguard: fix QR code generation markup
The custom code generation markup lacked a required CSS class. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-wireguard')
-rw-r--r--protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
index e361b2f5ea..ef4712dc6e 100644
--- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
+++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
@@ -191,6 +191,7 @@ return network.registerProtocol('wireguard', {
return E('div', { 'class': 'cbi-value' }, [
E('label', { 'class': 'cbi-value-title' }, _('QR-Code')),
E('div', {
+ 'class': 'cbi-value-field',
'style': 'display: flex; flex-direction: column; align-items: baseline;',
'id': 'qr-' + section_id
}, [