Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 89: | Rivi 89: | ||
out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | ||
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="' + 'Pintaveden lämpötila on havainnon tuoreudella painotettu keskiarvo viimeisen 7 vuorokauden aikana järvelle tallennetuista havainnoista. Näitä havaintoja on yhteensä ' + jw.obstype[ 'temp' ].obses.length + ' kpl, joista | 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="' + 'Pintaveden lämpötila on havainnon tuoreudella painotettu keskiarvo viimeisen 7 vuorokauden aikana järvelle tallennetuista havainnoista. Näitä havaintoja on yhteensä ' + jw.obstype[ 'temp' ].obses.length + ' kpl, joista uusin on tehty ' + jw.obstype[ 'temp' ].newest.toISOString() + '">'; | ||
out += jw.obstype[ 'temp' ].newest.inRelationToToday(); | out += jw.obstype[ 'temp' ].newest.inRelationToToday(); | ||
out += '</button>'; | out += '</button>'; | ||


