From 34776b6639805283f022e6549dd623a8f7296257 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 14 Aug 2021 23:39:42 +1000 Subject: [PATCH] Some layout changes for echoarea/filearea --- resources/views/domain/home.blade.php | 1 - resources/views/domain/view.blade.php | 17 +++++++++-------- resources/views/echoarea/home.blade.php | 2 +- resources/views/filearea/home.blade.php | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/resources/views/domain/home.blade.php b/resources/views/domain/home.blade.php index 10692ed..b5e798b 100644 --- a/resources/views/domain/home.blade.php +++ b/resources/views/domain/home.blade.php @@ -16,7 +16,6 @@
- @if (\App\Models\Domain::count() == 0) @can('admin',(new \App\Models\Domain))

There are no domains setup, to set up your first.

diff --git a/resources/views/domain/view.blade.php b/resources/views/domain/view.blade.php index bb9c961..369c69b 100644 --- a/resources/views/domain/view.blade.php +++ b/resources/views/domain/view.blade.php @@ -31,7 +31,7 @@ - + @@ -47,9 +47,9 @@ @foreach ($o->echoareas->sortBy('name') as $oo) - + - + @@ -84,9 +84,9 @@ @foreach ($o->fileareas->sortBy('name') as $oo) - + - + @endforeach @@ -182,7 +182,8 @@ paging: true, pageLength: 25, searching: true, - order: [], + ordering: true, + order: [1,'asc'], conditionalPaging: { style: 'fade', speed: 500 // optional @@ -193,7 +194,8 @@ paging: true, pageLength: 25, searching: true, - order: [], + ordering: true, + order: [1,'asc'], conditionalPaging: { style: 'fade', speed: 500 // optional @@ -204,7 +206,6 @@ paging: true, pageLength: 25, searching: true, - order: [], conditionalPaging: { style: 'fade', speed: 500 // optional diff --git a/resources/views/echoarea/home.blade.php b/resources/views/echoarea/home.blade.php index 79ee281..43e6618 100644 --- a/resources/views/echoarea/home.blade.php +++ b/resources/views/echoarea/home.blade.php @@ -13,7 +13,7 @@
-
+

This system is aware of the following echoareas @can('admin',(new \App\Models\Echoarea))(you can add more)@endcan:

@if (\App\Models\Echoarea::count() == 0) diff --git a/resources/views/filearea/home.blade.php b/resources/views/filearea/home.blade.php index 1be2673..c342881 100644 --- a/resources/views/filearea/home.blade.php +++ b/resources/views/filearea/home.blade.php @@ -13,7 +13,7 @@
-
+

This system is aware of the following fileareas @can('admin',(new \App\Models\Filearea))(you can add more)@endcan:

@if (\App\Models\Filearea::count() == 0)
Messages
{{ $oo->name }}{{ $oo->name }} {{ $oo->description }}{{ ($x=$oo->echomail()->orderBy('created_at','DESC')->first()) ? $x->created_at->format('Y-m-d H:i') : '-' }}{{ ($x=$oo->echomail()->orderBy('created_at','DESC')->first()) ? $x->created_at->format('Y-m-d H:i') : '-' }} {{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subDay())->count()) }} {{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subWeek())->count()) }} {{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subMonth())->count()) }}
{{ $oo->name }}{{ $oo->name }} {{ $oo->description }}--