A couple of UI fixes

This commit is contained in:
Pinga 2023-11-21 21:42:48 +02:00
parent 7fc56f3866
commit 24528e0dbc
6 changed files with 22 additions and 22 deletions

View file

@ -163,7 +163,7 @@
<!-- Email --> <!-- Email -->
<div class="mb-3"> <div class="mb-3">
<label for="email" class="form-label required">Email</label> <label for="email" class="form-label required">Email</label>
<input type="email" class="form-control" id="email" name="email" required="required"> <input type="email" class="form-control" id="email" name="email" required="required" autocapitalize="none">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseEmail" name="disclose_email"> <input class="form-check-input" type="checkbox" id="discloseEmail" name="disclose_email">
<span class="form-check-label" for="discloseEmail">Disclose in WHOIS</span> <span class="form-check-label" for="discloseEmail">Disclose in WHOIS</span>

View file

@ -57,7 +57,7 @@
<form action="/domain/check" method="POST"> <form action="/domain/check" method="POST">
{{ csrf.field | raw }} {{ csrf.field | raw }}
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="text" class="form-control" placeholder="yourdomain.com" name="domain_name" required="required"> <input type="text" class="form-control" placeholder="yourdomain.com" name="domain_name" required="required" autocapitalize="none">
<button type="submit" class="btn btn-primary">{{ __('Check Availability') }}</button> <button type="submit" class="btn btn-primary">{{ __('Check Availability') }}</button>
</div> </div>
</form> </form>

View file

@ -55,7 +55,7 @@
{{ csrf.field | raw }} {{ csrf.field | raw }}
<div class="mb-3"> <div class="mb-3">
<label for="domainName" class="form-label required">{{ __('Your Domain Name') }}</label> <label for="domainName" class="form-label required">{{ __('Your Domain Name') }}</label>
<input type="text" class="form-control mb-2" placeholder="example.com" name="domainName" id="domainName" required="required"> <input type="text" class="form-control mb-2" placeholder="example.com" name="domainName" id="domainName" required="required" autocapitalize="none">
</div> </div>
{% if registrars and not registrar %} {% if registrars and not registrar %}
@ -96,25 +96,25 @@
<div class="nameserver-group mb-1 row"> <div class="nameserver-group mb-1 row">
<div class="col-md-4"> <div class="col-md-4">
<input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 1" name="nameserver[]" required> <input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 1" name="nameserver[]" required autocapitalize="none">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 1 - IPv4" name="nameserver_ipv4[]"> <input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 1 - IPv4" name="nameserver_ipv4[]">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 1 - IPv6" name="nameserver_ipv6[]"> <input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 1 - IPv6" name="nameserver_ipv6[]" autocapitalize="none">
</div> </div>
</div> </div>
<div class="nameserver-group mb-1 row"> <div class="nameserver-group mb-1 row">
<div class="col-md-4"> <div class="col-md-4">
<input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 2" name="nameserver[]" required> <input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 2" name="nameserver[]" required autocapitalize="none">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 2 - IPv4" name="nameserver_ipv4[]"> <input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 2 - IPv4" name="nameserver_ipv4[]">
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 2 - IPv6" name="nameserver_ipv6[]"> <input type="text" class="form-control mb-1" placeholder="{{ __('Nameserver') }} 2 - IPv6" name="nameserver_ipv6[]" autocapitalize="none">
</div> </div>
</div> </div>
</div> </div>

View file

@ -55,7 +55,7 @@
{{ csrf.field | raw }} {{ csrf.field | raw }}
<div class="form-group"> <div class="form-group">
<label for="hostname" class="form-label required">{{ __('Host Name') }}:</label> <label for="hostname" class="form-label required">{{ __('Host Name') }}:</label>
<input type="text" class="form-control" id="hostname" name="hostname" placeholder="ns1.example.com" required> <input type="text" class="form-control" id="hostname" name="hostname" placeholder="ns1.example.com" required autocapitalize="none">
</div> </div>
{% if registrars and not registrar %} {% if registrars and not registrar %}
@ -77,7 +77,7 @@
<div class="form-group mt-3"> <div class="form-group mt-3">
<label for="ipv6" class="form-label">{{ __('IPv6 Address') }} ({{ __('Optional') }}):</label> <label for="ipv6" class="form-label">{{ __('IPv6 Address') }} ({{ __('Optional') }}):</label>
<input type="text" class="form-control" id="ipv6" name="ipv6" placeholder="2001:0db8:85a3:0000:0000:8a2e:0370:7334"> <input type="text" class="form-control" id="ipv6" name="ipv6" placeholder="2001:0db8:85a3:0000:0000:8a2e:0370:7334" autocapitalize="none">
<small class="form-text text-muted">{{ __('Please enter a valid IPv6 address.') }}</small> <small class="form-text text-muted">{{ __('Please enter a valid IPv6 address.') }}</small>
</div> </div>
</div> </div>

View file

@ -116,8 +116,8 @@
</div> </div>
<!-- Verification Code Input --> <!-- Verification Code Input -->
<div class="mb-3"> <div class="mb-3">
<label for="verificationCode" class="form-label">Verification Code</label> <label for="verificationCode" class="form-label required">Verification Code</label>
<input type="number" class="form-control" id="verificationCode" name="verificationCode" placeholder="Enter code"> <input type="number" class="form-control" id="verificationCode" name="verificationCode" placeholder="Enter code" required="required">
<small class="form-text text-muted"> <small class="form-text text-muted">
Enter the code generated by your authentication app. This code verifies that your 2FA setup is working correctly. Once entered, click 'Save 2FA Settings' to activate two-factor authentication for your account. Enter the code generated by your authentication app. This code verifies that your 2FA setup is working correctly. Once entered, click 'Save 2FA Settings' to activate two-factor authentication for your account.
</small> </small>

View file

@ -70,12 +70,12 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="email" class="form-label required">Email</label> <label for="email" class="form-label required">Email</label>
<input type="email" class="form-control" id="email" name="email" required> <input type="email" class="form-control" id="email" name="email" required autocapitalize="none">
<small class="text-muted">Primary contact email of the registrar.</small> <small class="text-muted">Primary contact email of the registrar.</small>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="url" class="form-label required">URL</label> <label for="url" class="form-label required">URL</label>
<input type="url" class="form-control" id="url" name="url" required> <input type="url" class="form-control" id="url" name="url" required autocapitalize="none">
<small class="text-muted">Registrar's official website URL.</small> <small class="text-muted">Registrar's official website URL.</small>
</div> </div>
</div> </div>
@ -84,17 +84,17 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="mb-3"> <div class="mb-3">
<label for="whoisServer" class="form-label required">WHOIS Server</label> <label for="whoisServer" class="form-label required">WHOIS Server</label>
<input type="text" class="form-control" id="whoisServer" name="whoisServer" required> <input type="text" class="form-control" id="whoisServer" name="whoisServer" required autocapitalize="none">
<small class="text-muted">Address of the registrar's WHOIS server.</small> <small class="text-muted">Address of the registrar's WHOIS server.</small>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="rdapServer" class="form-label required">RDAP Server</label> <label for="rdapServer" class="form-label required">RDAP Server</label>
<input type="text" class="form-control" id="rdapServer" name="rdapServer" required> <input type="text" class="form-control" id="rdapServer" name="rdapServer" required autocapitalize="none">
<small class="text-muted">Address of the registrar's RDAP server.</small> <small class="text-muted">Address of the registrar's RDAP server.</small>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="abuseEmail" class="form-label required">Abuse Email</label> <label for="abuseEmail" class="form-label required">Abuse Email</label>
<input type="email" class="form-control" id="abuseEmail" name="abuseEmail" required> <input type="email" class="form-control" id="abuseEmail" name="abuseEmail" required autocapitalize="none">
<small class="text-muted">Email address for reporting abuse.</small> <small class="text-muted">Email address for reporting abuse.</small>
</div> </div>
<div class="mb-3"> <div class="mb-3">
@ -222,7 +222,7 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="ownerEmail" class="form-label required">Email</label> <label for="ownerEmail" class="form-label required">Email</label>
<input type="email" class="form-control" id="ownerEmail" name="owner[email]" required> <input type="email" class="form-control" id="ownerEmail" name="owner[email]" required autocapitalize="none">
</div> </div>
</div> </div>
</div> </div>
@ -281,7 +281,7 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="billingEmail" class="form-label required">Email</label> <label for="billingEmail" class="form-label required">Email</label>
<input type="email" class="form-control" id="billingEmail" name="billing[email]" required> <input type="email" class="form-control" id="billingEmail" name="billing[email]" required autocapitalize="none">
</div> </div>
</div> </div>
</div> </div>
@ -340,7 +340,7 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="abuseEmail" class="form-label required">Email</label> <label for="abuseEmail" class="form-label required">Email</label>
<input type="email" class="form-control" id="abuseEmail" name="abuse[email]" required> <input type="email" class="form-control" id="abuseEmail" name="abuse[email]" required autocapitalize="none">
</div> </div>
</div> </div>
</div> </div>
@ -362,7 +362,7 @@
<div id="ipWhitelistForm"> <div id="ipWhitelistForm">
<div id="ipAddressFields"> <div id="ipAddressFields">
<div class="mb-3 d-flex align-items-center"> <div class="mb-3 d-flex align-items-center">
<input type="text" class="form-control" name="ipAddress[]"> <input type="text" class="form-control" name="ipAddress[]" autocapitalize="none">
<button type="button" class="btn btn-primary ms-2 add-ip">+</button> <button type="button" class="btn btn-primary ms-2 add-ip">+</button>
</div> </div>
</div> </div>
@ -392,10 +392,10 @@
<tbody> <tbody>
<tr> <tr>
<td> <td>
<input type="text" class="form-control form-control-sm" name="user_name" placeholder="user1" autocomplete="off" required> <input type="text" class="form-control form-control-sm" name="user_name" placeholder="user1" autocomplete="off" required autocapitalize="none">
</td> </td>
<td> <td>
<input type="email" class="form-control form-control-sm" name="user_email" placeholder="user1@example.com" autocomplete="off" required> <input type="email" class="form-control form-control-sm" name="user_email" placeholder="user1@example.com" autocomplete="off" required autocapitalize="none">
</td> </td>
<td> <td>
<input type="password" class="form-control form-control-sm" name="panelPassword" autocomplete="off" required> <input type="password" class="form-control form-control-sm" name="panelPassword" autocomplete="off" required>