From e63aa56f8ac66cc211876d7be84000c45e4c38cb Mon Sep 17 00:00:00 2001 From: jglass-st Date: Sat, 23 Nov 2024 07:06:15 -0500 Subject: [PATCH] Format blade templates --- resources/views/concepts/create.blade.php | 14 +- resources/views/concepts/index.blade.php | 28 +-- resources/views/concepts/search.blade.php | 24 +-- resources/views/concepts/show.blade.php | 13 +- .../views/entities/entity_step_1.blade.php | 63 +++--- resources/views/home.blade.php | 26 +-- .../views/layouts/accept_cookies.blade.php | 27 ++- resources/views/layouts/app.blade.php | 15 +- .../views/layouts/generic_footer.blade.php | 93 ++++---- resources/views/layouts/navigation.blade.php | 203 ++++++++++-------- resources/views/layouts/snac_layout.blade.php | 85 ++++---- .../repositories/create_step_1.blade.php | 130 ++++++----- resources/views/resources/resource.blade.php | 137 +++++++----- 13 files changed, 475 insertions(+), 383 deletions(-) diff --git a/resources/views/concepts/create.blade.php b/resources/views/concepts/create.blade.php index 39cf9aa..621c1d3 100644 --- a/resources/views/concepts/create.blade.php +++ b/resources/views/concepts/create.blade.php @@ -1,21 +1,19 @@ @extends ('layouts.snac_layout') -@section ('title') -Concepts +@section('title') + Concepts @endsection -@section ('content') +@section('content')

New concept:

- - + +

diff --git a/resources/views/concepts/index.blade.php b/resources/views/concepts/index.blade.php index f82fb59..46ed6fe 100644 --- a/resources/views/concepts/index.blade.php +++ b/resources/views/concepts/index.blade.php @@ -1,34 +1,34 @@ @extends ('layouts.snac_layout') -@section ('content') - @if (session('status')) -
- {{ session('status') }} -
- @endif +@section('content') + @if (session('status')) +
+ {{ session('status') }} +
+ @endif

Vocabulary

- {{-- @if (false) #(permissions.EditResources) + {{-- @if (false) #(permissions.EditResources) @endif @if ($isVocabularyEditor) @endif --}}
- diff --git a/resources/views/concepts/search.blade.php b/resources/views/concepts/search.blade.php index 8bf4644..0f810cd 100644 --- a/resources/views/concepts/search.blade.php +++ b/resources/views/concepts/search.blade.php @@ -1,24 +1,24 @@ @extends ('layouts.snac_layout') -@section ('content') - @if (session('status')) -
- {{ session('status') }} -
- @endif +@section('content') + @if (session('status')) +
+ {{ session('status') }} +
+ @endif

Vocabulary

- {{-- @if (false) #(permissions.EditResources) + {{-- @if (false) #(permissions.EditResources) @endif @if ($isVocabularyEditor) @endif --}} - @auth + @auth - @endauth + @endauth - - @endsection + +@endsection diff --git a/resources/views/concepts/show.blade.php b/resources/views/concepts/show.blade.php index c10cb8c..8997697 100644 --- a/resources/views/concepts/show.blade.php +++ b/resources/views/concepts/show.blade.php @@ -1,6 +1,6 @@ @extends ("layouts.snac_layout") -@section ('content') +@section('content') @if (session('status'))
{{ session('status') }} @@ -22,14 +22,9 @@
- +
@endsection diff --git a/resources/views/entities/entity_step_1.blade.php b/resources/views/entities/entity_step_1.blade.php index c81ad3e..b4ac541 100644 --- a/resources/views/entities/entity_step_1.blade.php +++ b/resources/views/entities/entity_step_1.blade.php @@ -2,12 +2,10 @@ -@section ('title') -Create an Entity +@section('title') + Create an Entity @endsection -@section ('content') +@section('content') -{{--
--}} - {{--
+ {{-- --}} -{{-- Person Names --}} + {{-- Person Names --}} {{--
@@ -120,18 +117,12 @@
--}} -{{-- --}} + {{-- --}} {{-- --}} - + @@ -249,9 +240,9 @@ {{--
--}} - {{-- Tooltip and placeholder for website, with HTTPS --}} - {{-- --}} - {{-- --}} + {{-- Tooltip and placeholder for website, with HTTPS --}} + {{-- --}} + {{-- --}} {{--
--}} {{--
@@ -273,7 +264,7 @@ --}} -{{-- + {{--
@@ -284,18 +275,18 @@
--}} -
- {{--
+
+ {{--
--}} -
-
-
+
+
+
-
+
-{{-- TODO: Access policy --}} + {{-- TODO: Access policy --}} @if ($errors->any())
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 1f34466..aac8e87 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,23 +1,23 @@ @extends('layouts.app') @section('content') -
-
-
-
-
{{ __('Dashboard') }}
+
+
+
+
+
{{ __('Dashboard') }}
-
- @if (session('status')) - - @endif +
+ @if (session('status')) + + @endif - {{ __('You are logged in!') }} + {{ __('You are logged in!') }} +
-
@endsection diff --git a/resources/views/layouts/accept_cookies.blade.php b/resources/views/layouts/accept_cookies.blade.php index 463ab21..9abbb97 100644 --- a/resources/views/layouts/accept_cookies.blade.php +++ b/resources/views/layouts/accept_cookies.blade.php @@ -1,25 +1,27 @@ -