remove blade-ui-kit/blade-heroicons

This commit is contained in:
Saeed Vaziry
2024-03-17 14:37:19 +01:00
parent 4f252caaf3
commit 3dc38bf56b
59 changed files with 465 additions and 212 deletions

View File

@ -66,7 +66,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.show', ['server' => $server])"
:active="request()->routeIs('servers.show')"
>
<x-heroicon-o-home class="h-6 w-6" />
<x-heroicon name="o-home" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Overview") }}
</span>
@ -76,7 +76,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.sites', ['server' => $server])"
:active="request()->routeIs('servers.sites') || request()->is('servers/*/sites/*')"
>
<x-heroicon-o-globe-alt class="h-6 w-6" />
<x-heroicon name="o-globe-alt" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Sites") }}
</span>
@ -89,7 +89,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:active="request()->routeIs('servers.databases') ||
request()->routeIs('servers.databases.backups')"
>
<x-heroicon-o-circle-stack class="h-6 w-6" />
<x-heroicon name="o-circle-stack" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Databases") }}
</span>
@ -101,7 +101,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.php', ['server' => $server])"
:active="request()->routeIs('servers.php')"
>
<x-heroicon-o-code-bracket class="h-6 w-6" />
<x-heroicon name="o-code-bracket" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("PHP") }}
</span>
@ -113,7 +113,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.firewall', ['server' => $server])"
:active="request()->routeIs('servers.firewall')"
>
<x-heroicon-o-fire class="h-6 w-6" />
<x-heroicon name="o-fire" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Firewall") }}
</span>
@ -124,7 +124,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.cronjobs', ['server' => $server])"
:active="request()->routeIs('servers.cronjobs')"
>
<x-heroicon-o-clock class="h-6 w-6" />
<x-heroicon name="o-clock" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Cronjobs") }}
</span>
@ -133,7 +133,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.ssh-keys', ['server' => $server])"
:active="request()->routeIs('servers.ssh-keys')"
>
<x-heroicon-o-key class="h-6 w-6" />
<x-heroicon name="o-key" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("SSH Keys") }}
</span>
@ -142,7 +142,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.services', ['server' => $server])"
:active="request()->routeIs('servers.services')"
>
<x-heroicon-o-cog-6-tooth class="h-6 w-6" />
<x-heroicon name="o-cog-6-tooth" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Services") }}
</span>
@ -152,7 +152,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.settings', ['server' => $server])"
:active="request()->routeIs('servers.settings')"
>
<x-heroicon-o-wrench-screwdriver class="h-6 w-6" />
<x-heroicon name="o-wrench-screwdriver" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Settings") }}
</span>
@ -161,7 +161,7 @@ class="left-0 top-0 min-h-screen w-64 flex-none bg-gray-800 p-3 dark:border-r-2
:href="route('servers.logs', ['server' => $server])"
:active="request()->routeIs('servers.logs')"
>
<x-heroicon-o-square-3-stack-3d class="h-6 w-6" />
<x-heroicon name="o-square-3-stack-3d" class="h-6 w-6" />
<span class="ml-2 text-gray-50">
{{ __("Logs") }}
</span>

View File

@ -36,27 +36,30 @@ class="flex items-center text-gray-600 dark:text-gray-300"
<x-dropdown>
<x-slot name="trigger">
<button type="button" class="flex items-center">
<x-heroicon-o-moon x-show="isDark()" class="h-7 w-7" />
<x-heroicon-o-sun x-show="!isDark()" class="h-7 w-7" />
<x-heroicon name="o-moon" x-show="isDark()" class="h-7 w-7" />
<x-heroicon name="o-sun" x-show="!isDark()" class="h-7 w-7" />
</button>
</x-slot>
<x-slot name="content">
<x-dropdown-link class="cursor-pointer" x-on:click="changeTheme('dark')">
<x-heroicon-o-moon
<x-heroicon
name="o-moon"
class="mr-2 h-5 w-5"
x-bind:class="theme === 'dark' ? 'text-primary-600' : ''"
/>
{{ __("Dark") }}
</x-dropdown-link>
<x-dropdown-link class="cursor-pointer" x-on:click="changeTheme('light')">
<x-heroicon-o-sun
<x-heroicon
name="o-sun"
class="mr-2 h-5 w-5"
x-bind:class="theme === 'light' ? 'text-primary-600' : ''"
/>
{{ __("Light") }}
</x-dropdown-link>
<x-dropdown-link class="cursor-pointer" x-on:click="changeTheme('system')">
<x-heroicon-o-computer-desktop
<x-heroicon
name="o-computer-desktop"
class="mr-2 h-5 w-5"
x-bind:class="theme === 'system' ? 'text-primary-600' : ''"
/>

View File

@ -19,7 +19,8 @@ class="flex items-center text-sm"
"
>
<div x-show="copied" class="mr-1 flex items-center">
<x-heroicon-o-clipboard-document-check
<x-heroicon
name="o-clipboard-document-check"
class="h-4 w-4 font-bold text-primary-600 dark:text-white"
/>
</div>

View File

@ -16,7 +16,7 @@
<div class="flex items-end">
<div class="flex h-20 flex-col items-end justify-center">
<div class="flex items-center">
<x-heroicon-o-globe-alt class="mr-1 h-5 w-5 text-gray-500" />
<x-heroicon name="o-globe-alt" class="mr-1 h-5 w-5 text-gray-500" />
@include("sites.partials.site-status")
</div>
<x-input-label class="mt-1 cursor-pointer" x-data="{ copied: false }">
@ -31,7 +31,8 @@ class="flex items-center text-sm"
"
>
<div x-show="copied" class="mr-1 flex items-center">
<x-heroicon-o-clipboard-document-check
<x-heroicon
name="o-clipboard-document-check"
class="h-4 w-4 font-bold text-primary-600 dark:text-white"
/>
</div>
@ -42,7 +43,7 @@ class="h-4 w-4 font-bold text-primary-600 dark:text-white"
<div class="mx-5 h-20 border-r border-gray-200 dark:border-gray-800"></div>
<div class="flex h-20 flex-col items-end justify-center">
<div class="flex items-center">
<x-heroicon-o-server class="mr-1 h-5 w-5 text-gray-500" />
<x-heroicon name="o-server" class="mr-1 h-5 w-5 text-gray-500" />
@include("servers.partials.server-status", ["server" => $site->server])
</div>
<x-input-label class="mt-1 cursor-pointer" x-data="{ copied: false }">
@ -57,7 +58,8 @@ class="flex items-center text-sm"
"
>
<div x-show="copied" class="mr-1 flex items-center">
<x-heroicon-o-clipboard-document-check
<x-heroicon
name="o-clipboard-document-check"
class="h-4 w-4 font-bold text-primary-600 dark:text-white"
/>
</div>
@ -79,7 +81,7 @@ class="h-4 w-4 font-bold text-primary-600 dark:text-white"
:href="route('servers.sites.show', ['server' => $site->server, 'site' => $site])"
:active="request()->routeIs('servers.sites.show')"
>
<x-heroicon-o-globe-alt class="mr-2 h-5 w-5" />
<x-heroicon name="o-globe-alt" class="mr-2 h-5 w-5" />
{{ __("Application") }}
</x-secondary-sidebar-link>
@if ($site->hasFeature(SiteFeature::SSL))
@ -87,7 +89,7 @@ class="h-4 w-4 font-bold text-primary-600 dark:text-white"
:href="route('servers.sites.ssl', ['server' => $site->server, 'site' => $site])"
:active="request()->routeIs('servers.sites.ssl')"
>
<x-heroicon-o-lock-closed class="mr-2 h-5 w-5" />
<x-heroicon name="o-lock-closed" class="mr-2 h-5 w-5" />
{{ __("SSL") }}
</x-secondary-sidebar-link>
@endif
@ -97,7 +99,7 @@ class="h-4 w-4 font-bold text-primary-600 dark:text-white"
:href="route('servers.sites.queues', ['server' => $site->server, 'site' => $site])"
:active="request()->routeIs('servers.sites.queues')"
>
<x-heroicon-o-queue-list class="mr-2 h-5 w-5" />
<x-heroicon name="o-queue-list" class="mr-2 h-5 w-5" />
{{ __("Queues") }}
</x-secondary-sidebar-link>
@endif
@ -106,14 +108,14 @@ class="h-4 w-4 font-bold text-primary-600 dark:text-white"
:href="route('servers.sites.settings', ['server' => $site->server, 'site' => $site])"
:active="request()->routeIs('servers.sites.settings')"
>
<x-heroicon-o-cog-6-tooth class="mr-2 h-5 w-5" />
<x-heroicon name="o-cog-6-tooth" class="mr-2 h-5 w-5" />
{{ __("Settings") }}
</x-secondary-sidebar-link>
<x-secondary-sidebar-link
:href="route('servers.sites.logs', ['server' => $site->server, 'site' => $site])"
:active="request()->routeIs('servers.sites.logs')"
>
<x-heroicon-o-square-3-stack-3d class="mr-2 h-5 w-5" />
<x-heroicon name="o-square-3-stack-3d" class="mr-2 h-5 w-5" />
{{ __("Logs") }}
</x-secondary-sidebar-link>
</div>