diff options
| author | grothedev <grothedev@gmail.com> | 2025-03-05 21:23:07 -0600 |
|---|---|---|
| committer | grothedev <grothedev@gmail.com> | 2025-03-05 21:23:07 -0600 |
| commit | 607f55c8484930686303c42131c108b8b1cf9eb2 (patch) | |
| tree | 858a5ec6a00ea4293aa8a7e971ce92eae193fb87 | |
| parent | 9ba51ca2586201efc660fc1c899dd378b2d09d0e (diff) | |
fix a migration thing and temporarily disable the home picture idea while working on
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | database/migrations/2025_03_04_050210_link_url_unique.php | 4 | ||||
| -rwxr-xr-x | resources/views/home.blade.php | 15 |
3 files changed, 7 insertions, 13 deletions
@@ -19,6 +19,7 @@ https://laravel.com/docs/11.x/blade - import any model via json - links - break out the canvas cursor renderer from main.js + - homepage image - user dashboard system
\ No newline at end of file diff --git a/database/migrations/2025_03_04_050210_link_url_unique.php b/database/migrations/2025_03_04_050210_link_url_unique.php index 1d75c06..6c95294 100644 --- a/database/migrations/2025_03_04_050210_link_url_unique.php +++ b/database/migrations/2025_03_04_050210_link_url_unique.php @@ -23,6 +23,8 @@ return new class extends Migration */ public function down(): void { - $table->dropUnique('url'); + Schema::table('roles', function (Blueprint $table) { + $table->dropUnique('url'); + }); } }; diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 5531a05..4cb67a6 100755 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -78,18 +78,9 @@ <section id = "pingtest" hidden> <p hx-get = "ping" hx-swap = "innerHTML">Checking connection to API server...</p> </section> - - @if (Auth::user() != null && Auth::user()->role == 0) - <section id = "debuginfo"></section> - <form action = "/import" method = "post"> - <input type = "text" name = "modelType" /> - <input type = "file" name = "jsonFile" /> - <button type = "submit">Import Data from JSON</button> - </form> - @endif - - + </main> +{{-- <?php $files = Storage::disk('public')->files('homeimages'); if (count($files) > 0){ @@ -98,7 +89,7 @@ ?> <section id="home_img_container" style="position: absolute; top: 20%; right: 10%; width: 200px; height: auto;" ondrop="drop(event)" ondragover="allowDrop(event)"> <img src="{{ $homeImgSrc }}" id = "img_home" style="max-width: 100%; height: auto;"> -</section> +</section> --}} @endsection
\ No newline at end of file |
