-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5318f5
commit 76e6002
Showing
6 changed files
with
103 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1174,7 +1174,3 @@ legend { | |
object-fit: fit; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.card-body { | ||
text-align: center; | ||
} |
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
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,36 +1,32 @@ | ||
<div class="container mt-5"> | ||
<!-- Search Results --> | ||
<div class="row"> | ||
<!-- Example of a single card result --> | ||
<div class="col-md-3 mb-4"> | ||
<div class="card"> | ||
<img src="{{ Vite::asset('resources/images/pdf-icon.svg') }}" alt="File icon" | ||
class="search-file-icon mt-2"> | ||
<div class="card-body"> | ||
<h5 class="card-title">Document 1</h5> | ||
<p class="card-text">PDF Document</p> | ||
<p class="card-text"><small class="text-muted">Last modified: Feb 5, 2025</small></p> | ||
@if (!empty($searchResults)) | ||
@foreach ($searchResults as $searchItems) | ||
<!-- Example of a single card result --> | ||
<div class="col-md-3 mb-4"> | ||
<div class="card"> | ||
<img src="{{ Vite::asset('resources/images/pdf-icon.svg') }}" alt="File icon" | ||
class="search-file-icon mt-2"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ $searchItems->title }}</h5> | ||
<p class="card-text">PDF Document</p> | ||
<p class="card-text"><small class="text-muted">Last modified: Feb 5, 2025</small></p> | ||
</div> | ||
</div> | ||
</div> | ||
@endforeach | ||
<!-- Pagination Links --> | ||
<div class="d-flex justify-content-center"> | ||
{!! $searchResults->links() !!} | ||
</div> | ||
</div> | ||
|
||
<!-- Another example of a file result --> | ||
<div class="col-md-3 mb-4"> | ||
<div class="card"> | ||
<img src="{{ Vite::asset('resources/images/pdf-icon.svg') }}" alt="File icon" | ||
class="search-file-icon mt-2"> | ||
<div class="card-body"> | ||
<h5 class="card-title">Document 1</h5> | ||
<p class="card-text">PDF Document</p> | ||
<p class="card-text"><small class="text-muted">Last modified: Feb 5, 2025</small></p> | ||
</div> | ||
@else | ||
<!-- Example of an empty result (if no search results) --> | ||
<div class="col-12"> | ||
<p>No results found.</p> | ||
</div> | ||
</div> | ||
|
||
<!-- Example of an empty result (if no search results) --> | ||
<div class="col-12"> | ||
<p>No results found.</p> | ||
</div> | ||
@endif | ||
|
||
</div> | ||
</div> | ||
|
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