web: add spellcheck hint to some more fields

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2023-01-16 19:45:12 +01:00
parent bbebd9b163
commit 396d67bb2c
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
2 changed files with 6 additions and 6 deletions

View file

@ -795,10 +795,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
$(".form_field_http_headers_outer").append(`
<div class="row form_field_http_headers_outer_row">
<div class="form-group col-md-5">
<input type="text" class="form-control" id="idHTTPHeaderKey${index}" name="http_header_key${index}" placeholder="Enter key" value="">
<input type="text" class="form-control" id="idHTTPHeaderKey${index}" name="http_header_key${index}" placeholder="Enter key" spellcheck="false" value="">
</div>
<div class="form-group col-md-5">
<input type="text" class="form-control" id="idHTTPHeaderVal${index}" name="http_header_val${index}" placeholder="Enter value" value="">
<input type="text" class="form-control" id="idHTTPHeaderVal${index}" name="http_header_val${index}" placeholder="Enter value" spellcheck="false" value="">
</div>
<div class="form-group col-md-1"></div>
<div class="form-group col-md-1">
@ -822,10 +822,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
$(".form_field_http_query_outer").append(`
<div class="row form_field_http_query_outer_row">
<div class="form-group col-md-5">
<input type="text" class="form-control" id="idHTTPQueryKey${index}" name="http_query_key${index}" placeholder="Enter key" value="">
<input type="text" class="form-control" id="idHTTPQueryKey${index}" name="http_query_key${index}" placeholder="Enter key" spellcheck="false" value="">
</div>
<div class="form-group col-md-5">
<input type="text" class="form-control" id="idHTTPQueryVal${index}" name="http_query_val${index}" placeholder="Enter value" value="">
<input type="text" class="form-control" id="idHTTPQueryVal${index}" name="http_query_val${index}" placeholder="Enter value" spellcheck="false" value="">
</div>
<div class="form-group col-md-1"></div>
<div class="form-group col-md-1">

View file

@ -299,7 +299,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<label for="idAzAccountName" class="col-sm-2 col-form-label">Account Name</label>
<div class="col-sm-3">
<input type="text" class="form-control" id="idAzAccountName" name="az_account_name" placeholder=""
value="{{.AzBlobConfig.AccountName}}" maxlength="255">
spellcheck="false" value="{{.AzBlobConfig.AccountName}}" maxlength="255">
</div>
</div>
@ -455,7 +455,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<div class="form-group row fsconfig fsconfig-sftpfs">
<label for="idSFTPPrivateKey" class="col-sm-2 col-form-label">Private key</label>
<div class="col-sm-10">
<textarea class="form-control" id="idSFTPPrivateKey" name="sftp_private_key"
<textarea class="form-control" id="idSFTPPrivateKey" name="sftp_private_key" spellcheck="false"
rows="3">{{if .SFTPConfig.PrivateKey.IsEncrypted}}{{.RedactedSecret}}{{else}}{{.SFTPConfig.PrivateKey.GetPayload}}{{end}}</textarea>
</div>
</div>