diff --git a/app/Http/Livewire/Server/Form.php b/app/Http/Livewire/Server/Form.php index 923006789..ed2fc38b4 100644 --- a/app/Http/Livewire/Server/Form.php +++ b/app/Http/Livewire/Server/Form.php @@ -32,7 +32,7 @@ class Form extends Component $this->emit('newMonitorActivity', $activity->id); } - public function checkServer() + public function validateServer() { try { $this->uptime = instantRemoteProcess(['uptime'], $this->server, false); diff --git a/resources/css/app.css b/resources/css/app.css index 7781ba274..19dd8f947 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -6,8 +6,9 @@ body { @apply bg-coolgray-100 text-white font-sans; } -input, textarea { - @apply border-none p-2 bg-coolgray-200 text-white disabled:text-neutral-600 read-only:text-neutral-600 read-only:select-none outline-none ; +input, +textarea { + @apply border-none p-2 bg-coolgray-200 text-white disabled:text-neutral-600 read-only:text-neutral-600 read-only:select-none outline-none; } select { @apply border-none p-2 bg-coolgray-200 text-white disabled:text-neutral-600 read-only:select-none outline-none; @@ -20,11 +21,11 @@ button { @apply relative float-left; } .main-menu:after { - content: '/'; + content: "/"; @apply absolute right-0 top-0 text-neutral-400 px-2 pt-[0.3rem]; } .magic-input { - @apply w-[25rem] rounded shadow outline-none focus:bg-neutral-700 text-white; + @apply w-[25rem] rounded outline-none bg-coolgray-400 focus:bg-neutral-700 text-white; } .magic-items { @apply absolute top-14 w-[25rem] bg-coolgray-200 border-b-2 border-r-2 border-l-2 border-solid border-coolgray-100 rounded-b; diff --git a/resources/views/components/inputs/button.blade.php b/resources/views/components/inputs/button.blade.php index f1b42b1e3..93dcace54 100644 --- a/resources/views/components/inputs/button.blade.php +++ b/resources/views/components/inputs/button.blade.php @@ -1,17 +1,21 @@ @props([ 'isWarning' => null, + 'isBold' => false, 'disabled' => null, - 'defaultClass' => 'text-white hover:bg-coollabs h-8 rounded transition-colors', - 'defaultWarningClass' => 'text-white bg-red-500 hover:bg-red-600 h-8 rounded', - 'disabledClass' => 'text-coolgray-200 h-8 rounded', - 'loadingClass' => 'text-black bg-green-500 h-8 rounded', + 'defaultClass' => 'text-white hover:bg-coollabs h-10 rounded transition-colors', + 'defaultWarningClass' => 'text-white bg-red-500 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, 'confirmAction' => null, ])