|
10 | 10 | <header> |
11 | 11 | <%- include('./../partials/header'); %> |
12 | 12 | </header> |
13 | | - <main onload=""> |
| 13 | + <main> |
14 | 14 | <br /> |
15 | 15 | <div> |
16 | 16 | <fieldset> |
|
36 | 36 | <br /> |
37 | 37 | <strong>Geolocation</strong>: <%= curData.lat %>, <%= curData.lon %> |
38 | 38 | <br /> |
39 | | - <strong>Time zone: </strong> |
40 | | - <%= curData.timezone %> |
| 39 | + <strong>Datetime</strong>: <%= curData.ob_time %> |
| 40 | + <br /> |
| 41 | + <strong>Time zone</strong>: <%= curData.timezone %> |
41 | 42 | <br /> |
42 | 43 | <hr /> |
43 | 44 | </p> |
44 | 45 | <table class="styled-table"> |
45 | 46 | <tr class="active-row"> |
46 | | - <th>Datetime: </th> |
| 47 | + <th>Cloud cover(%): </th> |
47 | 48 | <td> |
48 | | - <%= curData.ob_time %> |
| 49 | + <%= curData.clouds %> |
49 | 50 | </td> |
50 | 51 | </tr> |
51 | | - <th>Cloud cover(%): </th> |
52 | | - <td> |
53 | | - <%= curData.clouds %> |
54 | | - </td> |
55 | | - </tr> |
56 | 52 | <th>Temperature(F): </th> |
57 | 53 | <td> |
58 | 54 | <%= curData.temp %> |
|
201 | 197 | <% if( typeof(error)==="undefined" || foreStatus===400 ){ %> |
202 | 198 | <p style="color:gray"> Waiting for data.</p> |
203 | 199 | <% } else { %> |
204 | | - <table class="styled-table"> |
| 200 | + <table class="styled-table" style="overflow-x: auto;"> |
205 | 201 | <thead> |
206 | 202 | <tr class="w-35"> |
207 | 203 | <th style="color:black;"> Date</th> |
|
210 | 206 | <th style="color:rgb(27, 119, 223);"> Temperature(°F) </th> |
211 | 207 | <th style="color:rgba(20, 15, 177, 0.474);"> Pressure(㎧)</th> |
212 | 208 | <th style="color:green;"> Humidity</th> |
213 | | - <th style="color:rgb(198, 73, 15);"> Wind Speed</th> |
214 | | - <th style="color:rgb(198, 15, 195);"> Wind Gust</th> |
| 209 | + <th style="color:rgb(198, 15, 195);"> Wind</th> |
215 | 210 | <th style="color:rgb(15, 22, 207);"> Cloud Cover(%)</th> |
216 | 211 | <th style="color:rgb(30, 140, 224);"> Visibility</th> |
217 | 212 | <th style="color:rgb(78, 122, 80);"> UV Index</th> |
|
242 | 237 | <td style="color:green;"> |
243 | 238 | <%= forecast[i].rh %> |
244 | 239 | </td> |
245 | | - <td style="color:rgb(198, 73, 15);"> |
246 | | - <%= forecast[i].wind_gust_spd %> |
247 | | - </td> |
248 | 240 | <td style="color:rgb(198, 15, 195);"> |
249 | 241 | <%= forecast[i].wind_gust_spd %> <%= forecast[i].wind_cdir %> |
250 | 242 | </td> |
|
0 commit comments