Completed app page + added metar class
This commit is contained in:
48
Views/App/Index.cshtml
Normal file
48
Views/App/Index.cshtml
Normal file
@ -0,0 +1,48 @@
|
||||
@using EFB.Metar;
|
||||
@model EFB.Models.UserModel;
|
||||
@{
|
||||
ViewData["Title"] = "Welcome";
|
||||
}
|
||||
|
||||
<div class="row d-flex">
|
||||
<div class="card-body col-md-12 bg-primary">
|
||||
<div class="container jumbotron">
|
||||
<h3>Current Session - @Model.EMail</h3>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
<div class="row d-flex">
|
||||
<div class="col-md-6">
|
||||
<h4>Departure</h4>
|
||||
@Model.Departure
|
||||
|
||||
<br />
|
||||
|
||||
@await Metar.GetMETAR(Model.Departure)
|
||||
|
||||
<h4>Cruise</h4>
|
||||
@Model.Cruise ft
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h4>Arrival</h4>
|
||||
@Model.Arrival
|
||||
|
||||
<br />
|
||||
|
||||
@await Metar.GetMETAR(Model.Arrival)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
||||
<h4>Route</h4>
|
||||
@Model.Route
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user