diff --git a/resources/css/csp-safe.css b/resources/css/csp-safe.css index 3e1d35070..b41accb76 100644 --- a/resources/css/csp-safe.css +++ b/resources/css/csp-safe.css @@ -146,6 +146,7 @@ code.api-token::-webkit-scrollbar-thumb { code.api-token::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 0, 0.5); } + /* Profile Page Styles */ /* Tab content visibility */ @@ -153,35 +154,6 @@ code.api-token::-webkit-scrollbar-thumb:hover { display: none; } -/* Progress bar animations */ -.progress-bar { - transition: width 0.3s ease-in-out; -} - -/* Custom scrollbar for API token code blocks */ -code.api-token { - overflow-x: auto; - word-break: break-all; -} - -code.api-token::-webkit-scrollbar { - height: 6px; -} - -code.api-token::-webkit-scrollbar-track { - background: rgba(0, 0, 0, 0.1); - border-radius: 3px; -} - -code.api-token::-webkit-scrollbar-thumb { - background: rgba(0, 255, 0, 0.3); - border-radius: 3px; -} - -code.api-token::-webkit-scrollbar-thumb:hover { - background: rgba(0, 255, 0, 0.5); -} - /* Toast Notifications */ #toast-container { position: fixed; @@ -884,3 +856,94 @@ code.api-token::-webkit-scrollbar-thumb:hover { margin-top: 0.5rem; } +/* Sidebar - Useful Links Content Styling */ +.useful-link-content { + max-width: 100%; + overflow-wrap: break-word; + word-wrap: break-word; +} + +.useful-link-content img { + max-width: 100%; + height: auto; + border-radius: 0.375rem; + margin: 0.5rem 0; + display: block; +} + +.useful-link-content p { + margin-bottom: 0.5rem; + line-height: 1.5; +} + +.useful-link-content p:last-child { + margin-bottom: 0; +} + +.useful-link-content a { + color: #60a5fa; + text-decoration: underline; +} + +.useful-link-content a:hover { + color: #93c5fd; +} + +.useful-link-content ul, +.useful-link-content ol { + margin: 0.5rem 0; + padding-left: 1.5rem; +} + +.useful-link-content li { + margin-bottom: 0.25rem; +} + +.useful-link-content h1, +.useful-link-content h2, +.useful-link-content h3, +.useful-link-content h4, +.useful-link-content h5, +.useful-link-content h6 { + font-weight: 600; + margin-top: 0.75rem; + margin-bottom: 0.5rem; + color: #e5e7eb; +} + +.useful-link-content h1 { font-size: 1.25rem; } +.useful-link-content h2 { font-size: 1.125rem; } +.useful-link-content h3 { font-size: 1rem; } +.useful-link-content h4, +.useful-link-content h5, +.useful-link-content h6 { font-size: 0.875rem; } + +.useful-link-content blockquote { + border-left: 3px solid #4b5563; + padding-left: 1rem; + margin: 0.5rem 0; + font-style: italic; + color: #9ca3af; +} + +.useful-link-content code { + background-color: #374151; + padding: 0.125rem 0.25rem; + border-radius: 0.25rem; + font-size: 0.875em; + font-family: monospace; +} + +.useful-link-content pre { + background-color: #1f2937; + padding: 0.75rem; + border-radius: 0.375rem; + overflow-x: auto; + margin: 0.5rem 0; +} + +.useful-link-content pre code { + background-color: transparent; + padding: 0; +} + diff --git a/resources/views/admin/categories/index.blade.php b/resources/views/admin/categories/index.blade.php index 473a5fcc1..6a68b3e24 100644 --- a/resources/views/admin/categories/index.blade.php +++ b/resources/views/admin/categories/index.blade.php @@ -165,7 +165,7 @@
{{ session('success') }}
-{{ session('error') }}
-Two factor authentication (2FA) strengthens access security by requiring two methods (also referred to as factors) to verify your identity. Two factor authentication protects against phishing, social engineering and password brute force attacks and secures your logins from attackers exploiting weak or stolen credentials.
-To Enable Two Factor Authentication on your Account, you need to do following steps
- -If you are looking to disable Two Factor Authentication. Please confirm your password and Click Disable 2FA Button.
-+ Strengthens access security by requiring two methods to verify your identity. +
++ Two factor authentication protects against phishing, social engineering and password brute force attacks by requiring a second verification step. +
+To enable 2FA on your account:
++ 1 + Scan this barcode with your Google Authenticator App: +
++ 2 + Enter the pin code to enable 2FA: +
+{{ $message }}
+ @enderror ++ To disable Two Factor Authentication, confirm your password and click the button below. +
+ +{{ $message }}
+ @enderror +Two factor authentication (2FA) strengthens access security by requiring two methods (also referred to as factors) to verify your identity. Two factor authentication protects against phishing, social engineering and password brute force attacks and secures your logins from attackers exploiting weak or stolen credentials.
- - @if (session('error')) -{{ $message }}
+ @enderror ++ {{ __('Please confirm your password before continuing.') }} +
+{{ $message }}
+ @enderror ++ {{ __('Before proceeding, please check your email for a verification link.') }} +
++ {{ __('If you did not receive the email') }}, +
| + | @@ -112,6 +113,44 @@ |
|---|
| - Email - | -- Status - | -- Sent Date - | -- Expires - | -- Used By - | -- Used Date - | -- Actions - | +Status | +Sent | +Expires | +Used By | +Used Date | +Actions | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
-
-
- {{ $invitation['email'] }}
-
+ | |||||||||||||
| + {{ $invitation['email'] }} | -+ | @if($invitation['used_at']) - - Accepted - + Accepted @elseif($invitation['expires_at'] < time()) - - Expired - + Expired @elseif(!$invitation['is_active']) - - Cancelled - + Cancelled @else - - Pending - + Pending @endif | -
-
-
- {{ date('M j, Y', $invitation['created_at']) }}
- {{ date('H:i', $invitation['created_at']) }}
-
+ | + {{ date('M j, Y', $invitation['created_at']) }} {{ date('H:i', $invitation['created_at']) }} | -
-
-
- {{ date('M j, Y', $invitation['expires_at']) }}
- {{ date('H:i', $invitation['expires_at']) }}
-
+ | + {{ date('M j, Y', $invitation['expires_at']) }} {{ date('H:i', $invitation['expires_at']) }} | -+ |
@if(isset($invitation['used_by_user']))
-
-
- {{ $invitation['used_by_user']['username'] ?? $invitation['used_by_user']['email'] }}
-
+ {{ $invitation['used_by_user']['username'] ?? $invitation['used_by_user']['email'] }}
@else
- -
+ -
@endif
|
- + |
@if($invitation['used_at'])
-
-
- {{ date('M j, Y', $invitation['used_at']) }}
- {{ date('H:i', $invitation['used_at']) }}
-
+ {{ date('M j, Y', $invitation['used_at']) }} {{ date('H:i', $invitation['used_at']) }}
@else
- -
+ -
@endif
|
- + |
@if(!$invitation['used_at'] && $invitation['expires_at'] > time() && $invitation['is_active'])
|