mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +00:00
move widget HTML into smarty3 template and update styling
This commit is contained in:
parent
02b29b2a6a
commit
f9c887e24d
3 changed files with 39 additions and 20 deletions
15
curweather/templates/widget.tpl
Normal file
15
curweather/templates/widget.tpl
Normal file
|
@ -0,0 +1,15 @@
|
|||
<div id="curweather-network" class="widget">
|
||||
<div class="title tool">
|
||||
<h4>{{$title}}: {{$city['name']}}</h4>
|
||||
</div>
|
||||
<p>{{$description}}, {{$temp}}
|
||||
<ul class="curweather-details">
|
||||
<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>
|
||||
</div>
|
||||
<div class="clear"></div>
|
Loading…
Add table
Add a link
Reference in a new issue