-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #292 from P3D-Legacy/develop
- Loading branch information
Showing
4 changed files
with
153 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 12 additions & 5 deletions
17
resources/views/livewire/server/server-card-list.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
<div class="flex flex-col"> | ||
<div class="-my-2 sm:-mx-6 lg:-mx-8"> | ||
<p class="pt-4 pb-1 text-center text-gray-300 dark:text-gray-600">{{ __('All server statuses are updated every hour.') }}</p> | ||
<div class="grid grid-cols-1 gap-4 sm:p-10 sm:grid-cols-2 md:grid-cols-3 auto-rows-auto grid-flow-rows"> | ||
@foreach ($this->servers as $server) | ||
<p class="pt-4 pb-1 text-center text-gray-300 dark:text-gray-600">{{ __('All server statuses are updated every hour.') }}</p> | ||
@if($this->my_servers->count() > 0) | ||
<h1 class="text-xl text-gray-600 dark:text-gray-300">{{ __('Your servers') }}:</h1> | ||
<div class="grid grid-cols-1 gap-4 sm:p-5 sm:grid-cols-2 md:grid-cols-3 auto-rows-auto grid-flow-rows"> | ||
@foreach($this->my_servers as $server) | ||
@livewire('server.server-card', ['server' => $server]) | ||
@endforeach | ||
</div> | ||
<div class="border-t my-8 border-dotted border-gray-300 dark:border-gray-600"></div> | ||
@endif | ||
<div class="grid grid-cols-1 gap-4 sm:p-5 sm:grid-cols-2 md:grid-cols-3 auto-rows-auto grid-flow-rows"> | ||
@foreach($this->servers as $server) | ||
@livewire('server.server-card', ['server' => $server]) | ||
@endforeach | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.