From 86856bbbbf7ac352c71b6f6282a04300f2ac255c Mon Sep 17 00:00:00 2001 From: Lewis Larsen Date: Sat, 17 Aug 2024 22:04:16 +0100 Subject: [PATCH] style: Updated api token manager table --- .../profile/api-token-manager.blade.php | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/resources/views/livewire/profile/api-token-manager.blade.php b/resources/views/livewire/profile/api-token-manager.blade.php index a18b0fa9..e1f6a039 100644 --- a/resources/views/livewire/profile/api-token-manager.blade.php +++ b/resources/views/livewire/profile/api-token-manager.blade.php @@ -503,35 +503,33 @@ class="mt-4"> @foreach ($this->tokens as $token) -
+

{{ $token->name }} @if ($token->isMobileToken()) - - @svg('heroicon-s-device-phone-mobile', 'w-4 h-4 mr-1') - {{ __('Mobile') }} - + + @svg('heroicon-s-device-phone-mobile', 'w-4 h-4 text-cyan-600 dark:text-cyan-400 inline-block', ['aria-label' => __('Mobile Token'),'role' => 'img',]) + + {{ __('Mobile Token') }} + + @endif

- -
- - {{ $token->last_used_at ? $token->last_used_at->diffForHumans() : __('Never') }} - +
+ + {{ $token->last_used_at ? $token->last_used_at->diffForHumans() : __('Never') }} +
- -
- - {{ $this->getExpirationDisplay($token) }} - +
+ + {{ $this->getExpirationDisplay($token) }} +
- -
+
{{ __('View Abilities') }} @svg('heroicon-s-eye', 'w-4 h-4') @@ -546,7 +544,6 @@ class="mt-4"> @endif -