From 07194a299dce8ea0f564258a675a6bdb0db9d212 Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 13 Oct 2022 16:03:31 +1100 Subject: [PATCH] Updated views title @section Updated views title @section This method removes the whitespace --- resources/views/account/index.blade.php | 2 +- resources/views/dns/create.blade.php | 2 +- resources/views/dns/edit.blade.php | 2 +- resources/views/dns/index.blade.php | 2 +- resources/views/dns/show.blade.php | 2 +- resources/views/domains/create.blade.php | 2 +- resources/views/domains/edit.blade.php | 2 +- resources/views/domains/index.blade.php | 2 +- resources/views/domains/show.blade.php | 4 +--- resources/views/home.blade.php | 2 +- resources/views/ips/create.blade.php | 2 +- resources/views/ips/index.blade.php | 2 +- resources/views/labels/create.blade.php | 2 +- resources/views/labels/index.blade.php | 2 +- resources/views/labels/show.blade.php | 2 +- resources/views/locations/create.blade.php | 2 +- resources/views/locations/index.blade.php | 2 +- resources/views/locations/show.blade.php | 2 +- resources/views/misc/create.blade.php | 2 +- resources/views/misc/edit.blade.php | 2 +- resources/views/misc/index.blade.php | 2 +- resources/views/misc/show.blade.php | 2 +- resources/views/os/create.blade.php | 2 +- resources/views/os/index.blade.php | 2 +- resources/views/providers/create.blade.php | 2 +- resources/views/providers/index.blade.php | 2 +- resources/views/providers/show.blade.php | 2 +- resources/views/reseller/create.blade.php | 2 +- resources/views/reseller/edit.blade.php | 2 +- resources/views/reseller/index.blade.php | 2 +- resources/views/reseller/show.blade.php | 2 +- resources/views/seedboxes/create.blade.php | 2 +- resources/views/seedboxes/edit.blade.php | 2 +- resources/views/seedboxes/index.blade.php | 2 +- resources/views/seedboxes/show.blade.php | 2 +- resources/views/servers/choose-compare.blade.php | 2 +- resources/views/servers/compare.blade.php | 4 +--- resources/views/servers/create.blade.php | 2 +- resources/views/servers/edit.blade.php | 4 +--- resources/views/servers/index-cards.blade.php | 4 +--- resources/views/servers/index.blade.php | 2 +- resources/views/servers/public-index.blade.php | 2 +- resources/views/servers/show.blade.php | 4 +--- resources/views/settings/index.blade.php | 2 +- resources/views/shared/create.blade.php | 2 +- resources/views/shared/edit.blade.php | 2 +- resources/views/shared/index.blade.php | 2 +- resources/views/shared/show.blade.php | 2 +- resources/views/yabs/choose-compare.blade.php | 4 +--- resources/views/yabs/compare.blade.php | 2 +- resources/views/yabs/create.blade.php | 2 +- resources/views/yabs/index.blade.php | 2 +- resources/views/yabs/show.blade.php | 2 +- 53 files changed, 53 insertions(+), 65 deletions(-) diff --git a/resources/views/account/index.blade.php b/resources/views/account/index.blade.php index 55a3f57..4a25290 100644 --- a/resources/views/account/index.blade.php +++ b/resources/views/account/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Edit account'}} @endsection +@section("title", "Edit account") Edit account diff --git a/resources/views/dns/create.blade.php b/resources/views/dns/create.blade.php index 4c22ccf..7339c26 100644 --- a/resources/views/dns/create.blade.php +++ b/resources/views/dns/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert DNS'}} @endsection +@section("title", "Insert DNS") {{ __('Insert a new DNS') }} diff --git a/resources/views/dns/edit.blade.php b/resources/views/dns/edit.blade.php index babd88d..6f7274b 100644 --- a/resources/views/dns/edit.blade.php +++ b/resources/views/dns/edit.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Edit'}} {{ $dn->hostname }} {{$dn->dns_type}} {{'DNS'}} @endsection +@section("title", "Edit {$dn->hostname} {$dn->dns_type} DNS") Edit {{ $dn->hostname }} {{$dn->dns_type}} record diff --git a/resources/views/dns/index.blade.php b/resources/views/dns/index.blade.php index cc2e881..565ee03 100644 --- a/resources/views/dns/index.blade.php +++ b/resources/views/dns/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'DNS'}} @endsection +@section("title", "DNS") @section('style') @endsection diff --git a/resources/views/dns/show.blade.php b/resources/views/dns/show.blade.php index ca575ee..57329e9 100644 --- a/resources/views/dns/show.blade.php +++ b/resources/views/dns/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{ $dns->hostname }} {{$dns->dns_type}} {{'dns'}} @endsection +@section("title", "{$dns->hostname} {$dns->dns_type} DNS") {{ __('DNS details') }} diff --git a/resources/views/domains/create.blade.php b/resources/views/domains/create.blade.php index f0094b7..880b0c5 100644 --- a/resources/views/domains/create.blade.php +++ b/resources/views/domains/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert domain'}} @endsection +@section("title", "Insert Domain") {{ __('Insert a new domain') }} diff --git a/resources/views/domains/edit.blade.php b/resources/views/domains/edit.blade.php index e70c0b4..ce9013f 100644 --- a/resources/views/domains/edit.blade.php +++ b/resources/views/domains/edit.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Edit domain'}} @endsection +@section("title", "Edit Domain") Edit {{ $domain_info->domain }}.{{ $domain_info->extension }} diff --git a/resources/views/domains/index.blade.php b/resources/views/domains/index.blade.php index c4eae36..d49e1d9 100644 --- a/resources/views/domains/index.blade.php +++ b/resources/views/domains/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Domains'}} @endsection +@section("title", "Domains") @section('style') @endsection diff --git a/resources/views/domains/show.blade.php b/resources/views/domains/show.blade.php index 0a72b69..76d0fba 100644 --- a/resources/views/domains/show.blade.php +++ b/resources/views/domains/show.blade.php @@ -1,6 +1,4 @@ -@section('title') - {{ $domain_info->domain }}.{{$domain_info->extension}} {{'domain'}} -@endsection +@section("title", "{$domain_info->domain }.{$domain_info->extension} domain") {{ __('Domain details') }} diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 8a0587b..1d6e3c7 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Home'}} @endsection +@section("title", "Home")
@if (Route::has('login')) diff --git a/resources/views/ips/create.blade.php b/resources/views/ips/create.blade.php index 35c7212..71b1a12 100644 --- a/resources/views/ips/create.blade.php +++ b/resources/views/ips/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert IP address'}} @endsection +@section("title", "Insert IP address") {{ __('Insert a new IP') }} diff --git a/resources/views/ips/index.blade.php b/resources/views/ips/index.blade.php index b18b96f..a4390ad 100644 --- a/resources/views/ips/index.blade.php +++ b/resources/views/ips/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'IP Addresses'}} @endsection +@section("title", "IP addresses") @section('css_links') @endsection diff --git a/resources/views/labels/create.blade.php b/resources/views/labels/create.blade.php index aa44e0b..eccc6d4 100644 --- a/resources/views/labels/create.blade.php +++ b/resources/views/labels/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert project'}} @endsection +@section("title", "Add label") {{ __('Insert a new label') }} diff --git a/resources/views/labels/index.blade.php b/resources/views/labels/index.blade.php index 58914d1..e96940b 100644 --- a/resources/views/labels/index.blade.php +++ b/resources/views/labels/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Labels'}} @endsection +@section("title", "Labels") @section('css_links') @endsection diff --git a/resources/views/labels/show.blade.php b/resources/views/labels/show.blade.php index af7d3ee..2949b71 100644 --- a/resources/views/labels/show.blade.php +++ b/resources/views/labels/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{ $label->label }} {{'label'}} @endsection +@section("title", "{$label->label} label") {{ __('Label details') }} diff --git a/resources/views/locations/create.blade.php b/resources/views/locations/create.blade.php index b613798..7f23c74 100644 --- a/resources/views/locations/create.blade.php +++ b/resources/views/locations/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert location'}} @endsection +@section("title", "Insert Location") {{ __('Insert a new location') }} diff --git a/resources/views/locations/index.blade.php b/resources/views/locations/index.blade.php index 4639ea1..07e51e5 100644 --- a/resources/views/locations/index.blade.php +++ b/resources/views/locations/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Locations'}} @endsection +@section("title", "Locations") @section('css_links') @endsection diff --git a/resources/views/locations/show.blade.php b/resources/views/locations/show.blade.php index 5e18bd7..6ecf7f3 100644 --- a/resources/views/locations/show.blade.php +++ b/resources/views/locations/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{ $location->name }} {{'location'}} @endsection +@section("title", "{$location->name} location") {{ __('Location details') }} diff --git a/resources/views/misc/create.blade.php b/resources/views/misc/create.blade.php index 419f3a7..df16ec6 100644 --- a/resources/views/misc/create.blade.php +++ b/resources/views/misc/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert misc service'}} @endsection +@section("title", "Insert misc service") {{ __('Insert a new misc service') }} diff --git a/resources/views/misc/edit.blade.php b/resources/views/misc/edit.blade.php index 99f3c87..dd2a09e 100644 --- a/resources/views/misc/edit.blade.php +++ b/resources/views/misc/edit.blade.php @@ -1,4 +1,4 @@ -@section('title') {{$misc_data->name}} {{'edit'}} @endsection +@section("title", "{$misc_data->name} edit") Edit {{ $misc_data->name }} diff --git a/resources/views/misc/index.blade.php b/resources/views/misc/index.blade.php index 567362b..c91f044 100644 --- a/resources/views/misc/index.blade.php +++ b/resources/views/misc/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Misc services'}} @endsection +@section("title", "Misc services") @section('style') @endsection diff --git a/resources/views/misc/show.blade.php b/resources/views/misc/show.blade.php index 8bb5e4c..1390545 100644 --- a/resources/views/misc/show.blade.php +++ b/resources/views/misc/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{ $misc_data->name }} {{'service'}} @endsection +@section("title", "{$misc_data->name} service") {{ __('Misc details') }} diff --git a/resources/views/os/create.blade.php b/resources/views/os/create.blade.php index 879eefd..b2f15fc 100644 --- a/resources/views/os/create.blade.php +++ b/resources/views/os/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert operating system'}} @endsection +@section("title", "Insert operating system") {{ __('Insert a new OS') }} diff --git a/resources/views/os/index.blade.php b/resources/views/os/index.blade.php index 3569103..f4d4327 100644 --- a/resources/views/os/index.blade.php +++ b/resources/views/os/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Operating systems'}} @endsection +@section("title", "Operating systems") @section('css_links') @endsection diff --git a/resources/views/providers/create.blade.php b/resources/views/providers/create.blade.php index e9e1676..98e237b 100644 --- a/resources/views/providers/create.blade.php +++ b/resources/views/providers/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Insert provider'}} @endsection +@section("title", "Insert provider") {{ __('Insert a new provider') }} diff --git a/resources/views/providers/index.blade.php b/resources/views/providers/index.blade.php index 81bd2e0..c8bf3db 100644 --- a/resources/views/providers/index.blade.php +++ b/resources/views/providers/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Providers'}} @endsection +@section("title", "Providers") @section('css_links') @endsection diff --git a/resources/views/providers/show.blade.php b/resources/views/providers/show.blade.php index 9898d41..cee0f13 100644 --- a/resources/views/providers/show.blade.php +++ b/resources/views/providers/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{ $provider->name }} {{'provider'}} @endsection +@section("title", "{$provider->name } provider") {{ __('Provider details') }} diff --git a/resources/views/reseller/create.blade.php b/resources/views/reseller/create.blade.php index b4e4ee4..8129791 100644 --- a/resources/views/reseller/create.blade.php +++ b/resources/views/reseller/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Enter new reseller hosting'}} @endsection +@section("title", "Enter new reseller hosting") {{ __('Insert a new reseller hosting') }} diff --git a/resources/views/reseller/edit.blade.php b/resources/views/reseller/edit.blade.php index 8cee131..38340b2 100644 --- a/resources/views/reseller/edit.blade.php +++ b/resources/views/reseller/edit.blade.php @@ -1,4 +1,4 @@ -@section('title') {{$reseller->main_domain}} {{'edit'}} @endsection +@section("title", "{$reseller->main_domain} edit") Edit {{ $reseller->main_domain }} diff --git a/resources/views/reseller/index.blade.php b/resources/views/reseller/index.blade.php index 05d2641..edaae17 100644 --- a/resources/views/reseller/index.blade.php +++ b/resources/views/reseller/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Resellers'}} @endsection +@section("title", "Resellers") @section('style') @endsection diff --git a/resources/views/reseller/show.blade.php b/resources/views/reseller/show.blade.php index 78d7b25..638cc64 100644 --- a/resources/views/reseller/show.blade.php +++ b/resources/views/reseller/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{$reseller->main_domain}} {{'reseller hosting'}} @endsection +@section("title", "{$reseller->main_domain} reseller hosting") {{ __('Reseller hosting details') }} diff --git a/resources/views/seedboxes/create.blade.php b/resources/views/seedboxes/create.blade.php index 108a989..d9b393c 100644 --- a/resources/views/seedboxes/create.blade.php +++ b/resources/views/seedboxes/create.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Enter new seed box'}} @endsection +@section("title", "Enter new seed box") {{ __('Insert a new seed box') }} diff --git a/resources/views/seedboxes/edit.blade.php b/resources/views/seedboxes/edit.blade.php index 737c7bd..2118000 100644 --- a/resources/views/seedboxes/edit.blade.php +++ b/resources/views/seedboxes/edit.blade.php @@ -1,4 +1,4 @@ -@section('title') {{$seedbox_data->title}} {{'edit'}} @endsection +@section("title", "{$seedbox_data->title} edit") Edit {{ $seedbox_data->title }} diff --git a/resources/views/seedboxes/index.blade.php b/resources/views/seedboxes/index.blade.php index 699f6f2..bb254ee 100644 --- a/resources/views/seedboxes/index.blade.php +++ b/resources/views/seedboxes/index.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Seed boxes'}} @endsection +@section("title", "Seed boxes") @section('style') @endsection diff --git a/resources/views/seedboxes/show.blade.php b/resources/views/seedboxes/show.blade.php index 579a95d..b5e7cdf 100644 --- a/resources/views/seedboxes/show.blade.php +++ b/resources/views/seedboxes/show.blade.php @@ -1,4 +1,4 @@ -@section('title') {{$seedbox_data->title}} {{'Seed box'}} @endsection +@section("title", "{$seedbox_data->title} seed box") {{ __('Seed box details') }} diff --git a/resources/views/servers/choose-compare.blade.php b/resources/views/servers/choose-compare.blade.php index 82154eb..158fcbf 100644 --- a/resources/views/servers/choose-compare.blade.php +++ b/resources/views/servers/choose-compare.blade.php @@ -1,4 +1,4 @@ -@section('title') {{'Choose servers'}} @endsection +@section("title", "Choose servers") @section('scripts') @endsection diff --git a/resources/views/servers/compare.blade.php b/resources/views/servers/compare.blade.php index cd11811..2a7234e 100644 --- a/resources/views/servers/compare.blade.php +++ b/resources/views/servers/compare.blade.php @@ -1,6 +1,4 @@ -@section('title') - {{'Compare servers'}} -@endsection +@section("title", "Compare servers") @section('style')