Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 88: | Rivi 88: | ||
out += '<div class="col col-6 col-sm-3 col-md-2 text-center">'; | out += '<div class="col col-6 col-sm-3 col-md-2 text-center">'; | ||
out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span style="margin: 0;">' + jw.obstype[ 'temp' ].newest.inRelationToToday() + '</span></div>'; | out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span style="margin: 0;">' + jw.obstype[ 'temp' ].newest.inRelationToToday() + '; | ||
out += ' <button style="padding: 0 0.25em; font-size: 13px; margin-bottom: 3px;" type="button" class="btn btn-secondary btn-info" data-toggle="tooltip" data-placement="top" title="' + 'ASDF' + '">' + 'SDF' + '</button>'; | |||
OUT += '</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>'; | ||


