|
|
@ -36,17 +36,18 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td><?=e(round($line['rain'], 1))?>mm</td>
|
|
|
|
<td><?=e(round($line['rain'], 1))?>mm</td>
|
|
|
|
<td class="pictogram"><?=($line['icon'])?></td>
|
|
|
|
<td class="pictogram"><?=($line['icon'])?></td>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$classmap = [
|
|
|
|
|
|
|
|
'Y' => 'flying-weather',
|
|
|
|
|
|
|
|
'M' => 'maybe-flying-weather',
|
|
|
|
|
|
|
|
'N' => ''
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
?>
|
|
|
|
<td class="pictogram">
|
|
|
|
<td class="pictogram">
|
|
|
|
<?php $class = $line['riding'] === 'Y' ? 'flying-weather'
|
|
|
|
<span class="<?=$classmap[$line['riding']]?>"><?=e($line['ridingIcon'])?></span>
|
|
|
|
: $line['riding'] === 'M' ? 'maybe-flying-weather'
|
|
|
|
|
|
|
|
: '' ?>
|
|
|
|
|
|
|
|
<span class="<?=$class?>"><?=e($line['ridingIcon'])?></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="pictogram">
|
|
|
|
<td class="pictogram">
|
|
|
|
<?php $class = $line['flying'] === 'Y' ? 'flying-weather'
|
|
|
|
<span class="<?=$classmap[$line['flying']]?>"><?=e($line['flyingIcon'])?></span>
|
|
|
|
: $line['flying'] === 'M' ? 'maybe-flying-weather'
|
|
|
|
|
|
|
|
: '' ?>
|
|
|
|
|
|
|
|
<span class="<?=$class?>"><?=e($line['flyingIcon'])?></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td><?=e($line['wind'])?>m/s</td>
|
|
|
|
<td><?=e($line['wind'])?>m/s</td>
|
|
|
|
<td><?=e(round($line['temp'], 1))?>°C</td>
|
|
|
|
<td><?=e(round($line['temp'], 1))?>°C</td>
|
|
|
|