friendica-addons/curweather/templates/widget.tpl

25 lines
884 B
Smarty
Raw Permalink Normal View History

<div id="curweather-network" class="widget">
<div class="title tool clear">
2018-07-19 06:18:45 +02:00
<h3 title="{{$lastupdate}}">{{$title}}: {{$city}}</h3>
</div>
<div class="pull-left">
2015-07-17 16:57:58 +02:00
<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>