work on weather services; outbound http request caching; styles updates and icons
This commit is contained in:
21
templates/weatherapi.com/current.html.mustache
Normal file
21
templates/weatherapi.com/current.html.mustache
Normal file
@@ -0,0 +1,21 @@
|
||||
<section data-widget="weatherapi-com-current" title="Current Weather for {{ location.name }}">
|
||||
<link rel="stylesheet" href="/weatherapi.com/styles.css">
|
||||
|
||||
<p class="condition">
|
||||
<span>{{ weather.current.condition.text }}</span>
|
||||
</p>
|
||||
|
||||
<p class="temp">
|
||||
{{{ icons.thermometer }}}
|
||||
<span>{{ weather.current.temp_f }}<sup>F</sup> / {{ weather.current.temp_c }}<sup>C</sup></span>
|
||||
</p>
|
||||
|
||||
<p class="wind">
|
||||
{{{ icons.wind }}}
|
||||
<span>{{ weather.current.wind_mph }} mph / {{ weather.current.wind_kph }} km/h / {{ weather.current.wind_dir }}</span>
|
||||
</p>
|
||||
|
||||
<p class="powered-by">
|
||||
Powered by <a href="https://www.weatherapi.com/docs/" rel="external nofollow noreferrer">WeatherAPI.com</a>
|
||||
</p>
|
||||
</section>
|
Reference in New Issue
Block a user