Tiny fixes

This commit is contained in:
Pinga 2023-12-03 11:08:49 +02:00
parent de77d7f1bc
commit efd47db6f1
4 changed files with 30 additions and 24 deletions

View file

@ -31,7 +31,7 @@ try {
// SQL query
$sql = "INSERT INTO users (email, password, username, status, verified, resettable, roles_mask, registered, last_login, force_logout, tfa_secret, tfa_enabled, auth_method, backup_codes)
VALUES (:email, :password, :username, 1, 1, 1, 0, 1, NULL, 0, NULL, 0, 'password', NULL)";
VALUES (:email, :password, :username, 0, 1, 1, 0, 1, NULL, 0, NULL, 0, 'password', NULL)";
// Prepare and execute SQL statement
$stmt = $pdo->prepare($sql);

View file

@ -53,7 +53,7 @@
<div class="ms-auto text-secondary">
Search:
<div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search domains">
<input id="search-input" type="text" class="form-control" aria-label="Search domains" autocapitalize="none">
</div>
</div>
</div>

View file

@ -26,7 +26,13 @@
<div class="col-12">
<div class="card mb-3">
<div class="card-header">
<h3 class="card-title">Domain {{ domain.name }}&nbsp;<span class="status status-green" title="Status">{{ domainStatus.status }}</span>&nbsp;<span class="status status-info" title="Status">{{ domain.rgpstatus }}</span></h3>
<h3 class="card-title">
Domain {{ domain.name }}&nbsp;
{% if domainStatus.status %}
<span class="status status-green" title="Status">{{ domainStatus.status }}</span>&nbsp;
{% endif %}
<span class="status status-info" title="Status">{{ domain.rgpstatus }}</span>
</h3>
</div>
<div class="card-body">
<div class="datagrid">
@ -79,26 +85,26 @@
<div class="card h-100">
<div class="card-body">
<h5 class="card-title">DNSSEC Data</h5>
<div class="table-responsive">
<table class="table table-vcenter card-table table-striped">
{% for row in domainSecdns %}
<tr>
{% for key, value in row %}
{% if key not in ['id', 'domain_id', 'maxsiglife'] %}
<th>{{ key }}</th>
{% endif %}
{% endfor %}
</tr>
<tr>
{% for key, value in row %}
{% if key not in ['id', 'domain_id', 'maxsiglife'] %}
<td>{{ value }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
</table>
</div>
<div class="table-responsive">
<table class="table table-vcenter card-table table-striped">
{% for row in domainSecdns %}
<tr>
{% for key, value in row %}
{% if key not in ['id', 'domain_id', 'maxsiglife'] %}
<th>{{ key }}</th>
{% endif %}
{% endfor %}
</tr>
<tr>
{% for key, value in row %}
{% if key not in ['id', 'domain_id', 'maxsiglife'] %}
<td>{{ value }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
</table>
</div>
</div>
</div>
</div>

View file

@ -48,7 +48,7 @@
<div class="ms-auto text-secondary">
Search:
<div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search hosts">
<input id="search-input" type="text" class="form-control" aria-label="Search hosts" autocapitalize="none">
</div>
</div>
</div>