Implemented the details footer component
Implemented the details footer component
This commit is contained in:
parent
c7a9e5ad80
commit
eda9d1b945
|
@ -57,12 +57,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-modal-delete-script>
|
<x-modal-delete-script>
|
||||||
<x-slot name="uri">dns</x-slot>
|
<x-slot name="uri">dns</x-slot>
|
||||||
|
|
|
@ -32,12 +32,14 @@
|
||||||
@foreach($domains as $domain)
|
@foreach($domains as $domain)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="text-nowrap"><a href="https://{{ $domain->domain }}.{{$domain->extension}}"
|
<td class="text-nowrap"><a href="https://{{ $domain->domain }}.{{$domain->extension}}"
|
||||||
class="text-decoration-none">{{ $domain->domain }}.{{$domain->extension}}</a></td>
|
class="text-decoration-none">{{ $domain->domain }}
|
||||||
|
.{{$domain->extension}}</a></td>
|
||||||
<td class="text-nowrap">{{ $domain->owned_since}}</td>
|
<td class="text-nowrap">{{ $domain->owned_since}}</td>
|
||||||
<td class="text-nowrap">{{ now()->diffInDays($domain->price->next_due_date) }} <small>days</small>
|
<td class="text-nowrap">{{ now()->diffInDays($domain->price->next_due_date) }} <small>days</small>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-nowrap">{{ $domain->provider->name}}</td>
|
<td class="text-nowrap">{{ $domain->provider->name}}</td>
|
||||||
<td class="text-nowrap">{{ $domain->price->price }} <small>{{$domain->price->currency}}</small></td>
|
<td class="text-nowrap">{{ $domain->price->price }}
|
||||||
|
<small>{{$domain->price->currency}}</small></td>
|
||||||
<td class="text-nowrap">
|
<td class="text-nowrap">
|
||||||
<form action="{{ route('domains.destroy', $domain->id) }}" method="POST">
|
<form action="{{ route('domains.destroy', $domain->id) }}" method="POST">
|
||||||
<a href="{{ route('domains.show', $domain->id) }}"
|
<a href="{{ route('domains.show', $domain->id) }}"
|
||||||
|
@ -63,12 +65,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-modal-delete-script>
|
<x-modal-delete-script>
|
||||||
<x-slot name="uri">domains</x-slot>
|
<x-slot name="uri">domains</x-slot>
|
||||||
|
|
|
@ -56,12 +56,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-datatables-assets></x-datatables-assets>
|
<x-datatables-assets></x-datatables-assets>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -50,12 +50,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-datatables-assets></x-datatables-assets>
|
<x-datatables-assets></x-datatables-assets>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -49,12 +49,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-datatables-assets></x-datatables-assets>
|
<x-datatables-assets></x-datatables-assets>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -66,12 +66,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-modal-delete-script>
|
<x-modal-delete-script>
|
||||||
<x-slot name="uri">misc</x-slot>
|
<x-slot name="uri">misc</x-slot>
|
||||||
|
|
|
@ -46,12 +46,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-datatables-assets></x-datatables-assets>
|
<x-datatables-assets></x-datatables-assets>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -73,12 +73,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-modal-delete-script>
|
<x-modal-delete-script>
|
||||||
<x-slot name="uri">reseller</x-slot>
|
<x-slot name="uri">reseller</x-slot>
|
||||||
|
|
|
@ -145,11 +145,6 @@
|
||||||
<x-slot name="route">{{ route('reseller.edit', $reseller->id) }}</x-slot>
|
<x-slot name="route">{{ route('reseller.edit', $reseller->id) }}</x-slot>
|
||||||
</x-edit-btn>
|
</x-edit-btn>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</x-app-layout>
|
</x-app-layout>
|
||||||
|
|
|
@ -129,11 +129,6 @@
|
||||||
<x-slot name="route">{{ route('seedboxes.edit', $seedbox_data->id) }}</x-slot>
|
<x-slot name="route">{{ route('seedboxes.edit', $seedbox_data->id) }}</x-slot>
|
||||||
</x-edit-btn>
|
</x-edit-btn>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</x-app-layout>
|
</x-app-layout>
|
||||||
|
|
|
@ -194,12 +194,8 @@
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
</div>
|
</div>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>Built on Laravel
|
|
||||||
v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})</small></p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
axios.defaults.headers.common = {
|
axios.defaults.headers.common = {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
@ -211,11 +211,6 @@
|
||||||
<p id="yabs_code" class="d-none pt-3"><code>curl -sL yabs.sh | bash -s -- -s "{{route('api.store-yabs', [$server_data->id, \Illuminate\Support\Facades\Auth::user()->api_token])}}"</code></p>
|
<p id="yabs_code" class="d-none pt-3"><code>curl -sL yabs.sh | bash -s -- -s "{{route('api.store-yabs', [$server_data->id, \Illuminate\Support\Facades\Auth::user()->api_token])}}"</code></p>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</x-app-layout>
|
</x-app-layout>
|
||||||
|
|
|
@ -74,10 +74,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>Built on Laravel
|
|
||||||
v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})</small></p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-modal-delete-script>
|
<x-modal-delete-script>
|
||||||
<x-slot name="uri">shared</x-slot>
|
<x-slot name="uri">shared</x-slot>
|
||||||
|
|
|
@ -140,11 +140,6 @@
|
||||||
<x-slot name="route">{{ route('shared.edit', $shared->id) }}</x-slot>
|
<x-slot name="route">{{ route('shared.edit', $shared->id) }}</x-slot>
|
||||||
</x-edit-btn>
|
</x-edit-btn>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</x-app-layout>
|
</x-app-layout>
|
||||||
|
|
|
@ -39,13 +39,16 @@
|
||||||
@if(!empty($yabs))
|
@if(!empty($yabs))
|
||||||
@foreach($yabs as $yab)
|
@foreach($yabs as $yab)
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="servers/{{$yab->server_id}}" class="text-decoration-none">{{ $yab->server->hostname }}</a></td>
|
<td><a href="servers/{{$yab->server_id}}"
|
||||||
|
class="text-decoration-none">{{ $yab->server->hostname }}</a></td>
|
||||||
<td><span title="{{$yab->cpu_model}}">{{ $yab->cpu_cores }}</span></td>
|
<td><span title="{{$yab->cpu_model}}">{{ $yab->cpu_cores }}</span></td>
|
||||||
<td><span title="{{$yab->cpu_model}}">{{ $yab->cpu_freq }}<small>Mhz</small></span></td>
|
<td><span title="{{$yab->cpu_model}}">{{ $yab->cpu_freq }}<small>Mhz</small></span></td>
|
||||||
<td>{{ $yab->ram }}<small>{{ $yab->ram_type }}</small></td>
|
<td>{{ $yab->ram }}<small>{{ $yab->ram_type }}</small></td>
|
||||||
<td>{{ $yab->disk }}<small>{{ $yab->disk_type }}</small></td>
|
<td>{{ $yab->disk }}<small>{{ $yab->disk_type }}</small></td>
|
||||||
<td><a href="https://browser.geekbench.com/v5/cpu/{{$yab->gb5_id}}" class="text-decoration-none">{{ $yab->gb5_single }}</a></td>
|
<td><a href="https://browser.geekbench.com/v5/cpu/{{$yab->gb5_id}}"
|
||||||
<td><a href="https://browser.geekbench.com/v5/cpu/{{$yab->gb5_id}}" class="text-decoration-none">{{ $yab->gb5_multi }}</a></td>
|
class="text-decoration-none">{{ $yab->gb5_single }}</a></td>
|
||||||
|
<td><a href="https://browser.geekbench.com/v5/cpu/{{$yab->gb5_id}}"
|
||||||
|
class="text-decoration-none">{{ $yab->gb5_multi }}</a></td>
|
||||||
<td>@if($yab->has_ipv6 === 1)
|
<td>@if($yab->has_ipv6 === 1)
|
||||||
Yes
|
Yes
|
||||||
@else
|
@else
|
||||||
|
@ -54,7 +57,8 @@
|
||||||
</td>
|
</td>
|
||||||
<td>{{ $yab->disk_speed->d_4k }}<small>{{ $yab->disk_speed->d_4k_type }}</small></td>
|
<td>{{ $yab->disk_speed->d_4k }}<small>{{ $yab->disk_speed->d_4k_type }}</small></td>
|
||||||
<td>{{ $yab->disk_speed->d_64k }}<small>{{ $yab->disk_speed->d_64k_type }}</small></td>
|
<td>{{ $yab->disk_speed->d_64k }}<small>{{ $yab->disk_speed->d_64k_type }}</small></td>
|
||||||
<td>{{ $yab->disk_speed->d_512k }}<small>{{ $yab->disk_speed->d_512k_type }}</small></td>
|
<td>{{ $yab->disk_speed->d_512k }}<small>{{ $yab->disk_speed->d_512k_type }}</small>
|
||||||
|
</td>
|
||||||
<td>{{ $yab->disk_speed->d_1m }}<small>{{ $yab->disk_speed->d_1m_type }}</small></td>
|
<td>{{ $yab->disk_speed->d_1m }}<small>{{ $yab->disk_speed->d_1m_type }}</small></td>
|
||||||
<td>{{ date_format(new DateTime($yab->output_date), 'Y-m-d g:i a') }}</small></td>
|
<td>{{ date_format(new DateTime($yab->output_date), 'Y-m-d g:i a') }}</small></td>
|
||||||
<td class="text-nowrap">
|
<td class="text-nowrap">
|
||||||
|
@ -80,10 +84,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>Built on Laravel
|
|
||||||
v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})</small></p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
<x-modal-delete-script>
|
<x-modal-delete-script>
|
||||||
<x-slot name="uri">yabs</x-slot>
|
<x-slot name="uri">yabs</x-slot>
|
||||||
|
|
|
@ -135,11 +135,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</x-card>
|
</x-card>
|
||||||
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
|
<x-details-footer></x-details-footer>
|
||||||
<p class="text-muted mt-4 text-end"><small>
|
|
||||||
Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}
|
|
||||||
)</small>
|
|
||||||
</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</x-app-layout>
|
</x-app-layout>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user