From b6d06a1f37fd239341fba47bb693cc4c37163f04 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 10:24:35 +1100 Subject: [PATCH 01/16] JS cleanup JS cleanup --- resources/views/servers/index.blade.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/resources/views/servers/index.blade.php b/resources/views/servers/index.blade.php index 3157823..291e2be 100644 --- a/resources/views/servers/index.blade.php +++ b/resources/views/servers/index.blade.php @@ -93,9 +93,9 @@ - + @click="checkUp"> @@ -175,9 +175,9 @@ - + @click="checkUp"> @@ -203,7 +203,6 @@ - locations + labels diff --git a/resources/views/misc/index.blade.php b/resources/views/misc/index.blade.php index c91f044..fa71f93 100644 --- a/resources/views/misc/index.blade.php +++ b/resources/views/misc/index.blade.php @@ -51,8 +51,8 @@ @csrf @method('DELETE') - + diff --git a/resources/views/os/index.blade.php b/resources/views/os/index.blade.php index f4d4327..256fe4f 100644 --- a/resources/views/os/index.blade.php +++ b/resources/views/os/index.blade.php @@ -32,8 +32,8 @@ {{ $o->name }}
- +
diff --git a/resources/views/providers/index.blade.php b/resources/views/providers/index.blade.php index c8bf3db..6853abb 100644 --- a/resources/views/providers/index.blade.php +++ b/resources/views/providers/index.blade.php @@ -35,8 +35,8 @@ - + diff --git a/resources/views/reseller/index.blade.php b/resources/views/reseller/index.blade.php index edaae17..cc214e8 100644 --- a/resources/views/reseller/index.blade.php +++ b/resources/views/reseller/index.blade.php @@ -80,23 +80,7 @@

@endif - + + reseller + diff --git a/resources/views/seedboxes/index.blade.php b/resources/views/seedboxes/index.blade.php index bb254ee..bd64aee 100644 --- a/resources/views/seedboxes/index.blade.php +++ b/resources/views/seedboxes/index.blade.php @@ -101,24 +101,7 @@ v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})

@endif - - + + seedboxes + diff --git a/resources/views/shared/index.blade.php b/resources/views/shared/index.blade.php index 9a8111b..53ff798 100644 --- a/resources/views/shared/index.blade.php +++ b/resources/views/shared/index.blade.php @@ -79,24 +79,7 @@ v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})

@endif - - + + shared + diff --git a/resources/views/yabs/index.blade.php b/resources/views/yabs/index.blade.php index 88358a8..b8e5fdc 100644 --- a/resources/views/yabs/index.blade.php +++ b/resources/views/yabs/index.blade.php @@ -64,8 +64,8 @@ - + From c7a9e5ad80db77bb8282393bb17a8513bcdfe09b Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 11:56:53 +1100 Subject: [PATCH 08/16] Added details footer blade component Added details footer blade component --- resources/views/components/details-footer.blade.php | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 resources/views/components/details-footer.blade.php diff --git a/resources/views/components/details-footer.blade.php b/resources/views/components/details-footer.blade.php new file mode 100644 index 0000000..c314195 --- /dev/null +++ b/resources/views/components/details-footer.blade.php @@ -0,0 +1,4 @@ +@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) +

Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP + v{{ PHP_VERSION }})

+@endif From eda9d1b945c769ff9be7d5e252f254cfc8407526 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 11:59:03 +1100 Subject: [PATCH 09/16] Implemented the details footer component Implemented the details footer component --- resources/views/dns/index.blade.php | 7 +- resources/views/domains/index.blade.php | 23 ++-- resources/views/ips/index.blade.php | 7 +- resources/views/labels/index.blade.php | 7 +- resources/views/locations/index.blade.php | 7 +- resources/views/misc/index.blade.php | 7 +- resources/views/os/index.blade.php | 7 +- resources/views/reseller/index.blade.php | 7 +- resources/views/reseller/show.blade.php | 7 +- resources/views/seedboxes/show.blade.php | 7 +- resources/views/servers/index.blade.php | 8 +- resources/views/servers/show.blade.php | 7 +- resources/views/shared/index.blade.php | 5 +- resources/views/shared/show.blade.php | 7 +- resources/views/yabs/index.blade.php | 139 +++++++++++----------- resources/views/yabs/show.blade.php | 7 +- 16 files changed, 95 insertions(+), 164 deletions(-) diff --git a/resources/views/dns/index.blade.php b/resources/views/dns/index.blade.php index b3dd3e4..ce052a5 100644 --- a/resources/views/dns/index.blade.php +++ b/resources/views/dns/index.blade.php @@ -57,12 +57,7 @@ - @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

- Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }} - ) -

- @endif + dns diff --git a/resources/views/domains/index.blade.php b/resources/views/domains/index.blade.php index 6e1acf7..288c8f4 100644 --- a/resources/views/domains/index.blade.php +++ b/resources/views/domains/index.blade.php @@ -10,11 +10,11 @@ {{ __('Domains') }} -
- - - Add a domain - +
+ + + Add a domain +
@@ -32,12 +32,14 @@ @foreach($domains as $domain) + class="text-decoration-none">{{ $domain->domain }} + .{{$domain->extension}} - +
{{ $domain->domain }}.{{$domain->extension}} {{ $domain->owned_since}} {{ now()->diffInDays($domain->price->next_due_date) }} days {{ $domain->provider->name}}{{ $domain->price->price }} {{$domain->price->currency}}{{ $domain->price->price }} + {{$domain->price->currency}}
- @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

- Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }} - ) -

- @endif + domains diff --git a/resources/views/ips/index.blade.php b/resources/views/ips/index.blade.php index d142746..07a1826 100644 --- a/resources/views/ips/index.blade.php +++ b/resources/views/ips/index.blade.php @@ -56,12 +56,7 @@
- @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

- Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }} - ) -

- @endif +
+ + +
+ @include('layouts.navigation') +
+
+

+ @yield('header') +

+
+
+ @yield('content') +
+ +@yield('scripts') + + From dd8564a23eb1a2b682db163a9623673f0ad1ba94 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 14:57:30 +1100 Subject: [PATCH 12/16] Implemented the new index layout for the index pages Implemented the new index layout for the index pages. domains, misc, reseller, seedboxes and shared use this layout --- resources/views/domains/index.blade.php | 17 +++++++---------- resources/views/misc/index.blade.php | 19 ++++++++----------- resources/views/reseller/index.blade.php | 20 ++++++++------------ resources/views/seedboxes/index.blade.php | 22 ++++++++-------------- resources/views/shared/index.blade.php | 17 +++++++---------- 5 files changed, 38 insertions(+), 57 deletions(-) diff --git a/resources/views/domains/index.blade.php b/resources/views/domains/index.blade.php index 288c8f4..9a2022d 100644 --- a/resources/views/domains/index.blade.php +++ b/resources/views/domains/index.blade.php @@ -1,15 +1,12 @@ -@section("title", "Domains") -@section('style') +@extends('layouts.index') +@section('title', 'Domains') +@section('css_style') @endsection -@section('scripts') - - +@section('header') + {{ __('Domains') }} @endsection - - - {{ __('Domains') }} - +@section('content')
@@ -70,4 +67,4 @@ domains - +@endsection diff --git a/resources/views/misc/index.blade.php b/resources/views/misc/index.blade.php index e9083a0..2ba9222 100644 --- a/resources/views/misc/index.blade.php +++ b/resources/views/misc/index.blade.php @@ -1,15 +1,12 @@ -@section("title", "Misc services") -@section('style') +@extends('layouts.index') +@section('title', 'Misc') +@section('css_style') @endsection -@section('scripts') - - +@section('header') + {{ __('Misc') }} @endsection - - - {{ __('Misc services') }} - +@section('content')
@@ -52,7 +49,7 @@ @csrf @method('DELETE') + id="{{$m->id}}" title="{{$m->name}}"> @@ -71,4 +68,4 @@ misc - +@endsection diff --git a/resources/views/reseller/index.blade.php b/resources/views/reseller/index.blade.php index c915ef4..54b2e32 100644 --- a/resources/views/reseller/index.blade.php +++ b/resources/views/reseller/index.blade.php @@ -1,16 +1,12 @@ -@section("title", "Resellers") -@section('style') +@extends('layouts.index') +@section('title', 'Resellers') +@section('css_style') @endsection -@section('scripts') - - +@section('header') + {{ __('Reseller') }} @endsection - - - {{ __('Reseller') }} - - +@section('content')
@@ -73,9 +69,9 @@
- +
reseller -
+@endsection diff --git a/resources/views/seedboxes/index.blade.php b/resources/views/seedboxes/index.blade.php index bd64aee..1cc3b6c 100644 --- a/resources/views/seedboxes/index.blade.php +++ b/resources/views/seedboxes/index.blade.php @@ -1,15 +1,12 @@ -@section("title", "Seed boxes") -@section('style') +@extends('layouts.index') +@section('title', 'Seed boxes') +@section('css_style') @endsection -@section('scripts') - - +@section('header') + {{ __('Seed boxes') }} @endsection - - - {{ __('Seed boxes') }} - +@section('content')
@@ -96,12 +93,9 @@
- @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

Built on Laravel - v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})

- @endif + seedboxes - +@endsection diff --git a/resources/views/shared/index.blade.php b/resources/views/shared/index.blade.php index f8a55d4..8efe86d 100644 --- a/resources/views/shared/index.blade.php +++ b/resources/views/shared/index.blade.php @@ -1,15 +1,12 @@ -@section("title", "Shared hosting") -@section('style') +@extends('layouts.index') +@section('title', 'Shared hosting') +@section('css_style') @endsection -@section('scripts') - - +@section('header') + {{ __('Shared') }} @endsection - - - {{ __('Shared hosting') }} - +@section('content')
@@ -79,4 +76,4 @@ shared - +@endsection From 4de5beb2ea4e90ddbe00e886112dcb43789168e9 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 15:33:50 +1100 Subject: [PATCH 13/16] Implemented the details footer component More Implementing of the details footer component --- resources/views/account/index.blade.php | 6 +----- resources/views/providers/index.blade.php | 5 +---- resources/views/servers/choose-compare.blade.php | 5 +---- resources/views/servers/index-cards.blade.php | 5 +---- resources/views/servers/public-index.blade.php | 5 +---- resources/views/settings/index.blade.php | 5 +---- resources/views/yabs/choose-compare.blade.php | 5 +---- 7 files changed, 7 insertions(+), 29 deletions(-) diff --git a/resources/views/account/index.blade.php b/resources/views/account/index.blade.php index 4a25290..587e006 100644 --- a/resources/views/account/index.blade.php +++ b/resources/views/account/index.blade.php @@ -46,10 +46,6 @@
- @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

@if(isset($timer))@endif Built on - Laravel - v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})

- @endif +
diff --git a/resources/views/providers/index.blade.php b/resources/views/providers/index.blade.php index 6853abb..1215b66 100644 --- a/resources/views/providers/index.blade.php +++ b/resources/views/providers/index.blade.php @@ -49,10 +49,7 @@ - @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

Built on Laravel - v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})

- @endif +