From ce813238a40734a4d88f8ec2bb5c27a8c8e48c03 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 12 Oct 2023 22:36:01 +0200 Subject: [PATCH] Cosmetics --- nodes/http-auth-multiple.html | 2 +- nodes/http-auth.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes/http-auth-multiple.html b/nodes/http-auth-multiple.html index f890a7c..82fc7e2 100644 --- a/nodes/http-auth-multiple.html +++ b/nodes/http-auth-multiple.html @@ -23,7 +23,7 @@ { class: 'node-input-auth-user', type: 'text', style: 'width: 30%;', placeholder: 'user' }).appendTo(row); const propertyPassword = $('', - { class: 'node-input-auth-password', type: 'text', style: 'margin-left: 3%; width: 30%;', placeholder: 'password' }).appendTo(row); + { class: 'node-input-auth-password', type: 'text', style: 'margin-left: 3%; width: 66%;', placeholder: 'password' }).appendTo(row); propertyUser.val(auth.user); propertyPassword.val(auth.password); diff --git a/nodes/http-auth.html b/nodes/http-auth.html index 80c07f1..1cb2bdd 100644 --- a/nodes/http-auth.html +++ b/nodes/http-auth.html @@ -8,13 +8,13 @@ name: { value: '' }, file: { value: '', type: 'http-basic-auth-file', required: false }, multiple: { value: '', type: 'http-basic-auth-multiple', required: false }, - realm: { value: '' }, + realm: { value: '', required: true }, username: { value: '' }, password: { value: '' }, }, color: '#E7E7AE', icon: 'white-globe.png', - label: function () { return this.name.trim() || 'http basic auth'; }, + label: function () { return this.name.trim() || 'http basic auth: ' + this.realm; }, labelStyle: function () { return this.name.trim() ? 'node_label_italic' : ''; }, paletteLabel: 'http basic auth', });