diff --git a/site/database/migrations/2023_12_18_153319_add_indexes_to_artworks.php b/site/database/migrations/2023_12_18_153319_add_indexes_to_artworks.php new file mode 100644 index 0000000..69f8de4 --- /dev/null +++ b/site/database/migrations/2023_12_18_153319_add_indexes_to_artworks.php @@ -0,0 +1,34 @@ +index('podcast_id'); + $table->index('artist_id'); + $table->index('episode_id'); + $table->index('legacy_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('artworks', function (Blueprint $table) { + $table->dropIndex('podcast_id'); + $table->dropIndex('artist_id'); + $table->dropIndex('episode_id'); + $table->dropIndex('legacy_id'); + }); + } +}; diff --git a/site/database/migrations/2023_12_18_153327_add_indexes_to_artists.php b/site/database/migrations/2023_12_18_153327_add_indexes_to_artists.php new file mode 100644 index 0000000..8944b86 --- /dev/null +++ b/site/database/migrations/2023_12_18_153327_add_indexes_to_artists.php @@ -0,0 +1,28 @@ +index('user_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('artists', function (Blueprint $table) { + $table->dropIndex('user_id'); + }); + } +}; diff --git a/site/database/migrations/2023_12_18_153336_add_indexes_to_podcasts.php b/site/database/migrations/2023_12_18_153336_add_indexes_to_podcasts.php new file mode 100644 index 0000000..9d3c5f7 --- /dev/null +++ b/site/database/migrations/2023_12_18_153336_add_indexes_to_podcasts.php @@ -0,0 +1,28 @@ +index('published'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('podcasts', function (Blueprint $table) { + $table->dropIndex('published'); + }); + } +}; diff --git a/site/database/migrations/2023_12_18_153350_add_indexes_to_episodes.php b/site/database/migrations/2023_12_18_153350_add_indexes_to_episodes.php new file mode 100644 index 0000000..2bebacf --- /dev/null +++ b/site/database/migrations/2023_12_18_153350_add_indexes_to_episodes.php @@ -0,0 +1,34 @@ +index('podcast_id'); + $table->index('artwork_id'); + $table->index('episode_date'); + $table->index('published'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episodes', function (Blueprint $table) { + $table->dropIndex('podcast_id'); + $table->dropIndex('artwork_id'); + $table->dropIndex('episode_date'); + $table->dropIndex('published'); + }); + } +}; diff --git a/site/resources/scss/components/_auth.scss b/site/resources/scss/components/_auth.scss index c388355..8a48d9e 100644 --- a/site/resources/scss/components/_auth.scss +++ b/site/resources/scss/components/_auth.scss @@ -18,3 +18,15 @@ img.avatar_img { max-width: 100%; height: auto; } +label[for=avatar] { + img { + &:hover { + cursor:pointer; + } + } +} +input[name=avatar] { + &.sr-only { + display: none; + } +} diff --git a/site/resources/views/layouts/app.blade.php b/site/resources/views/layouts/app.blade.php index 69da412..48eb51b 100644 --- a/site/resources/views/layouts/app.blade.php +++ b/site/resources/views/layouts/app.blade.php @@ -19,7 +19,7 @@ @endsection @section('page-content') -
+
diff --git a/site/resources/views/profile/edit.blade.php b/site/resources/views/profile/edit.blade.php index ba7e907..5aab319 100644 --- a/site/resources/views/profile/edit.blade.php +++ b/site/resources/views/profile/edit.blade.php @@ -1,3 +1,4 @@ +@extends('layouts.master') @section('additional_headers') @parent @@ -6,29 +7,28 @@ @parent @endsection +@section('page-content')

- {{ __('Manage Account Credentials') }} + {{ __('Manage Account Details') }}

-