friendica-addons/curweather/templates/widget.tpl

18 lines
704 B
Smarty
Raw Normal View History

<div id="curweather-network" class="widget">
<div class="title tool">
<h4 title="{{$lastupdate}}">{{$title}}: {{$city}}</h4>
</div>
<p>
2015-07-17 10:57:58 -04:00
<img src="{{$icon}}" title="{{$description}}">
<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></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>
</p>
</div>
<div class="clear"></div>