From eff67b76976ba027b4053b40b31de16449c82b35 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 18 Feb 2022 21:46:00 +0000 Subject: [PATCH] Added flight sim view --- Views/Flightsim/Index.cshtml | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Views/Flightsim/Index.cshtml diff --git a/Views/Flightsim/Index.cshtml b/Views/Flightsim/Index.cshtml new file mode 100644 index 0000000..c9d9b5d --- /dev/null +++ b/Views/Flightsim/Index.cshtml @@ -0,0 +1,53 @@ +@model EFB.Models.FlightsimModel; +@{ + ViewData["Title"] = "Welcome"; +} + +
+
+
+

Current Position

+ +
+
+ +
Last Updated at: @Model.CurrentPosition.LatestPacketUpdate.ToString()
+ +
+
+

Latitude

+ @Model.CurrentPosition.LatestPosition.Latitude + +

Longitude

+ @Model.CurrentPosition.LatestPosition.Longitude +
+
+

Altitude

+ @Model.CurrentPosition.LatestPosition.Altitude ft +
+
+ +
+
+ +
+
+

Closest Waypoint

+ +
+
+

@Model.Closest.Name -> @Model.Closest.Airway

+ +

Latitude

+ @Model.Closest.Latitude + +

Longitude

+ @Model.Closest.Longitude + + +
+
+
+ + +