]> git.mxchange.org Git - friendica-addons.git/blobdiff - curweather/templates/widget.tpl
Merge pull request #485 from annando/xmpp-auto-auth
[friendica-addons.git] / curweather / templates / widget.tpl
index e90a348f15beac5fca2b62bcf5de8daf8d5a53a3..db3b7a8f3fcde708f78801edeb1766f14ebf61c5 100644 (file)
@@ -1,15 +1,17 @@
 <div id="curweather-network" class="widget">
        <div class="title tool">
-               <h4>{{$title}}: {{$city['name']}}</h4>
+               <h4 title="{{$lastupdate}}">{{$title}}: {{$city}}</h4>
        </div>
-       <p>{{$description}}, {{$temp}}
+       <p>
+       <img src="{{$icon}}" title="{{$description}}">
        <ul class="curweather-details">
-               <li>{{$relhumidity['caption']}}: {{$relhumidity['val']}}</li>
-               <li>{{$pressure['caption']}}: {{$pressure['val']}}</li>
-               <li>{{$wind['caption']}}: {{$wind['val']}}</li>
+           <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>
+               {{$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>