friendica-addons/curweather/templates/widget.tpl

18 lines
738 B
Smarty
Raw Normal View History

<div id="curweather-network" class="widget">
<div class="title tool">
2018-07-19 04:18:45 +00:00
<h3 title="{{$lastupdate}}">{{$title}}: {{$city}}</h3>
</div>
<p>
2015-07-17 14:57:58 +00: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/weathermap?basemap=map&cities=true&layer=temperature&lat={{$lat}}&lon={{$lon}}&zoom=10">{{$showonmap}}</a>
</p>
</div>
<div class="clear"></div>