ints instead of decimal, style changes
This commit is contained in:
parent
9e768e80ef
commit
5738b9b44d
@ -4,7 +4,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
<div class="location">
|
<div class="location">
|
||||||
<div>@Model.Location.Name, @Model.Location.Region</div>
|
@*<div>@Model.Location.Name, @Model.Location.Region</div>*@
|
||||||
<small>Last updated on @Model.Current.LastUpdated</small>
|
<small>Last updated on @Model.Current.LastUpdated</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ body {
|
|||||||
|
|
||||||
.location small {
|
.location small {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
opacity: 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.degrees {
|
.degrees {
|
||||||
|
@ -12,16 +12,16 @@ namespace WeatherDashboard
|
|||||||
public DateTime? Time { get; set; }
|
public DateTime? Time { get; set; }
|
||||||
|
|
||||||
[JsonProperty("temp_f")]
|
[JsonProperty("temp_f")]
|
||||||
public decimal Temperature { get; set; }
|
public int Temperature { get; set; }
|
||||||
|
|
||||||
[JsonProperty("feelslike_f")]
|
[JsonProperty("feelslike_f")]
|
||||||
public decimal FeelsLike { get; set; }
|
public int FeelsLike { get; set; }
|
||||||
|
|
||||||
[JsonProperty("humidity")]
|
[JsonProperty("humidity")]
|
||||||
public decimal Humidity { get; set; }
|
public int Humidity { get; set; }
|
||||||
|
|
||||||
[JsonProperty("wind_mph")]
|
[JsonProperty("wind_mph")]
|
||||||
public decimal WindSpeed { get; set; }
|
public int WindSpeed { get; set; }
|
||||||
|
|
||||||
[JsonProperty("wind_dir")]
|
[JsonProperty("wind_dir")]
|
||||||
public string WindDirection { get; set; }
|
public string WindDirection { get; set; }
|
||||||
|
@ -9,9 +9,9 @@ namespace WeatherDashboard
|
|||||||
public string ConditionName { get; set; }
|
public string ConditionName { get; set; }
|
||||||
|
|
||||||
[JsonProperty("maxtemp_f")]
|
[JsonProperty("maxtemp_f")]
|
||||||
public decimal HighTemp { get; set; }
|
public int HighTemp { get; set; }
|
||||||
|
|
||||||
[JsonProperty("mintemp_f")]
|
[JsonProperty("mintemp_f")]
|
||||||
public decimal LowTemp { get; set; }
|
public int LowTemp { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user