From cfbc1bf3ca333a410080834bad74d67adbe18678 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 14 Sep 2023 23:50:07 +1000 Subject: [PATCH] Updated homepage tables to remove card with padding, made tables rounded --- resources/views/home.blade.php | 501 +++++++++++++++++---------------- 1 file changed, 255 insertions(+), 246 deletions(-) diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 9c1d762..d6590b3 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,256 +1,265 @@ @section("title", "Home") -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ @if($information['servers_summary']['disk_gb_sum'] >= 1000) + + @else + + @endif +
+
+ +
+
+ +
+
+ +
+ + @if(Session::get('due_soon_amount') > 0) +

Due soon

+ @if(!empty($information['due_soon'])) +
+
+ + + + + + + + + + + + @foreach($information['due_soon'] as $due_soon) + + + + + + + + @endforeach + +
NameTypeDuePrice
+ @if($due_soon->service_type === 1) + {{$due_soon->hostname}} + @elseif($due_soon->service_type === 2) + {{$due_soon->main_domain}} + @elseif($due_soon->service_type === 3) + {{$due_soon->reseller}} + @elseif($due_soon->service_type === 4) + {{$due_soon->domain}}.{{$due_soon->extension}} + @elseif($due_soon->service_type === 5) + {{$due_soon->name}} + @elseif($due_soon->service_type === 6) + {{$due_soon->title}} + @endif + + @if($due_soon->service_type === 1) + VPS + @elseif($due_soon->service_type === 2) + Shared + @elseif($due_soon->service_type === 3) + Reseller + @elseif($due_soon->service_type === 4) + Domain + @elseif($due_soon->service_type === 5) + Misc + @elseif($due_soon->service_type === 6) + Seedbox + @endif + + {{Carbon\Carbon::parse($due_soon->next_due_date)->diffForHumans()}}{{$due_soon->price}} {{$due_soon->currency}} {{\App\Process::paymentTermIntToString($due_soon->term)}} + @if($due_soon->service_type === 1) + + @elseif($due_soon->service_type === 2) + + @elseif($due_soon->service_type === 3) + + @elseif($due_soon->service_type === 4) + + @elseif($due_soon->service_type === 5) + + @elseif($due_soon->service_type === 6) + + @endif +
+
+ @endif + @endif -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- + @if(Session::get('recently_added_amount') > 0) +

Recently added

+ @if(!empty($information['newest'])) +
+
+ + + + + + + + + + + + @foreach($information['newest'] as $new) + + + + + + + + @endforeach + +
NameTypeAddedPrice
+ @if($new->service_type === 1) + {{$new->hostname}} + @elseif($new->service_type === 2) + {{$new->main_domain}} + @elseif($new->service_type === 3) + {{$new->reseller}} + @elseif($new->service_type === 4) + {{$new->domain}}.{{$new->extension}} + @elseif($new->service_type === 5) + {{$new->name}} + @elseif($new->service_type === 6) + {{$new->title}} + @endif + + @if($new->service_type === 1) + VPS + @elseif($new->service_type === 2) + Shared + @elseif($new->service_type === 3) + Reseller + @elseif($new->service_type === 4) + Domain + @elseif($new->service_type === 5) + Misc + @elseif($new->service_type === 6) + Seedbox + @endif + {{Carbon\Carbon::parse($new->created_at)->diffForHumans()}}{{$new->price}} {{$new->currency}} {{\App\Process::paymentTermIntToString($new->term)}} + @if($new->service_type === 1) + + @elseif($new->service_type === 2) + + @elseif($new->service_type === 3) + + @elseif($new->service_type === 4) + + @elseif($new->service_type === 5) + + @elseif($new->service_type === 6) + + @endif +
+ @endif + @endif -
-
- -
-
- -
-
- @if($information['servers_summary']['disk_gb_sum'] >= 1000) - - @else - - @endif -
-
- -
-
- -
-
- -
- - @if(Session::get('due_soon_amount') > 0) -

Due soon

- @if(!empty($information['due_soon'])) -
-
-
- - - - - - - - - - - - @foreach($information['due_soon'] as $due_soon) - - - - - - - - @endforeach - -
NameTypeDuePrice
- @if($due_soon->service_type === 1) - {{$due_soon->hostname}} - @elseif($due_soon->service_type === 2) - {{$due_soon->main_domain}} - @elseif($due_soon->service_type === 3) - {{$due_soon->reseller}} - @elseif($due_soon->service_type === 4) - {{$due_soon->domain}}.{{$due_soon->extension}} - @elseif($due_soon->service_type === 5) - {{$due_soon->name}} - @elseif($due_soon->service_type === 6) - {{$due_soon->title}} - @endif - - @if($due_soon->service_type === 1) - VPS - @elseif($due_soon->service_type === 2) - Shared - @elseif($due_soon->service_type === 3) - Reseller - @elseif($due_soon->service_type === 4) - Domain - @elseif($due_soon->service_type === 5) - Misc - @elseif($due_soon->service_type === 6) - Seedbox - @endif - - {{Carbon\Carbon::parse($due_soon->next_due_date)->diffForHumans()}}{{$due_soon->price}} {{$due_soon->currency}} {{\App\Process::paymentTermIntToString($due_soon->term)}} - @if($due_soon->service_type === 1) - - @elseif($due_soon->service_type === 2) - - @elseif($due_soon->service_type === 3) - - @elseif($due_soon->service_type === 4) - - @elseif($due_soon->service_type === 5) - - @elseif($due_soon->service_type === 6) - - @endif -
- -
-
-
- @endif - @endif - - @if(Session::get('recently_added_amount') > 0) -

Recently added

- @if(!empty($information['newest'])) -
-
-
- - - - - - - - - - - - @foreach($information['newest'] as $new) - - - - - - - - @endforeach - -
NameTypeAddedPrice
- @if($new->service_type === 1) - {{$new->hostname}} - @elseif($new->service_type === 2) - {{$new->main_domain}} - @elseif($new->service_type === 3) - {{$new->reseller}} - @elseif($new->service_type === 4) - {{$new->domain}}.{{$new->extension}} - @elseif($new->service_type === 5) - {{$new->name}} - @elseif($new->service_type === 6) - {{$new->title}} - @endif - - @if($new->service_type === 1) - VPS - @elseif($new->service_type === 2) - Shared - @elseif($new->service_type === 3) - Reseller - @elseif($new->service_type === 4) - Domain - @elseif($new->service_type === 5) - Misc - @elseif($new->service_type === 6) - Seedbox - @endif - {{Carbon\Carbon::parse($new->created_at)->diffForHumans()}}{{$new->price}} {{$new->currency}} {{\App\Process::paymentTermIntToString($new->term)}} - @if($new->service_type === 1) - - @elseif($new->service_type === 2) - - @elseif($new->service_type === 3) - - @elseif($new->service_type === 4) - - @elseif($new->service_type === 5) - - @elseif($new->service_type === 6) - - @endif -
- -
-
-
- @endif - @endif - - @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) -

Page took {{$information['execution_time']}} seconds, - Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}), - Rates By Exchange Rate API - -

- @endif + @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1) +

Page took {{$information['execution_time']}} seconds, + Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}), + Rates By Exchange Rate API + +

+ @endif