From 68f1d331f9b30fed59a87992178a1575f81145db Mon Sep 17 00:00:00 2001 From: cp6 Date: Sun, 13 Nov 2022 15:53:05 +1100 Subject: [PATCH] Updated index view blade for NPM webpack usage Updated index view blade for NPM webpack usage --- resources/views/domains/index.blade.php | 14 +-- resources/views/ips/index.blade.php | 128 +++++++++++----------- resources/views/labels/index.blade.php | 50 ++++----- resources/views/locations/index.blade.php | 48 ++++---- resources/views/misc/index.blade.php | 14 +-- resources/views/os/index.blade.php | 48 ++++---- resources/views/providers/index.blade.php | 40 +++---- resources/views/reseller/index.blade.php | 16 +-- resources/views/seedboxes/index.blade.php | 16 +-- resources/views/shared/index.blade.php | 16 +-- resources/views/yabs/index.blade.php | 8 +- 11 files changed, 167 insertions(+), 231 deletions(-) diff --git a/resources/views/domains/index.blade.php b/resources/views/domains/index.blade.php index ddf05e9..f002a2e 100644 --- a/resources/views/domains/index.blade.php +++ b/resources/views/domains/index.blade.php @@ -1,12 +1,8 @@ -@extends('layouts.index') @section('title', 'Domain names') -@section('css_style') - -@endsection -@section('header') - {{ __('Domains') }} -@endsection -@section('content') + + + {{ __('Domains') }} +
@@ -67,4 +63,4 @@ domains -@endsection + diff --git a/resources/views/ips/index.blade.php b/resources/views/ips/index.blade.php index 8f1d02e..e76e86a 100644 --- a/resources/views/ips/index.blade.php +++ b/resources/views/ips/index.blade.php @@ -1,80 +1,74 @@ -@section("title", "IP addresses") -@section('css_links') - -@endsection -@section('style') - -@endsection -@section('scripts') - -@endsection +@section('title', 'IP addresses') - {{ __('IP Addresses') }} + {{ __('IP addresses') }}
- - - Add IP -
- - - - - - - - - - @if(!empty($ips)) - @foreach($ips as $ip) - - - - - - @endforeach - @else + + Add IP + +
+
TypeAddressActions
@if ($ip->is_ipv4 === 1) - IPv4 - @else - IPv6 - @endif{{ $ip->address}} -
- @csrf - @method('DELETE') - -
-
+ - + + + - @endif - -
No IPs found.TypeAddressActions
-
-
+ + + @if(!empty($ips)) + @foreach($ips as $ip) + + @if ($ip->is_ipv4 === 1) + IPv4 + @else + IPv6 + @endif + {{ $ip->address}} + +
+ @csrf + @method('DELETE') + +
+ + + @endforeach + @else + + No IPs found. + + @endif + + +
+
+
- - IPs + @section('scripts') + + @endsection
+ diff --git a/resources/views/labels/index.blade.php b/resources/views/labels/index.blade.php index e7ac675..bdca2c9 100644 --- a/resources/views/labels/index.blade.php +++ b/resources/views/labels/index.blade.php @@ -1,19 +1,9 @@ -@section("title", "Labels") -@section('css_links') - -@endsection -@section('style') - -@endsection -@section('scripts') - -@endsection +@section('title', 'Labels') {{ __('Labels') }}
- Add a label @@ -49,26 +39,28 @@ - + +
- - labels + @section('scripts') + + @endsection
diff --git a/resources/views/locations/index.blade.php b/resources/views/locations/index.blade.php index 67421fc..f5b50f8 100644 --- a/resources/views/locations/index.blade.php +++ b/resources/views/locations/index.blade.php @@ -1,19 +1,9 @@ -@section("title", "Locations") -@section('css_links') - -@endsection -@section('style') - -@endsection -@section('scripts') - -@endsection +@section('title', 'Locations') {{ __('Locations') }}
- Add a location @@ -49,25 +39,27 @@ +
- - locations + @section('scripts') + + @endsection
diff --git a/resources/views/misc/index.blade.php b/resources/views/misc/index.blade.php index 8e13e33..ec74719 100644 --- a/resources/views/misc/index.blade.php +++ b/resources/views/misc/index.blade.php @@ -1,12 +1,8 @@ -@extends('layouts.index') @section('title', 'Misc services') -@section('css_style') - -@endsection -@section('header') - {{ __('Misc') }} -@endsection -@section('content') + + + {{ __('Misc') }} +
@@ -68,4 +64,4 @@ misc -@endsection + diff --git a/resources/views/os/index.blade.php b/resources/views/os/index.blade.php index 6eaac02..8259029 100644 --- a/resources/views/os/index.blade.php +++ b/resources/views/os/index.blade.php @@ -1,19 +1,9 @@ -@section("title", "Operating systems") -@section('css_links') - -@endsection -@section('style') - -@endsection -@section('scripts') - -@endsection +@section('title', 'Operating systems') {{ __('Operating systems') }}
- Add an OS @@ -46,25 +36,27 @@ +
- - os + @section('scripts') + + @endsection
diff --git a/resources/views/providers/index.blade.php b/resources/views/providers/index.blade.php index e3cdae6..2661673 100644 --- a/resources/views/providers/index.blade.php +++ b/resources/views/providers/index.blade.php @@ -1,19 +1,9 @@ @section("title", "Providers") -@section('css_links') - -@endsection -@section('style') - -@endsection -@section('scripts') - -@endsection {{ __('Providers') }}
- Add a provider @@ -49,23 +39,25 @@ +
- providers diff --git a/resources/views/reseller/index.blade.php b/resources/views/reseller/index.blade.php index 74cb1a1..d85e664 100644 --- a/resources/views/reseller/index.blade.php +++ b/resources/views/reseller/index.blade.php @@ -1,14 +1,9 @@ -@extends('layouts.index') @section('title', 'Resellers') -@section('css_style') - -@endsection -@section('header') - {{ __('Reseller') }} -@endsection -@section('content') + + + {{ __('Reseller') }} +
-
Add a reseller @@ -68,8 +63,9 @@
+
reseller -@endsection +
diff --git a/resources/views/seedboxes/index.blade.php b/resources/views/seedboxes/index.blade.php index 8bf7a06..c6ea570 100644 --- a/resources/views/seedboxes/index.blade.php +++ b/resources/views/seedboxes/index.blade.php @@ -1,14 +1,9 @@ -@extends('layouts.index') @section('title', 'Seed boxes') -@section('css_style') - -@endsection -@section('header') - {{ __('Seed boxes') }} -@endsection -@section('content') + + + {{ __('Seed boxes') }} +
-
Add a seed box @@ -90,8 +85,9 @@
+
seedboxes -@endsection +
diff --git a/resources/views/shared/index.blade.php b/resources/views/shared/index.blade.php index 8118ad9..30e680f 100644 --- a/resources/views/shared/index.blade.php +++ b/resources/views/shared/index.blade.php @@ -1,14 +1,9 @@ -@extends('layouts.index') @section('title', 'Shared hosting') -@section('css_style') - -@endsection -@section('header') - {{ __('Shared') }} -@endsection -@section('content') + + + {{ __('Shared') }} +
-
Add shared hosting @@ -70,8 +65,9 @@
+
shared -@endsection +
diff --git a/resources/views/yabs/index.blade.php b/resources/views/yabs/index.blade.php index f7f4abc..bbfc6d0 100644 --- a/resources/views/yabs/index.blade.php +++ b/resources/views/yabs/index.blade.php @@ -1,10 +1,4 @@ -@section("title", "YABS results") -@section('style') - -@endsection -@section('scripts') - -@endsection +@section('title', 'YABS results') {{ __('YABS') }}