From e6992a03cf81243877366f289043051a2968b097 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 30 May 2026 22:19:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(nav):=20resolve=20F-08=20=E2=80=94=20fix=20?= =?UTF-8?q?broken=20stationmanagement=20link;=20F-09=20=E2=80=94=20use=20@?= =?UTF-8?q?lang=20for=20Daily=20Rainfall=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/layout/dailyrainfall.blade.php | 89 +++++++++++++++++++ src/resources/views/nav/navbar.blade.php | 11 ++- 2 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 src/resources/views/layout/dailyrainfall.blade.php diff --git a/src/resources/views/layout/dailyrainfall.blade.php b/src/resources/views/layout/dailyrainfall.blade.php new file mode 100644 index 00000000..62bf5ad5 --- /dev/null +++ b/src/resources/views/layout/dailyrainfall.blade.php @@ -0,0 +1,89 @@ +@extends('layout.app') +@section('content1') + +
+
+ +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ +
+ + @if($dailyData->isNotEmpty()) +
+ + + + + + + + + + + + + @foreach ($dailyData as $row) + + + + + + + + @endforeach + +
No@lang('messages.time')Hourly (mm)Daily (mm)Current RF (mm)
{{ $loop->iteration }}{{ $row->time }}{{ $row->hourly ?? '-' }}{{ $row->daily ?? '-' }}{{ $row->currentrf ?? '-' }}
+
+ @else + + @endif + +
+
+ +@endsection \ No newline at end of file diff --git a/src/resources/views/nav/navbar.blade.php b/src/resources/views/nav/navbar.blade.php index aa4458ec..6a63845b 100644 --- a/src/resources/views/nav/navbar.blade.php +++ b/src/resources/views/nav/navbar.blade.php @@ -1,3 +1,4 @@ +@php $isAndroid = preg_match('/Android/i', request()->userAgent()); @endphp