Skip to content

A self-hosted media server and file management system

update UI

aminnausin36175050ad89
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php
index 84f7b8c3..71241bee 100644
--- a/resources/views/auth/login.blade.php
+++ b/resources/views/auth/login.blade.php
@@ -10,6 +10,9 @@
Email
</label>
<input class="border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-indigo-500 dark:focus:border-indigo-600 focus:ring-indigo-500 dark:focus:ring-indigo-600 rounded-md shadow-sm block mt-1 w-full" id="email" type="email" name="email" required="required" autofocus="autofocus" autocomplete="username">
+ <ul class="text-sm text-red-600 dark:text-red-400 space-y-1 mt-2">
+ <li>{{$error}}</li>
+ </ul>
</div>
<!-- Password -->
@@ -25,7 +28,7 @@
<!-- Remember Me -->
<div class="block mt-4">
<label for="remember_me" class="inline-flex items-center">
- <input id="remember_me" type="checkbox" class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800" name="remember">
+ <input id="remember_me" type="checkbox" class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800" name="remember_me" type="checkbox">
<span class="ms-2 text-sm text-gray-600 dark:text-gray-400">Remember me</span>
</label>
</div>
diff --git a/resources/views/error.blade.php b/resources/views/error.blade.php
index f310eaa6..7d3c284c 100644
--- a/resources/views/error.blade.php
+++ b/resources/views/error.blade.php
@@ -3,10 +3,12 @@
<div class="max-w-xl mx-auto sm:px-6 lg:px-8">
<div class="flex items-center pt-8 sm:justify-start sm:pt-0">
<div class="px-4 text-lg text-gray-500 border-r border-gray-400 tracking-wider">
- 404 </div>
+ 404
+ </div>
<div class="ml-4 text-lg text-gray-500 uppercase tracking-wider">
- Not Found </div>
+ <?php echo $message ?? "Not Found"?>
+ </div>
</div>
</div>
</main>
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php
index fe9460f5..88befcd2 100644
--- a/resources/views/home.blade.php
+++ b/resources/views/home.blade.php
@@ -80,6 +80,7 @@
<button class="text-gray-700 flex justify-between w-full px-4 py-2 text-sm leading-5 text-left" role="menuitem">Collections</button>
<button class="text-gray-700 flex justify-between w-full px-4 py-2 text-sm leading-5 text-left" role="menuitem">Dashboard</button>
<button class="text-gray-700 flex justify-between w-full px-4 py-2 text-sm leading-5 text-left" role="menuitem">Full History</button>
+ <button class="text-gray-700 flex justify-between w-full px-4 py-2 text-sm leading-5 text-left" role="menuitem"><a href="/jobs/indexFiles" class="w-full h-full">Index Files</a></button>
<span role="menuitem" tabindex="-1" class="flex justify-between w-full px-4 py-2 text-sm leading-5 text-left text-gray-700 cursor-not-allowed opacity-50" aria-disabled="true">New feature (soon)</span>
</section>
<section class="py-1">
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index dbfdb259..70a337bb 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
- <title>Anime? {{ config('app.name', 'Laravel') }}</title>
+ <title>{{ config('app.name', 'Laravel') }}</title>
<!-- Bootstrap -->
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css" rel="stylesheet"> -->