This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
-
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.
* resolve pilots ivao * feedback * new version
- Loading branch information
1 parent
f4bfd73
commit 2769f68
Showing
5 changed files
with
85 additions
and
76 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<h5 class="fw-bold">IVAO Event FR</h5> | ||
|
||
<div class="row"> | ||
@foreach($event_fr as $events) | ||
@if (isset($events[0]["type"]) == "training" || isset($events[0]["type"]) == "exam") | ||
<div class="col-6 mt-2"> | ||
<div class="card text-white bg-dark"> | ||
<div class="card-body"> | ||
@if ($events[0]["type"] == "training") | ||
@if (ENV('APP_ENV') == 'local') | ||
<img class="card-img-top" src="{{ asset("asset/img/training/training.png") }}" alt=""> | ||
@else | ||
<img class="card-img-top" src="{{ asset("public/asset/img/training/training.png") }}" alt=""> | ||
@endif | ||
@endif | ||
@if ($events[0]["type"] == "exam") | ||
@if (ENV('APP_ENV') == 'local') | ||
<img class="card-img-top" src="{{ asset("asset/img/exam/exam.png") }}" alt=""> | ||
@else | ||
<img class="card-img-top" src="{{ asset("public/asset/img/exam/exam.png") }}" alt=""> | ||
@endif | ||
@endif | ||
<p class="card-text text-center text-info mt-2">{{$events[0]["name"]}}</p> | ||
<p class="card-text text-center ">{{$events[0]["description"]}}</p> | ||
<p class="card-text text-center "><button class="btn btn-outline-success">{{Carbon::parse($events[0]["started_at"])->format('d-m H:i') }}Z</button> </p> | ||
</div> | ||
</div> | ||
</div> | ||
@endif | ||
@endforeach | ||
</div> | ||
</div> | ||
<hr> |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="container mt-2"> | ||
<h5 class="fw-bold">IVAO Event World</h5> | ||
<div class="row"> | ||
@foreach($event_worl as $eventss) | ||
<div class="col-6 mt-2"> | ||
<div class="card text-white bg-dark"> | ||
<div class="card-body"> | ||
<img src="{{$eventss['imageUrl']}}" style="width: 100%; height: 80%;" alt="" srcset=""> | ||
<h5 class="card-text text-center text-info mt-2">{{$eventss["title"]}} / {{$eventss["airports"][0]}} </h5> | ||
<div class=" d-flex justify-content-center"> | ||
@for ($i = 0 ; $i < count($eventss["divisions"]) ; $i++ ) | ||
<span class="badge bg-secondary fs-6 ms-2"> {{$eventss["divisions"][$i]}}</span> | ||
@endfor | ||
</div> | ||
<p class="card-text text-center ">{{$eventss["description"]}}</p> | ||
<a href="{{$eventss["infoUrl"]}}" class="float-end"><button class="btn btn-outline-primary">More Information</button></a> | ||
</div> | ||
</div> | ||
</div> | ||
@endforeach | ||
</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
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