]> git.mxchange.org Git - friendica-addons.git/blob - curweather/templates/widget.tpl
Merge pull request 'use new style of accessing baseUrl' (#1384) from mexon/friendica...
[friendica-addons.git] / curweather / templates / widget.tpl
1 <div id="curweather-network" class="widget">
2         <div class="title tool clear">
3                 <h3 title="{{$lastupdate}}">{{$title}}: {{$city}}</h3>
4         </div>
5         <div class="pull-left">
6         <img src="{{$icon}}" title="{{$description}}">
7         </div>
8         <div class="pull-right">
9         <ul class="curweather-details">
10                 <li><strong>{{$temp}}</strong></li>
11                 <li>{{$relhumidity['caption']}}: {{$relhumidity['val']}}</li>
12                 <li>{{$pressure['caption']}}: {{$pressure['val']}}</li>
13                 <li>{{$wind['caption']}}: {{$wind['val']}}</li>
14         </ul>
15         </div>
16         <div class="clear"></div>
17         <div class="curweather-footer pull-left">
18                 {{$databy}}: <a href="http://openweathermap.org">OpenWeatherMap</a>.
19         </div>
20         <div class="curweather-footer pull-right">
21         <a href="http://openweathermap.org/weathermap?basemap=map&cities=true&layer=temperature&lat={{$lat}}&lon={{$lon}}&zoom=10">{{$showonmap}}</a>
22         </div>
23 </div>
24 <div class="clear"></div>