Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 84: | Rivi 84: | ||
if ( jw.obstype[ 'temp' ].count > 0 ) { | if ( jw.obstype[ 'temp' ].count > 0 ) { | ||
out += '<div class="col col-6 col-sm-4 col-md-3 text-center">'; | out += '<div class="col col-6 col-sm-4 col-md-3 text-center">'; | ||
out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; | out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; background-color: none; font-size: 50px; display: flex; justify-content: center; align-items: center; flex-direction: column;">+' + Math.round( jw.obstype[ 'temp' ].mean ) + '°</div>'; | ||
out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="h6" style="margin: 0;">Pintaveden<br />lämpötila</span></div>'; | |||
out += '</div>'; | out += '</div>'; | ||
} | } | ||


