mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-28 04:02:19 +00:00
b058ac39df
See issue [friendica#5473](https://github.com/friendica/friendica/issues/5473) and PR#653.
24 lines
884 B
Smarty
24 lines
884 B
Smarty
<div id="curweather-network" class="widget">
|
|
<div class="title tool clear">
|
|
<h3 title="{{$lastupdate}}">{{$title}}: {{$city}}</h3>
|
|
</div>
|
|
<div class="pull-left">
|
|
<img src="{{$icon}}" title="{{$description}}">
|
|
</div>
|
|
<div class="pull-right">
|
|
<ul class="curweather-details">
|
|
<li><strong>{{$temp}}</strong></li>
|
|
<li>{{$relhumidity['caption']}}: {{$relhumidity['val']}}</li>
|
|
<li>{{$pressure['caption']}}: {{$pressure['val']}}</li>
|
|
<li>{{$wind['caption']}}: {{$wind['val']}}</li>
|
|
</ul>
|
|
</div>
|
|
<div class="clear"></div>
|
|
<div class="curweather-footer pull-left">
|
|
{{$databy}}: <a href="http://openweathermap.org">OpenWeatherMap</a>.
|
|
</div>
|
|
<div class="curweather-footer pull-right">
|
|
<a href="http://openweathermap.org/weathermap?basemap=map&cities=true&layer=temperature&lat={{$lat}}&lon={{$lon}}&zoom=10">{{$showonmap}}</a>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|