]> 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 f772d44568c21e3343f4f0421f37b3aa4c20085a..925ebaa7d5e968efbb9024499ad5dca7f4411d3b 100644 (file)
@@ -1,17 +1,24 @@
 <div id="curweather-network" class="widget">
-       <div class="title tool">
-               <h4 title="{{$lastupdate}}">{{$title}}: {{$city}}</h4>
+       <div class="title tool clear">
+               <h3 title="{{$lastupdate}}">{{$title}}: {{$city}}</h3>
        </div>
-       <p>
+       <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/weathermap?basemap=map&cities=true&layer=temperature&lat={{$lat}}&lon={{$lon}}&zoom=9">{{$showonmap}}</a>
-       </p>
+               <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>