Dashboard and translation improvements

This commit is contained in:
Pinga 2025-03-17 11:39:25 +02:00
parent eb4a83fee7
commit 6c3cd2c69f
12 changed files with 394 additions and 16 deletions

View file

@ -190,7 +190,7 @@
</a>
</div>
{% endif %}
<div class="col-12 col-md-6 mt-5">
<div class="col-12 col-md-6">
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ __('Recent Domains') }}</h3>
@ -219,7 +219,65 @@
</div>
</div>
</div>
<div class="col-12 col-md-6 mt-5">
<div class="col-12 col-md-6">
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ __('Expiring Domains') }}</h3>
</div>
<div class="table-responsive">
<table class="table table-vcenter card-table table-striped">
<thead>
<tr>
<th>{{ __('Name') }}</th>
<th>{{ __('Expiration Date') }}</th>
</tr>
</thead>
<tbody>
{% if expiring_domains|length > 0 %}
{% for domain in expiring_domains %}
<tr>
<td><a href="/domain/view/{{ domain.name }}">{{ domain.name }}</a></td>
<td class="text-secondary">{{ domain.exdate }}</td>
</tr>
{% endfor %}
{% else %}
<tr><td colspan="2">{{ __('No Data') }}</td></tr>
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
<div class="col-12 col-md-6">
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ __('Expired Domains') }}</h3>
</div>
<div class="table-responsive">
<table class="table table-vcenter card-table table-striped">
<thead>
<tr>
<th>{{ __('Name') }}</th>
<th>{{ __('Expiration Date') }}</th>
</tr>
</thead>
<tbody>
{% if expired_domains|length > 0 %}
{% for domain in expired_domains %}
<tr>
<td><a href="/domain/view/{{ domain.name }}">{{ domain.name }}</a></td>
<td class="text-secondary">{{ domain.exdate }}</td>
</tr>
{% endfor %}
{% else %}
<tr><td colspan="2">{{ __('No Data') }}</td></tr>
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
<div class="col-12 col-md-6">
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ __('Recent Support Tickets') }}</h3>

View file

@ -208,7 +208,7 @@
</div>
<div class="tab-pane" id="tabs-security">
<h3 class="card-title">{{ __('Security') }}</h3>
<p>{{ __('If youve logged in on multiple devices or browsers and want to ensure your account remains secure, you can log out from all other sessions except this one. This will end access from any other logged-in devices.') }}</p>
<p>{{ __('If you\ve logged in on multiple devices or browsers and want to ensure your account remains secure, you can log out from all other sessions except this one. This will end access from any other logged-in devices.') }}</p>
<form action="{{route('profile.logout.everywhere')}}" name="logoutEverywhere" method="post">
{{ csrf.field | raw }}
<button type="submit" class="btn btn-danger">

View file

@ -72,7 +72,7 @@
</div>
</div>
<div class="datagrid-item">
<div class="datagrid-title">Enable DNSSEC</div>
<div class="datagrid-title">{{ __('Enable DNSSEC') }}</div>
<div class="datagrid-content">
<label class="form-check">
<input class="form-check-input" type="checkbox" name="dnssec_enable" {% if secureTld == 1 %} checked disabled {% endif %}>
@ -81,7 +81,7 @@
</div>
</div>
<div class="datagrid-item">
<div class="datagrid-title">DNSSEC Mode</div>
<div class="datagrid-title">{{ __('DNSSEC Mode') }}</div>
<div class="datagrid-content">
<label class="form-check">
<input class="form-check-input" type="checkbox" name="bind9_enable" {% if secureTld == 1 %} checked disabled {% endif %}>
@ -97,7 +97,7 @@
<div class="card mb-3">
<div class="card-header">
<h5 class="card-title">{{ __('DNSSEC Details') }}
<span class="card-subtitle">{{ __('Last Updated:') }} {{ dnssecData.timestamp }}</span>
<span class="card-subtitle">{{ __('Last Updated') }}: {{ dnssecData.timestamp }}</span>
</h5>
</div>
<div class="card-body">