From 5285d2c0462be4431f317dff0117e1cbec1af74f Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Wed, 20 Jan 2021 01:01:05 +0100 Subject: [PATCH] Stuff --- .../2021_01_19_224339_image_details.php | 2 +- .../gallery/gallery-detail/list.blade.php | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/database/migrations/2021_01_19_224339_image_details.php b/database/migrations/2021_01_19_224339_image_details.php index d65203a..1d8a6e2 100644 --- a/database/migrations/2021_01_19_224339_image_details.php +++ b/database/migrations/2021_01_19_224339_image_details.php @@ -18,7 +18,7 @@ class ImageDetails extends Migration $table->dateTime("DateTimeOriginal")->nullable()->default(null); $table->integer("rating")->default(100); $table->string("name")->nullable()->default(null); - $table->string("description")->nullable()->default(null); + $table->mediumText("description")->nullable()->default(null); }); } diff --git a/resources/views/themes/gallery/gallery-detail/list.blade.php b/resources/views/themes/gallery/gallery-detail/list.blade.php index 3ebc7c9..c185a56 100644 --- a/resources/views/themes/gallery/gallery-detail/list.blade.php +++ b/resources/views/themes/gallery/gallery-detail/list.blade.php @@ -1,22 +1,36 @@ @extends('layout/template') @section('content') -
+
@foreach($images as $image) - + @endforeach
+
+
+

+

+
+
@endsection @section('js') +