2023-05-14 12:43:49 +00:00
|
|
|
@auth
|
2023-09-25 13:48:43 +00:00
|
|
|
<nav class="fixed h-full overflow-hidden overflow-y-auto pt-28 scrollbar">
|
2023-11-10 10:33:15 +00:00
|
|
|
<a href="/" class="fixed top-0 z-50 mx-3 mt-3 bg-transparent cursor-pointer"><img
|
2023-11-10 08:49:47 +00:00
|
|
|
class="transition rounded w-11 h-11" src="{{ asset('coolify-transparent.png') }}"></a>
|
2023-07-13 20:03:27 +00:00
|
|
|
<ul class="flex flex-col h-full gap-4 menu flex-nowrap">
|
|
|
|
<li title="Dashboard">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="/">
|
2023-08-11 18:19:42 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="{{ request()->is('/') ? 'text-warning icon' : 'icon' }}"
|
|
|
|
fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
2023-07-13 20:03:27 +00:00
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
2023-08-11 18:19:42 +00:00
|
|
|
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
|
2023-07-13 20:03:27 +00:00
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-07-14 09:27:08 +00:00
|
|
|
<li title="Servers">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="/servers">
|
2023-07-14 09:27:08 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
2023-08-11 18:19:42 +00:00
|
|
|
class="{{ request()->is('server/*') || request()->is('servers') ? 'text-warning icon' : 'icon' }}"
|
|
|
|
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
|
|
|
|
stroke-linejoin="round">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z" />
|
|
|
|
<path d="M15 20h-9a3 3 0 0 1 -3 -3v-2a3 3 0 0 1 3 -3h12" />
|
|
|
|
<path d="M7 8v.01" />
|
|
|
|
<path d="M7 16v.01" />
|
|
|
|
<path d="M20 15l-2 3h3l-2 3" />
|
2023-07-14 09:27:08 +00:00
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-07-26 11:23:47 +00:00
|
|
|
<li title="Projects">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="/projects">
|
2023-07-26 11:23:47 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
2023-08-11 18:19:42 +00:00
|
|
|
class="{{ request()->is('project/*') || request()->is('projects') ? 'text-warning icon' : 'icon' }}"
|
|
|
|
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
|
|
|
|
stroke-linejoin="round">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M12 4l-8 4l8 4l8 -4l-8 -4" />
|
|
|
|
<path d="M4 12l8 4l8 -4" />
|
|
|
|
<path d="M4 16l8 4l8 -4" />
|
2023-07-26 11:23:47 +00:00
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-08-14 12:00:10 +00:00
|
|
|
<li title="Command Center">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="/command-center">
|
2023-08-14 12:00:10 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
|
|
class="{{ request()->is('command-center') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"
|
|
|
|
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
|
|
|
|
stroke-linejoin="round">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M5 7l5 5l-5 5" />
|
|
|
|
<path d="M12 19l7 0" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-09-04 07:44:44 +00:00
|
|
|
<li title="Source">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="{{ route('source.all') }}">
|
2023-09-04 07:44:44 +00:00
|
|
|
<svg class="icon" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path fill="currentColor"
|
|
|
|
d="m6.793 1.207l.353.354l-.353-.354ZM1.207 6.793l-.353-.354l.353.354Zm0 1.414l.354-.353l-.354.353Zm5.586 5.586l-.354.353l.354-.353Zm1.414 0l-.353-.354l.353.354Zm5.586-5.586l.353.354l-.353-.354Zm0-1.414l-.354.353l.354-.353ZM8.207 1.207l.354-.353l-.354.353ZM6.44.854L.854 6.439l.707.707l5.585-5.585L6.44.854ZM.854 8.56l5.585 5.585l.707-.707l-5.585-5.585l-.707.707Zm7.707 5.585l5.585-5.585l-.707-.707l-5.585 5.585l.707.707Zm5.585-7.707L8.561.854l-.707.707l5.585 5.585l.707-.707Zm0 2.122a1.5 1.5 0 0 0 0-2.122l-.707.707a.5.5 0 0 1 0 .708l.707.707ZM6.44 14.146a1.5 1.5 0 0 0 2.122 0l-.707-.707a.5.5 0 0 1-.708 0l-.707.707ZM.854 6.44a1.5 1.5 0 0 0 0 2.122l.707-.707a.5.5 0 0 1 0-.708L.854 6.44Zm6.292-4.878a.5.5 0 0 1 .708 0L8.56.854a1.5 1.5 0 0 0-2.122 0l.707.707Zm-2 1.293l1 1l.708-.708l-1-1l-.708.708ZM7.5 5a.5.5 0 0 1-.5-.5H6A1.5 1.5 0 0 0 7.5 6V5Zm.5-.5a.5.5 0 0 1-.5.5v1A1.5 1.5 0 0 0 9 4.5H8ZM7.5 4a.5.5 0 0 1 .5.5h1A1.5 1.5 0 0 0 7.5 3v1Zm0-1A1.5 1.5 0 0 0 6 4.5h1a.5.5 0 0 1 .5-.5V3Zm.646 2.854l1.5 1.5l.707-.708l-1.5-1.5l-.707.708ZM10.5 8a.5.5 0 0 1-.5-.5H9A1.5 1.5 0 0 0 10.5 9V8Zm.5-.5a.5.5 0 0 1-.5.5v1A1.5 1.5 0 0 0 12 7.5h-1Zm-.5-.5a.5.5 0 0 1 .5.5h1A1.5 1.5 0 0 0 10.5 6v1Zm0-1A1.5 1.5 0 0 0 9 7.5h1a.5.5 0 0 1 .5-.5V6ZM7 5.5v4h1v-4H7Zm.5 5.5a.5.5 0 0 1-.5-.5H6A1.5 1.5 0 0 0 7.5 12v-1Zm.5-.5a.5.5 0 0 1-.5.5v1A1.5 1.5 0 0 0 9 10.5H8Zm-.5-.5a.5.5 0 0 1 .5.5h1A1.5 1.5 0 0 0 7.5 9v1Zm0-1A1.5 1.5 0 0 0 6 10.5h1a.5.5 0 0 1 .5-.5V9Z" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="Security">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="{{ route('security.private-key.index') }}">
|
2023-09-04 07:44:44 +00:00
|
|
|
<svg class="icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
stroke-width="2"
|
|
|
|
d="m16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1-4.069 0l-.301-.301l-6.558 6.558a2 2 0 0 1-1.239.578L5.172 21H4a1 1 0 0 1-.993-.883L3 20v-1.172a2 2 0 0 1 .467-1.284l.119-.13L4 17h2v-2h2v-2l2.144-2.144l-.301-.301a2.877 2.877 0 0 1 0-4.069l2.643-2.643a2.877 2.877 0 0 1 4.069 0zM15 9h.01" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-08-17 13:19:37 +00:00
|
|
|
<li title="Teams">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="{{ route('team.index') }}">
|
2023-08-17 13:19:37 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
|
|
|
|
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
|
|
|
<path d="M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1" />
|
|
|
|
<path d="M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
|
|
|
<path d="M17 10h2a2 2 0 0 1 2 2v1" />
|
|
|
|
<path d="M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" />
|
|
|
|
<path d="M3 13v-1a2 2 0 0 1 2 -2h2" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2024-02-01 14:38:12 +00:00
|
|
|
<li title="Tags">
|
|
|
|
<a class="hover:bg-transparent" href="{{ route('tags.index') }}">
|
|
|
|
<svg class="icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
stroke-width="2">
|
|
|
|
<path
|
|
|
|
d="M3 8v4.172a2 2 0 0 0 .586 1.414l5.71 5.71a2.41 2.41 0 0 0 3.408 0l3.592-3.592a2.41 2.41 0 0 0 0-3.408l-5.71-5.71A2 2 0 0 0 9.172 6H5a2 2 0 0 0-2 2" />
|
|
|
|
<path d="m18 19l1.592-1.592a4.82 4.82 0 0 0 0-6.816L15 6m-8 4h-.01" />
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-09-04 07:44:44 +00:00
|
|
|
|
2023-08-14 12:00:10 +00:00
|
|
|
<div class="flex-1"></div>
|
2023-09-01 08:32:29 +00:00
|
|
|
@if (isInstanceAdmin() && !isCloud())
|
2023-12-07 18:06:32 +00:00
|
|
|
@persist('upgrade')
|
|
|
|
<livewire:upgrade />
|
|
|
|
@endpersist
|
2023-08-14 12:00:10 +00:00
|
|
|
@endif
|
2023-11-10 08:49:47 +00:00
|
|
|
<li title="Help us!">
|
2023-12-07 18:06:32 +00:00
|
|
|
<a class="hover:bg-transparent" href="https://coolify.io/sponsorships" target="_blank">
|
2023-11-10 08:49:47 +00:00
|
|
|
<svg class="icon hover:text-pink-500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
stroke-width="2">
|
|
|
|
<path d="M19.5 12.572L12 20l-7.5-7.428A5 5 0 1 1 12 6.006a5 5 0 1 1 7.5 6.572" />
|
|
|
|
<path
|
|
|
|
d="M12 6L8.707 9.293a1 1 0 0 0 0 1.414l.543.543c.69.69 1.81.69 2.5 0l1-1a3.182 3.182 0 0 1 4.5 0l2.25 2.25m-7 3l2 2M15 13l2 2" />
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-08-14 12:00:10 +00:00
|
|
|
<li title="Profile">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="/profile">
|
2023-08-14 12:00:10 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
|
|
|
|
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
|
|
|
|
<path d="M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
|
|
|
|
<path d="M6.168 18.849a4 4 0 0 1 3.832 -2.849h4a4 4 0 0 1 3.834 2.855" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-08-17 13:19:37 +00:00
|
|
|
|
2023-08-22 15:44:49 +00:00
|
|
|
@if (isInstanceAdmin())
|
2023-07-14 09:27:08 +00:00
|
|
|
<li title="Settings" class="mt-auto">
|
2024-02-01 14:38:12 +00:00
|
|
|
<a class="hover:bg-transparent" href="/settings">
|
2023-07-13 20:03:27 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
2023-08-11 18:19:42 +00:00
|
|
|
class="{{ request()->is('settings*') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"
|
|
|
|
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
|
|
|
|
stroke-linejoin="round">
|
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
2023-07-14 09:27:08 +00:00
|
|
|
<path
|
2023-08-11 18:19:42 +00:00
|
|
|
d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
|
|
|
|
<path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" />
|
2023-07-13 20:03:27 +00:00
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
@endif
|
2023-09-02 13:37:25 +00:00
|
|
|
@if (isSubscriptionActive() || isDev())
|
2023-09-27 19:14:13 +00:00
|
|
|
<li title="Send us feedback or get help!" class="fixed top-0 right-0 p-2 px-4 pt-4 mt-auto text-xs">
|
2023-09-26 12:45:52 +00:00
|
|
|
<div class="justify-center" wire:click="help" onclick="help.showModal()">
|
2023-09-27 19:14:13 +00:00
|
|
|
<svg class="w-5 h-5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
2023-09-25 13:48:43 +00:00
|
|
|
<path fill="currentColor"
|
|
|
|
d="M22 5.5H9c-1.1 0-2 .9-2 2v9a2 2 0 0 0 2 2h13c1.11 0 2-.89 2-2v-9a2 2 0 0 0-2-2m0 11H9V9.17l6.5 3.33L22 9.17v7.33m-6.5-5.69L9 7.5h13l-6.5 3.31M5 16.5c0 .17.03.33.05.5H1c-.552 0-1-.45-1-1s.448-1 1-1h4v1.5M3 7h2.05c-.02.17-.05.33-.05.5V9H3c-.55 0-1-.45-1-1s.45-1 1-1m-2 5c0-.55.45-1 1-1h3v2H2c-.55 0-1-.45-1-1Z" />
|
2023-09-02 13:37:25 +00:00
|
|
|
</svg>
|
2023-09-25 13:48:43 +00:00
|
|
|
Feedback
|
2023-09-02 13:37:25 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
@endif
|
2023-07-13 20:03:27 +00:00
|
|
|
<li class="pb-6" title="Logout">
|
|
|
|
<form action="/logout" method="POST" class=" hover:bg-transparent">
|
|
|
|
@csrf
|
2023-08-08 09:51:36 +00:00
|
|
|
<button type="submit" class="rounded-none hover:text-white hover:bg-transparent">
|
2023-08-11 18:19:42 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
|
2023-07-13 20:03:27 +00:00
|
|
|
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
2023-08-11 18:19:42 +00:00
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M13 12v.01" />
|
|
|
|
<path d="M3 21h18" />
|
|
|
|
<path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5" />
|
|
|
|
<path d="M14 7h7m-3 -3l3 3l-3 3" />
|
2023-08-08 09:51:36 +00:00
|
|
|
</svg>
|
|
|
|
</button>
|
2023-07-13 20:03:27 +00:00
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
@endauth
|