diff --git a/resources/css/app.css b/resources/css/app.css index 9796ef6ca..6b05996c5 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -298,6 +298,83 @@ footer { border-color: var(--border-default-dark); } +.auth-page { + background-color: var(--surface-body) !important; +} +.dark .auth-page { + background-color: var(--surface-body-dark) !important; +} +.auth-card { + background-color: var(--surface-card) !important; + border: 1px solid var(--border-default); +} +.dark .auth-card { + background-color: var(--surface-card-dark) !important; + border-color: var(--border-default-dark); +} +.release-chip { + @apply inline-flex items-center rounded px-2 py-0.5 text-xs font-medium; + background-color: var(--surface-panel-alt); + color: rgb(55 65 81); +} +.dark .release-chip { + background-color: var(--surface-panel-alt-dark); + color: rgb(209 213 219); +} +.release-action { + @apply inline-flex items-center justify-center rounded-lg px-2 py-1 text-sm transition; +} +.release-action-sm { + @apply inline-flex items-center justify-center rounded px-3 py-1 text-xs font-medium transition; +} +.release-action-download { + @apply bg-green-600 text-white hover:bg-green-700 dark:bg-green-700 dark:hover:bg-green-800; +} +.release-action-primary { + @apply bg-primary-600 text-white hover:bg-primary-700 dark:bg-primary-700 dark:hover:bg-primary-800; +} +.release-action-muted { + @apply bg-gray-200 text-gray-700 hover:bg-gray-300 dark:bg-gray-700 dark:text-gray-200 dark:hover:bg-gray-600; +} +.surface-prose { + @apply max-w-none text-gray-700 dark:text-gray-300; +} +.surface-prose h1, +.surface-prose h2, +.surface-prose h3, +.surface-prose h4, +.surface-prose h5, +.surface-prose h6 { + @apply mt-6 mb-3 font-semibold text-gray-900 dark:text-gray-100; +} +.surface-prose p, +.surface-prose ul, +.surface-prose ol { + @apply mb-4; +} +.surface-prose ul, +.surface-prose ol { + @apply pl-6; +} +.surface-prose a { + @apply text-primary-600 underline hover:text-primary-700 dark:text-primary-400 dark:hover:text-primary-300; +} +.surface-prose img { + @apply my-6 h-auto max-w-full rounded-lg; +} +.surface-prose blockquote { + @apply my-6 border-l-4 border-gray-200 pl-4 italic text-gray-600 dark:border-gray-700 dark:text-gray-400; +} +.surface-prose code { + @apply rounded bg-gray-100 px-1.5 py-1 text-sm dark:bg-gray-900; +} +.surface-prose pre { + @apply my-6 overflow-x-auto rounded-lg bg-gray-900 p-4 text-gray-50; +} +.surface-prose pre code { + @apply bg-transparent p-0 text-inherit; +} + /* Tables in main content - use scheme surfaces so they match sidebar/header/cards */ main table { background-color: var(--surface-card) !important; diff --git a/resources/views/auth/2fa.blade.php b/resources/views/auth/2fa.blade.php index 6ba6d7009..24b23fa16 100644 --- a/resources/views/auth/2fa.blade.php +++ b/resources/views/auth/2fa.blade.php @@ -1,11 +1,11 @@ @extends('layouts.guest') @section('content') -
+
-
+
@@ -17,7 +17,7 @@

-
+

@@ -34,7 +34,7 @@

@csrf - @@ -44,7 +44,7 @@

- 1 + 1 Scan this barcode with your Google Authenticator App:

@@ -54,7 +54,7 @@

- 2 + 2 Enter the pin code to enable 2FA:

@@ -68,7 +68,7 @@
@error('verify-code') @@ -106,7 +106,7 @@
@error('current-password') @@ -122,7 +122,7 @@ @endif
-
+
Back to home diff --git a/resources/views/auth/2fa_verify.blade.php b/resources/views/auth/2fa_verify.blade.php index e0f335c6e..9ad04c158 100644 --- a/resources/views/auth/2fa_verify.blade.php +++ b/resources/views/auth/2fa_verify.blade.php @@ -1,12 +1,12 @@ @extends('layouts.guest') @section('content') -
+
-
+
@@ -19,7 +19,7 @@
-
+
@if($errors->any())
@@ -40,7 +40,7 @@
- +

Security Verification Required

Open your authenticator app and enter the 6-digit verification code to complete your login.

@@ -72,7 +72,7 @@ required autofocus placeholder="000000" - class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-center text-2xl tracking-widest font-mono bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500" + class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 text-center text-2xl tracking-widest font-mono bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 placeholder-gray-400 dark:placeholder-gray-500" >

Enter the 6-digit code from your authenticator app @@ -86,7 +86,7 @@ name="trust_device" id="trust_device" value="1" - class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 checked:bg-blue-600 dark:checked:bg-blue-600" + class="h-4 w-4 text-primary-600 focus:ring-primary-500 border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-800 checked:bg-primary-600 dark:checked:bg-primary-600" >

-
+
Back to home diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index dc30586d1..b2fc38f6a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,12 +1,12 @@ @extends('layouts.guest') @section('content') -
+
-
+
@@ -19,7 +19,7 @@
-
+
Sign in with password instead @@ -63,7 +63,7 @@ type="button" x-show="supported" @click="usePasskey()" - class="mb-4 inline-flex items-center text-sm font-medium text-blue-600 transition hover:text-blue-500 dark:text-blue-400" + class="mb-4 inline-flex items-center text-sm font-medium text-primary-600 transition hover:text-primary-500 dark:text-primary-400" > Sign in with passkey @@ -89,7 +89,7 @@ value="{{ old('username') }}" required autofocus - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('username') border-red-500 @enderror" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('username') border-red-500 @enderror" placeholder="Enter your username or email" >
@@ -112,7 +112,7 @@ type="password" name="password" required - class="block w-full pl-10 pr-10 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('password') border-red-500 @enderror" + class="block w-full pl-10 pr-10 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('password') border-red-500 @enderror" placeholder="Enter your password" >
@if(Route::has('forgottenpassword')) - + Forgot password? @endif @@ -160,7 +160,7 @@
-
+
@if(Route::has('register')) diff --git a/resources/views/auth/passwords/confirm.blade.php b/resources/views/auth/passwords/confirm.blade.php index 7eaa8a78d..bb5cb716f 100644 --- a/resources/views/auth/passwords/confirm.blade.php +++ b/resources/views/auth/passwords/confirm.blade.php @@ -1,11 +1,11 @@ @extends('layouts.guest') @section('content') -
+
-
+
@@ -17,7 +17,7 @@

-
+
@csrf @@ -36,7 +36,7 @@ name="password" required autocomplete="current-password" - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('password') border-red-500 @enderror" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('password') border-red-500 @enderror" placeholder="Enter your password" >
@@ -48,14 +48,14 @@
@if (Route::has('password.request')) - + {{ __('Forgot Your Password?') }} @endif @@ -63,7 +63,7 @@
-
+
Back to home diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 62a1213c1..502819b30 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -1,12 +1,12 @@ @extends('layouts.guest') @section('content') -
+
-
+
@@ -19,7 +19,7 @@
-
+
@if(isset($errors) && $errors->any()) @@ -57,7 +57,7 @@ value="{{ old('email') }}" required autofocus - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition {{ isset($errors) && $errors->has('email') ? 'border-red-500' : '' }}" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition {{ isset($errors) && $errors->has('email') ? 'border-red-500' : '' }}" placeholder="your@email.com" >
@@ -80,7 +80,7 @@
-
+
- + Back to login diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index db74e472e..890ac18b0 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -1,34 +1,34 @@ @extends('layouts.guest') @section('content') -
+
-
+
-

+

Set New Password

-

+

Choose a strong password for your account

-
+
@if($errors->any()) -
+
- +
-

There were some errors:

-
    +

    There were some errors:

    +
      @foreach($errors->all() as $error)
    • {{ $error }}
    • @endforeach @@ -60,7 +60,7 @@ required autofocus readonly - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-900 text-gray-700 dark:text-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-gray-50 dark:bg-gray-900 text-gray-700 dark:text-gray-300 focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition" >
@@ -79,14 +79,14 @@ type="password" name="password" required - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('password') border-red-500 @enderror" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 dark:placeholder-gray-400 focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('password') border-red-500 @enderror" placeholder="Enter your new password" >
@error('password')

{{ $message }}

@enderror -

Must be at least 8 characters

+

Must be at least 8 characters

@@ -103,7 +103,7 @@ type="password" name="password_confirmation" required - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 dark:placeholder-gray-400 focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition" placeholder="Confirm your new password" >
@@ -113,7 +113,7 @@
-
+
@@ -133,7 +133,7 @@
-

+

© {{ now()->year }} {{ config('app.name') }}. All rights reserved.

diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index bd9c02154..0774d8f5c 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,12 +1,12 @@ @extends('layouts.guest') @section('content') -
+
-
+
@@ -19,7 +19,7 @@
-
+
@if(!empty($error) && $showregister == 0) @@ -43,7 +43,7 @@ @if(!empty($notice))
- +

{{ $notice }}

@@ -88,7 +88,7 @@ value="{{ old('username') }}" required autofocus - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('username') border-red-500 @enderror" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('username') border-red-500 @enderror" placeholder="Choose a username" >
@@ -112,7 +112,7 @@ name="email" value="{{ old('email', $email ?? '') }}" required - class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('email') border-red-500 @enderror" + class="block w-full pl-10 pr-3 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('email') border-red-500 @enderror" placeholder="your@email.com" >
@@ -135,7 +135,7 @@ type="password" name="password" required - class="block w-full pl-10 pr-10 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition @error('password') border-red-500 @enderror" + class="block w-full pl-10 pr-10 py-3 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition @error('password') border-red-500 @enderror" placeholder="Create a strong password" >
@@ -210,7 +210,7 @@
-
+
- + Already have an account? Sign in diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php index b9afa3621..27bdca3c2 100644 --- a/resources/views/auth/verify-email.blade.php +++ b/resources/views/auth/verify-email.blade.php @@ -1,8 +1,8 @@ @extends('layouts.guest') @section('content') -
-
+
+

Verify your email address

@@ -20,7 +20,7 @@ @csrf diff --git a/resources/views/auth/verify.blade.php b/resources/views/auth/verify.blade.php index 99c5e4a6a..fe45ad03c 100644 --- a/resources/views/auth/verify.blade.php +++ b/resources/views/auth/verify.blade.php @@ -1,11 +1,11 @@ @extends('layouts.guest') @section('content') -

+
-
+
@@ -14,7 +14,7 @@
-
+

{{ __('Before proceeding, please check your email for a verification link.') }} @@ -23,14 +23,14 @@ {{ __('If you did not receive the email') }},

@csrf - .

-
+
Back to home diff --git a/resources/views/components/badge.blade.php b/resources/views/components/badge.blade.php index 1afc82024..a39dd4334 100644 --- a/resources/views/components/badge.blade.php +++ b/resources/views/components/badge.blade.php @@ -1,28 +1,27 @@ @blaze @props([ - 'type' => 'default' + 'type' => 'default', + 'size' => 'sm', ]) @php -switch($type) { - case('info'): - $color = 'bg-gray-300'; - break; + $sizes = [ + 'xs' => 'px-2 py-0.5 text-xs', + 'sm' => 'px-2.5 py-0.5 text-xs', + 'md' => 'px-3 py-1 text-sm', + ]; - case('danger'): - $color = 'bg-red-500'; - break; + $tones = [ + 'default' => 'bg-primary-100 text-primary-800 dark:bg-primary-900/50 dark:text-primary-200', + 'info' => 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-200', + 'success' => 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200', + 'danger' => 'bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200', + 'warning' => 'bg-orange-100 text-orange-800 dark:bg-orange-900 dark:text-orange-200', + ]; - case('warning'): - $color = 'bg-orange-500'; - break; - - default: - $color = 'bg-blue-500'; - break; -} + $classes = 'inline-flex items-center rounded-full font-medium '.($sizes[$size] ?? $sizes['sm']).' '.($tones[$type] ?? $tones['default']); @endphp -merge(['class' => "$color rounded-full px-2 py-1 text-white text-xs font-semibold"]) }}> +merge(['class' => $classes]) }}> {{ $slot }} diff --git a/resources/views/components/button-link.blade.php b/resources/views/components/button-link.blade.php index 9911e8814..6e23cb823 100644 --- a/resources/views/components/button-link.blade.php +++ b/resources/views/components/button-link.blade.php @@ -1,4 +1,36 @@ @blaze(fold: true) -merge(['class' => 'bg-blue-500 text-white px-3 py-2 rounded-lg inline-block transition']) }}> +@props([ + 'variant' => 'primary', + 'size' => 'md', + 'icon' => null, +]) + +@php + $base = 'inline-flex items-center justify-center gap-2 rounded-lg border font-semibold transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 dark:focus:ring-offset-gray-900'; + + $sizes = [ + 'sm' => 'px-3 py-1.5 text-xs', + 'md' => 'px-4 py-2 text-sm', + 'lg' => 'px-6 py-3 text-base', + 'icon' => 'h-9 w-9 p-0 text-sm', + ]; + + $variants = [ + 'primary' => 'border-primary-600 bg-primary-600 text-white hover:bg-primary-700 dark:border-primary-700 dark:bg-primary-700 dark:hover:bg-primary-800', + 'secondary' => 'border-gray-300 bg-white text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700', + 'muted' => 'border-transparent bg-gray-100 text-gray-700 hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-200 dark:hover:bg-gray-600', + 'success' => 'border-green-600 bg-green-600 text-white hover:bg-green-700 dark:border-green-700 dark:bg-green-700 dark:hover:bg-green-800', + 'danger' => 'border-red-600 bg-red-600 text-white hover:bg-red-700 dark:border-red-700 dark:bg-red-700 dark:hover:bg-red-800', + 'warning' => 'border-yellow-500 bg-yellow-500 text-white hover:bg-yellow-600 dark:border-yellow-600 dark:bg-yellow-600 dark:hover:bg-yellow-700', + 'ghost' => 'border-transparent bg-transparent text-gray-700 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-800', + ]; + + $classes = $base.' '.($sizes[$size] ?? $sizes['md']).' '.($variants[$variant] ?? $variants['primary']); +@endphp + +merge(['class' => $classes]) }}> + @if($icon) + + @endif {{ $slot }} diff --git a/resources/views/components/button-secondary.blade.php b/resources/views/components/button-secondary.blade.php index 3aae599aa..5e4ecf571 100644 --- a/resources/views/components/button-secondary.blade.php +++ b/resources/views/components/button-secondary.blade.php @@ -1,4 +1,7 @@ -@blaze(fold: true) - + diff --git a/resources/views/components/button.blade.php b/resources/views/components/button.blade.php index 0ec70b462..45388b729 100644 --- a/resources/views/components/button.blade.php +++ b/resources/views/components/button.blade.php @@ -1,4 +1,37 @@ @blaze(fold: true) - diff --git a/resources/views/components/cover-release-list.blade.php b/resources/views/components/cover-release-list.blade.php index 85be3dcb3..a8ccd6364 100644 --- a/resources/views/components/cover-release-list.blade.php +++ b/resources/views/components/cover-release-list.blade.php @@ -30,32 +30,32 @@
@foreach($displayReleases as $release) @if(!empty($release->searchname)) -
+
- + {{ $release->searchname }} @if($shouldShowCheckbox) @endif
@if(isset($release->size)) - + {{ number_format($release->size / 1073741824, 2) }} GB @endif @if(isset($release->postdate)) - + {{ date('M d, Y H:i', strtotime($release->postdate)) }} @endif @if($shouldShowAddDate && isset($release->adddate)) - + {{ userDateDiffForHumans($release->adddate) }} @endif @@ -75,16 +75,16 @@
- + Download @if($shouldShowStats && isset($release->grabs) && $release->grabs > 0) {{ $release->grabs }} @endif - - + Details @if($shouldShowStats && isset($release->comments) && $release->comments > 0) {{ $release->comments }} diff --git a/resources/views/components/input.blade.php b/resources/views/components/input.blade.php index a9ea5ddc3..0c71af7e2 100644 --- a/resources/views/components/input.blade.php +++ b/resources/views/components/input.blade.php @@ -1,3 +1,2 @@ @blaze(fold: true) -merge(['type' => 'text', 'class' => 'px-3 py-2 border-gray-300 dark:border-gray-600 focus:border-blue-500 focus:ring-blue-500 rounded-lg border shadow-sm bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 transition']) }}> - +merge(['type' => 'text', 'class' => 'w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-gray-900 shadow-sm transition placeholder:text-gray-400 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-100 dark:placeholder:text-gray-500']) }}> diff --git a/resources/views/components/label.blade.php b/resources/views/components/label.blade.php index e2cd8b673..61ea661ac 100644 --- a/resources/views/components/label.blade.php +++ b/resources/views/components/label.blade.php @@ -1,4 +1,4 @@ @blaze(fold: true) -
- + - + - + @if(!empty($result->imdbid) && imdb_id_is_valid($result->imdbid)) @@ -246,13 +246,13 @@ {{ $result->comments ?? 0 }}
- + - + - + @if(!empty($result->imdbid) && imdb_id_is_valid($result->imdbid)) diff --git a/resources/views/components/report-button.blade.php b/resources/views/components/report-button.blade.php index f37538637..cde5f97e5 100644 --- a/resources/views/components/report-button.blade.php +++ b/resources/views/components/report-button.blade.php @@ -27,7 +27,7 @@ @elseif($variant === 'button-lg') @endif @endauth - diff --git a/resources/views/components/search-autocomplete.blade.php b/resources/views/components/search-autocomplete.blade.php index af0b64488..17966e16c 100644 --- a/resources/views/components/search-autocomplete.blade.php +++ b/resources/views/components/search-autocomplete.blade.php @@ -26,7 +26,7 @@
@if($categorySelect && !empty($categories)) merge(['class' => 'px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 transition']) }}> + - diff --git a/resources/views/components/sort-dropdown.blade.php b/resources/views/components/sort-dropdown.blade.php index b76763d36..9eb83f0db 100644 --- a/resources/views/components/sort-dropdown.blade.php +++ b/resources/views/components/sort-dropdown.blade.php @@ -2,7 +2,7 @@ @endif @if(($release->totalpart ?? 0) > 0) - @endif @auth @if(auth()->user()->hasRole('Admin') || auth()->user()->hasRole('Moderator')) - + Edit Release @endif @@ -750,7 +750,7 @@
Password
@if(!empty($release->password)) -
+
{{ $release->password }}

@@ -758,7 +758,7 @@ This password is embedded in the NZB file and will be automatically recognized by NZBGet or SABnzbd.

@else -
+
None

@@ -784,7 +784,7 @@

Video Details

-
+
@if(!empty($reVideo['containerformat']))
@@ -857,7 +857,7 @@ Audio Details @foreach($reAudio as $index => $audio) -
+
@if(count($reAudio) > 1)

Track {{ $index + 1 }}

@endif @@ -909,7 +909,7 @@

Subtitles

-
+

{{ $reSubs->subs }}

@@ -1020,7 +1020,7 @@ @if(isset($comments) && count($comments) > 0)
@foreach($comments as $comment) -
+
@@ -1040,7 +1040,7 @@ @endforeach
@else -
+

No comments yet. Be the first to comment!

diff --git a/resources/views/home/index.blade.php b/resources/views/home/index.blade.php index e69de29bb..3be530fdd 100644 --- a/resources/views/home/index.blade.php +++ b/resources/views/home/index.blade.php @@ -0,0 +1,17 @@ +@extends('layouts.main') + +@section('content') + +
+
+

Welcome back

+

Jump back into browsing releases, searching the index, or managing your account.

+
+ +
+ Search + Browse +
+
+
+@endsection diff --git a/resources/views/layouts/main.blade.php b/resources/views/layouts/main.blade.php index d96a38b0e..f5785193d 100644 --- a/resources/views/layouts/main.blade.php +++ b/resources/views/layouts/main.blade.php @@ -32,11 +32,11 @@ @stack('meta') @stack('styles') - +
@auth -