Skip to content

Commit

Permalink
Fixed tags after jetstream upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbilling committed Dec 9, 2023
1 parent 7ec570b commit 10cdee7
Show file tree
Hide file tree
Showing 22 changed files with 100 additions and 100 deletions.
24 changes: 12 additions & 12 deletions resources/views/api/api-token-manager.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
<x-slot name="actions">
<x-action-message class="mr-3" on="created">
{{ __('Created.') }}
</x-jet-action-message>
</x-action-message>

<x-button>
{{ __('Create') }}
</x-jet-button>
</x-button>
</x-slot>
</x-jet-form-section>
</x-form-section>

@if ($this->user->tokens->isNotEmpty())
<x-section-border />
Expand Down Expand Up @@ -89,7 +89,7 @@
@endforeach
</div>
</x-slot>
</x-jet-action-section>
</x-action-section>
</div>
@endif

Expand All @@ -114,9 +114,9 @@ class="mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-sm text-gray-500 w-full
<x-slot name="footer">
<x-secondary-button wire:click="$set('displayingToken', false)" wire:loading.attr="disabled">
{{ __('Close') }}
</x-jet-secondary-button>
</x-secondary-button>
</x-slot>
</x-jet-dialog-modal>
</x-dialog-modal>

<!-- API Token Permissions Modal -->
<x-dialog-modal wire:model.live="managingApiTokenPermissions">
Expand All @@ -138,13 +138,13 @@ class="mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-sm text-gray-500 w-full
<x-slot name="footer">
<x-secondary-button wire:click="$set('managingApiTokenPermissions', false)" wire:loading.attr="disabled">
{{ __('Cancel') }}
</x-jet-secondary-button>
</x-secondary-button>

<x-button class="ml-2" wire:click="updateApiToken" wire:loading.attr="disabled">
{{ __('Save') }}
</x-jet-button>
</x-button>
</x-slot>
</x-jet-dialog-modal>
</x-dialog-modal>

<!-- Delete Token Confirmation Modal -->
<x-confirmation-modal wire:model.live="confirmingApiTokenDeletion">
Expand All @@ -159,11 +159,11 @@ class="mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-sm text-gray-500 w-full
<x-slot name="footer">
<x-secondary-button wire:click="$toggle('confirmingApiTokenDeletion')" wire:loading.attr="disabled">
{{ __('Cancel') }}
</x-jet-secondary-button>
</x-secondary-button>

<x-danger-button class="ml-2" wire:click="deleteApiToken" wire:loading.attr="disabled">
{{ __('Delete') }}
</x-jet-danger-button>
</x-danger-button>
</x-slot>
</x-jet-confirmation-modal>
</x-confirmation-modal>
</div>
4 changes: 2 additions & 2 deletions resources/views/auth/confirm-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<div class="flex justify-end mt-4">
<x-button class="ml-4">
{{ __('Confirm') }}
</x-jet-button>
</x-button>
</div>
</form>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
4 changes: 2 additions & 2 deletions resources/views/auth/forgot-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div class="flex items-center justify-end mt-4">
<x-button>
{{ __('Email Password Reset Link') }}
</x-jet-button>
</x-button>
</div>
</form>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
4 changes: 2 additions & 2 deletions resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@

<x-button class="ml-4">
{{ __('Log in') }}
</x-jet-button>
</x-button>
</div>
</form>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
6 changes: 3 additions & 3 deletions resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
]) !!}
</div>
</div>
</x-jet-label>
</x-label>
</div>
@endif

Expand All @@ -54,8 +54,8 @@

<x-button class="ml-4">
{{ __('Register') }}
</x-jet-button>
</x-button>
</div>
</form>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
4 changes: 2 additions & 2 deletions resources/views/auth/reset-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<div class="flex items-center justify-end mt-4">
<x-button>
{{ __('Reset Password') }}
</x-jet-button>
</x-button>
</div>
</form>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
4 changes: 2 additions & 2 deletions resources/views/auth/two-factor-challenge.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@

<x-button class="ml-4">
{{ __('Log in') }}
</x-jet-button>
</x-button>
</div>
</form>
</div>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
4 changes: 2 additions & 2 deletions resources/views/auth/verify-email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div>
<x-button type="submit">
{{ __('Resend Verification Email') }}
</x-jet-button>
</x-button>
</div>
</form>

Expand All @@ -33,5 +33,5 @@
</button>
</form>
</div>
</x-jet-authentication-card>
</x-authentication-card>
</x-guest-layout>
8 changes: 4 additions & 4 deletions resources/views/livewire/liter-tool.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
<form wire:submit="calculate">
<div class="shadow overflow-hidden sm:rounded-md bg-white dark:bg-gray-800">
<div class="px-3 py-4 sm:px-6 sm:py-5">
<x-label for="width">Width in CM</x-jet-label>
<x-label for="width">Width in CM</x-label>
<x-input id="width" type="number" wire:model.live="width" />
<x-input-error for="width" />
</div>
<div class="px-3 py-4 sm:px-6 sm:py-5">
<x-label for="length">Length in CM</x-jet-label>
<x-label for="length">Length in CM</x-label>
<x-input id="length" type="number" wire:model.live="length" />
<x-input-error for="length" />
</div>
<div class="px-3 py-4 sm:px-6 sm:py-5">
<x-label for="depth">Depth in CM</x-jet-label>
<x-label for="depth">Depth in CM</x-label>
<x-input id="depth" type="number" wire:model.live="depth" />
<x-input-error for="depth" />
</div>
<div class="px-3 py-4 sm:px-6 sm:py-5">
<x-label for="price">Price for each liter in KR</x-jet-label>
<x-label for="price">Price for each liter in KR</x-label>
<x-input id="price" type="number" wire:model.live="price" step="0.01" min="0" max="10" />
<x-input-error for="price" />
</div>
Expand Down
64 changes: 32 additions & 32 deletions resources/views/navigation-menu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,52 @@
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('dashboard') }}" :active="request()->routeIs('dashboard')">
{{ __('Dashboard') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('timeline') }}" :active="request()->routeIs('timeline')">
{{ __('Timeline') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('companies.index') }}" :active="request()->routeIs('companies.*')">
{{ __('Companies') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('certifications.index') }}" :active="request()->routeIs('certifications.*')">
{{ __('Certifications') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('courses.index') }}" :active="request()->routeIs('courses.*')">
{{ __('Course') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('experiences.index') }}" :active="request()->routeIs('experiences.*')">
{{ __('Experience') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('socials.index') }}" :active="request()->routeIs('socials.*')">
{{ __('Social') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('users.index') }}" :active="request()->routeIs('users.*')">
{{ __('Users') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('tags.index') }}" :active="request()->routeIs('tags.*')">
{{ __('Tags') }}
</x-jet-nav-link>
</x-nav-link>
</div>
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link href="{{ route('posts.index') }}" :active="request()->routeIs('posts.*')">
{{ __('Posts') }}
</x-jet-nav-link>
</x-nav-link>
</div>
</div>

Expand Down Expand Up @@ -88,12 +88,12 @@
<!-- Team Settings -->
<x-dropdown-link href="{{ route('teams.show', Auth::user()->currentTeam->id) }}">
{{ __('Team Settings') }}
</x-jet-dropdown-link>
</x-dropdown-link>

@can('create', Laravel\Jetstream\Jetstream::newTeamModel())
<x-dropdown-link href="{{ route('teams.create') }}">
{{ __('Create New Team') }}
</x-jet-dropdown-link>
</x-dropdown-link>
@endcan

<div class="border-t border-gray-100"></div>
Expand All @@ -108,7 +108,7 @@
@endforeach
</div>
</x-slot>
</x-jet-dropdown>
</x-dropdown>
</div>
@endif

Expand Down Expand Up @@ -142,12 +142,12 @@

<x-dropdown-link href="{{ route('profile.show') }}">
{{ __('Profile') }}
</x-jet-dropdown-link>
</x-dropdown-link>

@if (Laravel\Jetstream\Jetstream::hasApiFeatures())
<x-dropdown-link href="{{ route('api-tokens.index') }}">
{{ __('API Tokens') }}
</x-jet-dropdown-link>
</x-dropdown-link>
@endif

<div class="border-t border-gray-100"></div>
Expand All @@ -160,10 +160,10 @@
onclick="event.preventDefault();
this.closest('form').submit();">
{{ __('Log Out') }}
</x-jet-dropdown-link>
</x-dropdown-link>
</form>
</x-slot>
</x-jet-dropdown>
</x-dropdown>
</div>
@endauth
</div>
Expand All @@ -185,34 +185,34 @@
<div class="pt-2 pb-3 space-y-1">
<x-responsive-nav-link href="{{ route('dashboard') }}" :active="request()->routeIs('dashboard')">
{{ __('Dashboard') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('timeline') }}" :active="request()->routeIs('timeline')">
{{ __('Timeline') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('companies.index') }}" :active="request()->routeIs('companies.*')">
{{ __('Companies') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('certifications.index') }}" :active="request()->routeIs('certifications.*')">
{{ __('Certifications') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('courses.index') }}" :active="request()->routeIs('courses.*')">
{{ __('Courses') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('experiences.index') }}" :active="request()->routeIs('experiences.*')">
{{ __('Experiences') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('socials.index') }}" :active="request()->routeIs('socials.*')">
{{ __('Socials') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('users.index') }}" :active="request()->routeIs('users.*')">
{{ __('Users') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('tags.index') }}" :active="request()->routeIs('tags.*')">
{{ __('Tags') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
<x-responsive-nav-link href="{{ route('posts.index') }}" :active="request()->routeIs('posts.*')">
{{ __('Posts') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
</div>

@auth
Expand All @@ -235,12 +235,12 @@
<!-- Account Management -->
<x-responsive-nav-link href="{{ route('profile.show') }}" :active="request()->routeIs('profile.show')">
{{ __('Profile') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>

@if (Laravel\Jetstream\Jetstream::hasApiFeatures())
<x-responsive-nav-link href="{{ route('api-tokens.index') }}" :active="request()->routeIs('api-tokens.index')">
{{ __('API Tokens') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
@endif

<!-- Authentication -->
Expand All @@ -251,7 +251,7 @@
onclick="event.preventDefault();
this.closest('form').submit();">
{{ __('Log Out') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
</form>

<!-- Team Management -->
Expand All @@ -265,12 +265,12 @@
<!-- Team Settings -->
<x-responsive-nav-link href="{{ route('teams.show', Auth::user()->currentTeam->id) }}" :active="request()->routeIs('teams.show')">
{{ __('Team Settings') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>

@can('create', Laravel\Jetstream\Jetstream::newTeamModel())
<x-responsive-nav-link href="{{ route('teams.create') }}" :active="request()->routeIs('teams.create')">
{{ __('Create New Team') }}
</x-jet-responsive-nav-link>
</x-responsive-nav-link>
@endcan

<div class="border-t border-gray-200"></div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/posts/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<div class="flex items-center justify-end px-3 text-right">
<x-button>
{{ __('Save') }}
</x-jet-button>
</x-button>
</div>
</form>

Expand Down
Loading

0 comments on commit 10cdee7

Please sign in to comment.