]> git.mxchange.org Git - friendica-addons.git/blobdiff - curweather/templates/widget.tpl
[markdown] Escape mentions which username can contain Markdown-like syntax
[friendica-addons.git] / curweather / templates / widget.tpl
index e90a348f15beac5fca2b62bcf5de8daf8d5a53a3..925ebaa7d5e968efbb9024499ad5dca7f4411d3b 100644 (file)
@@ -1,15 +1,24 @@
 <div id="curweather-network" class="widget">
-       <div class="title tool">
-               <h4>{{$title}}: {{$city['name']}}</h4>
+       <div class="title tool clear">
+               <h3 title="{{$lastupdate}}">{{$title}}: {{$city}}</h3>
        </div>
-       <p>{{$description}}, {{$temp}}
+       <div class="pull-left">
+       <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></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>
+       </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>