54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
@model EFB.Models.FlightsimModel;
|
|
@{
|
|
ViewData["Title"] = "Welcome";
|
|
}
|
|
|
|
<div class="row d-flex">
|
|
<div class="card-body col-md-6 bg-primary">
|
|
<div class="container jumbotron">
|
|
<h3>Current Position</h3>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
<h5 style="color: gray;">Last Updated at: @Model.CurrentPosition.LatestPacketUpdate.ToString()</h5>
|
|
|
|
<div class="row d-flex">
|
|
<div class="col-md-6">
|
|
<h4>Latitude</h4>
|
|
@Model.CurrentPosition.LatestPosition.Latitude
|
|
|
|
<h4>Longitude</h4>
|
|
@Model.CurrentPosition.LatestPosition.Longitude
|
|
</div>
|
|
<div class="col-md-6">
|
|
<h4>Altitude</h4>
|
|
@Model.CurrentPosition.LatestPosition.Altitude ft
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body col-md-6 bg-success">
|
|
<div class="container jumbotron">
|
|
<h3>Closest Waypoint</h3>
|
|
|
|
<br />
|
|
<br />
|
|
<h4>@Model.Closest.Name -> @Model.Closest.Airway</h4>
|
|
|
|
<h4>Latitude</h4>
|
|
@Model.Closest.Latitude
|
|
|
|
<h4>Longitude</h4>
|
|
@Model.Closest.Longitude
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|