diff --git a/resources/views/components/loading.blade.php b/resources/views/components/loading.blade.php index 966921963..2cb8b894c 100644 --- a/resources/views/components/loading.blade.php +++ b/resources/views/components/loading.blade.php @@ -1 +1,6 @@ -class(['bg-warning loading', 'loading-spinner' => !$attributes->has('class')]) }}> +@props(['text' => null]) + + {{ $text }}class(['bg-warning loading', 'loading-spinner' => !$attributes->has('class')]) }}> + + diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php index 42b62c6ff..4ba4444e1 100644 --- a/resources/views/livewire/server/proxy.blade.php +++ b/resources/views/livewire/server/proxy.blade.php @@ -4,66 +4,64 @@ @if ($server->settings->is_reachable) @if ($server->proxy->type)
-
- -
-
- @if ($proxy_settings) - @if ($selectedProxy->value === 'TRAEFIK_V2') -
-
-

Proxy

- Save - @if ($server->proxy->status === 'exited') - Switch Proxy - @endif - -
-
Traefik v2
- @if ( - $server->proxy->last_applied_settings && - $server->proxy->last_saved_settings !== $server->proxy->last_applied_settings) -
Configuration out of sync. Restart to get the new - configs. -
- @endif - -
- -
-
+ @if ($selectedProxy->value === 'TRAEFIK_V2') + +
+

Proxy

+ Save + @if ($server->proxy->status === 'exited') + Switch Proxy + @endif + +
+ +
Traefik v2
+ @if ( + $server->proxy->last_applied_settings && + $server->proxy->last_saved_settings !== $server->proxy->last_applied_settings) +
Configuration out of sync. Restart to get the new + configs. +
+ @endif + +
+ +
+
+ +
+
+ @if ($proxy_settings) +
Reset configuration to default
- - @endif - @else -
Server is not validated. Validate first.
- @endif + @endif +
+ + @endif + @else +
+

Proxy

+
Select a proxy you would like to use on this server.
+
+ + Traefik + v2 + + + Nginx + + + Caddy + +
-
- @else -
-

Proxy

-
Select a proxy you would like to use on this server.
-
- - Traefik - v2 - - - Nginx - - - Caddy - -
-
@endif @else
Server is not validated. Validate first.