diff --git a/app/Filament/Widgets/RecentDownloadChartWidget.php b/app/Filament/Widgets/RecentDownloadChartWidget.php
index da62367ac..098708648 100644
--- a/app/Filament/Widgets/RecentDownloadChartWidget.php
+++ b/app/Filament/Widgets/RecentDownloadChartWidget.php
@@ -38,13 +38,13 @@ protected function getData(): array
$results = Result::query()
->select(['id', 'download', 'created_at'])
->where('status', '=', ResultStatus::Completed)
- ->when($this->filter == '24h', function ($query) {
+ ->when($this->filter === '24h', function ($query) {
$query->where('created_at', '>=', now()->subDay());
})
- ->when($this->filter == 'week', function ($query) {
+ ->when($this->filter === 'week', function ($query) {
$query->where('created_at', '>=', now()->subWeek());
})
- ->when($this->filter == 'month', function ($query) {
+ ->when($this->filter === 'month', function ($query) {
$query->where('created_at', '>=', now()->subMonth());
})
->orderBy('created_at')
diff --git a/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php b/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php
index 1e73db54f..e06c86c87 100644
--- a/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php
+++ b/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php
@@ -36,13 +36,13 @@ protected function getData(): array
$results = Result::query()
->select(['id', 'data', 'created_at'])
->where('status', '=', ResultStatus::Completed)
- ->when($this->filter == '24h', function ($query) {
+ ->when($this->filter === '24h', function ($query) {
$query->where('created_at', '>=', now()->subDay());
})
- ->when($this->filter == 'week', function ($query) {
+ ->when($this->filter === 'week', function ($query) {
$query->where('created_at', '>=', now()->subWeek());
})
- ->when($this->filter == 'month', function ($query) {
+ ->when($this->filter === 'month', function ($query) {
$query->where('created_at', '>=', now()->subMonth());
})
->orderBy('created_at')
diff --git a/app/Filament/Widgets/RecentJitterChartWidget.php b/app/Filament/Widgets/RecentJitterChartWidget.php
index ff598cafd..03dd59b13 100644
--- a/app/Filament/Widgets/RecentJitterChartWidget.php
+++ b/app/Filament/Widgets/RecentJitterChartWidget.php
@@ -36,13 +36,13 @@ protected function getData(): array
$results = Result::query()
->select(['id', 'data', 'created_at'])
->where('status', '=', ResultStatus::Completed)
- ->when($this->filter == '24h', function ($query) {
+ ->when($this->filter === '24h', function ($query) {
$query->where('created_at', '>=', now()->subDay());
})
- ->when($this->filter == 'week', function ($query) {
+ ->when($this->filter === 'week', function ($query) {
$query->where('created_at', '>=', now()->subWeek());
})
- ->when($this->filter == 'month', function ($query) {
+ ->when($this->filter === 'month', function ($query) {
$query->where('created_at', '>=', now()->subMonth());
})
->orderBy('created_at')
diff --git a/app/Filament/Widgets/RecentPingChartWidget.php b/app/Filament/Widgets/RecentPingChartWidget.php
index b31c02530..096a190ec 100644
--- a/app/Filament/Widgets/RecentPingChartWidget.php
+++ b/app/Filament/Widgets/RecentPingChartWidget.php
@@ -37,13 +37,13 @@ protected function getData(): array
$results = Result::query()
->select(['id', 'ping', 'created_at'])
->where('status', '=', ResultStatus::Completed)
- ->when($this->filter == '24h', function ($query) {
+ ->when($this->filter === '24h', function ($query) {
$query->where('created_at', '>=', now()->subDay());
})
- ->when($this->filter == 'week', function ($query) {
+ ->when($this->filter === 'week', function ($query) {
$query->where('created_at', '>=', now()->subWeek());
})
- ->when($this->filter == 'month', function ($query) {
+ ->when($this->filter === 'month', function ($query) {
$query->where('created_at', '>=', now()->subMonth());
})
->orderBy('created_at')
diff --git a/app/Filament/Widgets/RecentUploadChartWidget.php b/app/Filament/Widgets/RecentUploadChartWidget.php
index df3d15ffb..1bb96eb04 100644
--- a/app/Filament/Widgets/RecentUploadChartWidget.php
+++ b/app/Filament/Widgets/RecentUploadChartWidget.php
@@ -38,13 +38,13 @@ protected function getData(): array
$results = Result::query()
->select(['id', 'upload', 'created_at'])
->where('status', '=', ResultStatus::Completed)
- ->when($this->filter == '24h', function ($query) {
+ ->when($this->filter === '24h', function ($query) {
$query->where('created_at', '>=', now()->subDay());
})
- ->when($this->filter == 'week', function ($query) {
+ ->when($this->filter === 'week', function ($query) {
$query->where('created_at', '>=', now()->subWeek());
})
- ->when($this->filter == 'month', function ($query) {
+ ->when($this->filter === 'month', function ($query) {
$query->where('created_at', '>=', now()->subMonth());
})
->orderBy('created_at')
diff --git a/app/Filament/Widgets/RecentUploadLatencyChartWidget.php b/app/Filament/Widgets/RecentUploadLatencyChartWidget.php
index 5b79fa0c5..90315ddd9 100644
--- a/app/Filament/Widgets/RecentUploadLatencyChartWidget.php
+++ b/app/Filament/Widgets/RecentUploadLatencyChartWidget.php
@@ -36,13 +36,13 @@ protected function getData(): array
$results = Result::query()
->select(['id', 'data', 'created_at'])
->where('status', '=', ResultStatus::Completed)
- ->when($this->filter == '24h', function ($query) {
+ ->when($this->filter === '24h', function ($query) {
$query->where('created_at', '>=', now()->subDay());
})
- ->when($this->filter == 'week', function ($query) {
+ ->when($this->filter === 'week', function ($query) {
$query->where('created_at', '>=', now()->subWeek());
})
- ->when($this->filter == 'month', function ($query) {
+ ->when($this->filter === 'month', function ($query) {
$query->where('created_at', '>=', now()->subMonth());
})
->orderBy('created_at')
diff --git a/lang/en/auth.php b/lang/en/auth.php
index 6598e2c06..f0d112f16 100644
--- a/lang/en/auth.php
+++ b/lang/en/auth.php
@@ -13,6 +13,7 @@
|
*/
+ 'sign_in' => 'Sign in',
'failed' => 'These credentials do not match our records.',
'password' => 'The provided password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index cc94b33d3..1d23aaac1 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -91,12 +91,26 @@ class="p-2 rounded-md transition-all"
-
{{ $this->latestResult->created_at->format(config('app.datetime_format')) }}
+