From dd8564a23eb1a2b682db163a9623673f0ad1ba94 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 20 Oct 2022 14:57:30 +1100 Subject: [PATCH] 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