Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 219: | Rivi 219: | ||
} else if ( ot == 'level' ) { | } else if ( ot == 'level' ) { | ||
console.log( jw ); | //console.log( jw ); | ||
out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-direction: column; background-color: none;">'; | |||
out += '<div style="font-size: 36px;">' + jw.obstype[ ot ].mean + 'cm </div>'; | |||
out += '<div style="font-size: 24px; margin-top: -20px;">cm</div>'; | |||
out += '</div>'; | |||
out += '<div style="height: 60px; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | |||
out += '<span class="h6" style="margin: 0;">' + 'Vedenpinta korkea' + '</span>'; | |||
out += '</div>'; | |||
} | } | ||


