Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 120: | Rivi 120: | ||
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%; background-color: #fff;">'; | out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; background-color: #fff; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | ||
out += '<div style="font-size: 56px;">' + ( Math.round( jw.obstype[ 'secchi' ].mean * 10 ) / 10 ).toString().replace( '.', ',' ) + '</div>'; | out += '<div style="font-size: 56px;">' + ( Math.round( jw.obstype[ 'secchi' ].mean * 10 ) / 10 ).toString().replace( '.', ',' ) + '</div>'; | ||
out += '<div style="font-size: 28px; margin-top: -26px;">m</div>'; | out += '<div style="font-size: 28px; margin-top: -26px;">m</div>'; | ||


