Skip to content

Commit fb60a9d

Browse files
committed
Remove the legacy apps section of the dashboard.
1 parent 3f5a2a2 commit fb60a9d

1 file changed

Lines changed: 0 additions & 58 deletions

File tree

resources/themes/cywise/iframes/dashboard.blade.php

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -478,64 +478,6 @@ class="icon icon-tabler icons-tabler-outline icon-tabler-robot">
478478
</div>
479479
@endif
480480
<!-- HONEYPOTS : END -->
481-
<!-- APPS : BEGIN -->
482-
@php
483-
$apps = \App\Models\YnhServer::forUser(request()->user())
484-
->flatMap(fn(\App\Models\YnhServer $server) => $server->applications)
485-
->sortBy([
486-
['server.name', 'asc'],
487-
['name', 'asc'],
488-
], SORT_NATURAL | SORT_FLAG_CASE);
489-
@endphp
490-
@if($apps->isNotEmpty())
491-
<div class="row pt-3">
492-
<div class="col">
493-
<div class="card">
494-
<div class="card-body p-0">
495-
<table class="table table-sm">
496-
<thead>
497-
<tr>
498-
<th style="color:var(--bs-body-color);">{{ __('Server') }}</th>
499-
<th style="color:var(--bs-body-color);">{{ __('Name') }}</th>
500-
<th style="color:var(--bs-body-color);">{{ __('Description') }}</th>
501-
<th style="color:var(--bs-body-color);">{{ __('Sku') }}</th>
502-
<th style="color:var(--bs-body-color);">{{ __('Version') }}</th>
503-
</tr>
504-
</thead>
505-
<tbody>
506-
@foreach($apps as $app)
507-
<tr>
508-
<td style="color:var(--bs-body-color);">
509-
<span class="font-lg mb-3 fw-bold">
510-
{{ $app->server->name }}
511-
</span>
512-
</td>
513-
<td style="color:var(--bs-body-color);">
514-
<span class="font-lg mb-3 fw-bold">
515-
<a href="https://{{ $app->path }}" target="_blank">
516-
{{ $app->name }}
517-
</a>
518-
</span>
519-
</td>
520-
<td style="color:var(--bs-body-color);">
521-
{{ $app->description }}
522-
</td>
523-
<td style="color:var(--bs-body-color);">
524-
{{ $app->sku }}
525-
</td>
526-
<td style="color:var(--bs-body-color);">
527-
{{ $app->version }}
528-
</td>
529-
</tr>
530-
@endforeach
531-
</tbody>
532-
</table>
533-
</div>
534-
</div>
535-
</div>
536-
</div>
537-
@endif
538-
<!-- APPS : END -->
539481
<!-- ACTIONS : BEGIN -->
540482
<div class="row pt-3">
541483
<!-- ACTION PROTECT : BEGIN -->

0 commit comments

Comments
 (0)