From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 2/4] ui: remote edit: Add asterisks
Date: Tue, 19 Jan 2021 12:09:13 +0100 [thread overview]
Message-ID: <20210119110915.18864-3-d.jaeger@proxmox.com> (raw)
In-Reply-To: <20210119110915.18864-1-d.jaeger@proxmox.com>
Mark fields that are required with an asterisk.
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
---
www/window/RemoteEdit.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/window/RemoteEdit.js b/www/window/RemoteEdit.js
index 74a9412b..391b10bc 100644
--- a/www/window/RemoteEdit.js
+++ b/www/window/RemoteEdit.js
@@ -35,6 +35,7 @@ Ext.define('PBS.window.RemoteEdit', {
fieldLabel: gettext('Remote'),
renderer: Ext.htmlEncode,
allowBlank: false,
+ afterLabelTextTpl: " *",
minLength: 4,
cbind: {
editable: '{isCreate}',
@@ -47,6 +48,7 @@ Ext.define('PBS.window.RemoteEdit', {
{
xtype: 'proxmoxtextfield',
allowBlank: false,
+ afterLabelTextTpl: " *",
name: 'hostport',
submitValue: false,
vtype: 'HostPort',
@@ -99,6 +101,7 @@ Ext.define('PBS.window.RemoteEdit', {
{
xtype: 'proxmoxtextfield',
allowBlank: false,
+ afterLabelTextTpl: " *",
name: 'auth-id',
fieldLabel: gettext('Auth ID'),
autoEl: {
--
2.20.1
next prev parent reply other threads:[~2021-01-19 11:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 11:09 [pbs-devel] [PATCH proxmox-backup 0/4] remote edit: error message ideas Dominic Jäger
2021-01-19 11:09 ` [pbs-devel] [PATCH proxmox-backup 1/4] ui: remote edit: Add tooltips Dominic Jäger
2021-01-19 11:09 ` Dominic Jäger [this message]
2021-01-19 11:09 ` [pbs-devel] [PATCH proxmox-backup 3/4] ui: remote edit: Error as symbol to the right Dominic Jäger
2021-01-19 11:09 ` [pbs-devel] [PATCH proxmox-backup 4/4] ui: remote edit: Change asterisk color Dominic Jäger
2021-01-26 10:34 ` [pbs-devel] [PATCH proxmox-backup 0/4] remote edit: error message ideas Dominik Csapak
2021-01-27 10:55 ` Dominic Jäger
2021-01-27 13:57 ` Dominik Csapak
2021-01-27 14:39 ` Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210119110915.18864-3-d.jaeger@proxmox.com \
--to=d.jaeger@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal