Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 88: | Rivi 88: | ||
out += '<div class="col col-6 col-sm-4 col-md-2 text-center">'; | out += '<div class="col col-6 col-sm-4 col-md-2 text-center">'; | ||
out += '<div style="height: 30px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="h6" style="margin: 0;">' + jw.obstype[ 'temp' ].newest + '</span></div>'; | out += '<div style="height: 30px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="h6" style="margin: 0;">' + jw.obstype[ 'temp' ].newest.inRelationToToday() + '</span></div>'; | ||
out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; background-color: none; font-size: 44px; display: flex; justify-content: center; align-items: center; flex-direction: column;">+' + Math.round( jw.obstype[ 'temp' ].mean ) + '°</div>'; | out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; background-color: none; font-size: 44px; display: flex; justify-content: center; align-items: center; flex-direction: column;">+' + Math.round( jw.obstype[ 'temp' ].mean ) + '°</div>'; | ||


