This commit is contained in:
Andras Bacsai
2023-06-06 08:43:01 +02:00
parent 63a2e69cc6
commit 2014183e88
6 changed files with 60 additions and 49 deletions

View File

@@ -47,9 +47,6 @@ select {
@apply w-4 text-warning;
}
button[type="submit"] {
@apply hover:bg-coolgray-400 btn h-7 btn-xs border-none bg-coolgray-200 no-animation normal-case text-white rounded;
}
button[isWarning] {
@apply bg-error hover:bg-error;
}

View File

@@ -9,7 +9,9 @@
<div class="tooltip tooltip-warning" data-tip="{{ $tooltip }}">
@endisset
@if ($type === 'submit')
<button {{ $attributes }} type="submit" @if ($disabled !== null) disabled @endif
<button
{{ $attributes->class(['btn btn-xs border-none no-animation normal-case text-white rounded', 'hover:bg-coolgray-400 bg-coolgray-200 h-7' => !$attributes->has('class')]) }}
type="submit" @if ($disabled !== null) disabled @endif
@isset($confirm)
x-on:click="toggleConfirmModal('{{ $confirm }}', '{{ explode('(', $confirmAction)[0] }}')"
@endisset

View File

@@ -1,7 +1,7 @@
<div>
@if ($this->activity)
@if ($header)
<div class="flex gap-2">
<div class="flex gap-2 pb-2">
<h2>Logs</h2>
@if ($isPollingActive)
<x-loading />

View File

@@ -12,9 +12,10 @@
@endif
@endforeach
</x-forms.select>
<x-forms.button class="h-8" type="submit">Run</x-forms.button>
<x-forms.button type="submit" class="h-8 hover:bg-coolgray-400 bg-coolgray-200">Execute Command
</x-forms.button>
</form>
<div class="container w-full pt-10 mx-auto">
<livewire:activity-monitor />
<livewire:activity-monitor :header="true" />
</div>
</div>