mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
use icon for visualisation of current weather
This commit is contained in:
parent
ce637c5845
commit
7c6ae901d9
3 changed files with 13 additions and 5 deletions
|
@ -2,11 +2,13 @@
|
|||
<div class="title tool">
|
||||
<h4 title="{{$lastupdate}}">{{$title}}: {{$city}}</h4>
|
||||
</div>
|
||||
<p>{{$description}}, {{$temp}}
|
||||
<p>
|
||||
<img src="http://openweathermap.org/img/w/{{$icon}}.png" title="{{$description}}">
|
||||
<ul class="curweather-details">
|
||||
<li>{{$relhumidity['caption']}}: {{$relhumidity['val']}}</li>
|
||||
<li>{{$pressure['caption']}}: {{$pressure['val']}}</li>
|
||||
<li>{{$wind['caption']}}: {{$wind['val']}}</li>
|
||||
<li><strong>{{$temp}}</strong></li>
|
||||
<li>{{$relhumidity['caption']}}: {{$relhumidity['val']}}</li>
|
||||
<li>{{$pressure['caption']}}: {{$pressure['val']}}</li>
|
||||
<li>{{$wind['caption']}}: {{$wind['val']}}</li>
|
||||
</ul></p>
|
||||
<p class="curweather-footer">
|
||||
{{$databy}}: <a href="http://openweathermap.org">OpenWeatherMap</a>. <a href="http://openweathermap.org/Maps?zoom=7&lat={{$lat}}&lon={{$lon}}&layers=B0FTTFF">{{$showonmap}}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue