@extends('frontend.layouts.plain') @section('title') CUrW Weather Stations @endsection @section('meta') @endsection @section('after-styles') @endsection @section('content')
CUrW Water Level Stations
@foreach($stations as $station) @if($station['name'] !== 'Kitulgala') @if($station['name'] !== 'Mattakkuliya Bridge') @if($station['name'] !== 'Wellampitiya')
@if($station['color'] == 'red') @if($station['name'] == 'Leecom WL Guage') Diyasaru Gate Upstream | {{ $station['water_level'] }}
@else {{ $station['name'] }} | {{ $station['water_level'] }}
@endif
3 Hours 6 Hours 12 Hours
Min {{ $station['min_3h'] }} {{ $station['min_6h'] }} {{ $station['min_12h'] }}
Max {{ $station['max_3h'] }} {{ $station['max_6h'] }} {{ $station['max_12h'] }}
Mean {{ $station['mean_3h'] }} {{ $station['mean_6h'] }} {{ $station['mean_12h'] }}
Last Updated: {{ $station['last_updated'] }}
@elseif($station['color'] == 'orange') @if($station['name'] == 'Leecom WL Guage') Diyasaru Gate Upstream | {{ $station['water_level'] }}
@else {{ $station['name'] }} | {{ $station['water_level'] }}
@endif
3 Hours 6 Hours 12 Hours
Min {{ $station['min_3h'] }} {{ $station['min_6h'] }} {{ $station['min_12h'] }}
Max {{ $station['max_3h'] }} {{ $station['max_6h'] }} {{ $station['max_12h'] }}
Mean {{ $station['mean_3h'] }} {{ $station['mean_6h'] }} {{ $station['mean_12h'] }}
Last Updated: {{ $station['last_updated'] }}
@else @if($station['name'] == 'Leecom WL Guage') Diyasaru Gate Upstream | {{ $station['water_level'] }}
@else {{ $station['name'] }} | {{ $station['water_level'] }}
@endif
3 Hours 6 Hours 12 Hours
Min {{ $station['min_3h'] }} {{ $station['min_6h'] }} {{ $station['min_12h'] }}
Max {{ $station['max_3h'] }} {{ $station['max_6h'] }} {{ $station['max_12h'] }}
Mean {{ $station['mean_3h'] }} {{ $station['mean_6h'] }} {{ $station['mean_12h'] }}
Last Updated: {{ $station['last_updated'] }}
@endif
@endif @endif @endif @endforeach
Working
Warning
Malfunction
@endsection