css sprinkle

This commit is contained in:
Andras Bacsai
2023-05-16 20:47:59 +02:00
parent 5c069d3c3c
commit 3b636ef022
17 changed files with 87 additions and 94 deletions

View File

@@ -1,14 +1,11 @@
<nav class="flex gap-4 py-2">
<a target="_blank" href="{{ $gitBranchLocation }}">
<x-inputs.button>Open on Git ↗️</x-inputs.button>
</a>
<a
href="{{ route('project.application.configuration', [
'project_uuid' => Route::current()->parameters()['project_uuid'],
'application_uuid' => Route::current()->parameters()['application_uuid'],
'environment_name' => Route::current()->parameters()['environment_name'],
]) }}">
<x-inputs.button>Configuration</x-inputs.button>
Configuration
</a>
<a
href="{{ route('project.application.deployments', [
@@ -16,7 +13,10 @@
'application_uuid' => Route::current()->parameters()['application_uuid'],
'environment_name' => Route::current()->parameters()['environment_name'],
]) }}">
<x-inputs.button>Deployments</x-inputs.button>
Deployments
</a>
<a target="_blank" href="{{ $gitBranchLocation }}">
Open on Git ↗️
</a>
<livewire:project.application.deploy :applicationId="$applicationId" />
</nav>

View File

@@ -3,7 +3,7 @@
'isBold' => false,
'disabled' => null,
'defaultClass' => 'text-white hover:bg-coollabs h-10 rounded transition-colors',
'defaultWarningClass' => 'text-white bg-red-500 hover:bg-red-600 h-10 rounded',
'defaultWarningClass' => 'text-red-500 hover:text-white hover:bg-red-600 h-10 rounded',
'disabledClass' => 'text-neutral-400 h-10 rounded',
'loadingClass' => 'text-black bg-green-500 h-10 rounded',
'confirm' => null,

View File

@@ -22,7 +22,7 @@
@livewireStyles
</head>
<body>
<body class="antialiased">
@livewireScripts

View File

@@ -3,20 +3,20 @@
<div class="flex px-2 py-1">
<div class="flex gap-2 text-sm">
<a href="/">
<x-inputs.button>Home</x-inputs.button>
Home
</a>
<a href="/command-center">
<x-inputs.button>Command Center</x-inputs.button>
Command Center
</a>
<a href="/profile">
<x-inputs.button>Profile</x-inputs.button>
Profile
</a>
<a href="/profile/team">
<x-inputs.button>Team</x-inputs.button>
Team
</a>
@if (auth()->user()->isRoot())
<a href="/settings">
<x-inputs.button>Settings</x-inputs.button>
Settings
</a>
@endif
</div>
@@ -28,7 +28,7 @@
<livewire:force-upgrade />
<form action="/logout" method="POST">
@csrf
<x-inputs.button type="submit">Logout</x-inputs.button>
<button class="m-1 hover:underline" type="submit">Logout</button>
</form>
</div>
</div>