Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa Merkkaus: Palautettu |
||
| 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="width: 80px; height: 80px; margin: auto; border-radius: 50%; background-color: none; font-size: 48px; display: flex; justify-content: center; align-items: center; flex-direction: column;">+' + Math.round( jw.obstype[ 'temp' ].mean ) + '°</div>'; | out += '<div style="width: 80px; height: 80px; margin: auto; border-radius: 50%; background-color: none; font-size: 48px; 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=" | out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="" style="margin: 0;">Pintaveden<br />lämpötila</span></div>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||
| Rivi 100: | Rivi 100: | ||
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="width: 80px; height: 80px; margin: auto; border-radius: 50%; background-color: ' + algcolor[ algmean ] + ';"></div>'; | out += '<div style="width: 80px; height: 80px; margin: auto; border-radius: 50%; background-color: ' + algcolor[ algmean ] + ';"></div>'; | ||
out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class=" | out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="" style="margin: 0;">' + algtxt[ algmean ] + '</span></div>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||
| Rivi 114: | Rivi 114: | ||
out += '<div style="font-size: 24px; margin-top: -20px;">cm</div>'; | out += '<div style="font-size: 24px; margin-top: -20px;">cm</div>'; | ||
out += '</div>'; | out += '</div>'; | ||
out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class=" | out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="" style="margin: 0;">' + icetxt[ icecatmean ] + '</span></div>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||
| Rivi 127: | Rivi 127: | ||
out += '<div style="font-size: 24px; margin-top: -20px;">m</div>'; | out += '<div style="font-size: 24px; margin-top: -20px;">m</div>'; | ||
out += '</div>'; | out += '</div>'; | ||
out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class=" | out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span class="" style="margin: 0;">' + 'Näkösyvyys' + '</span></div>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||


