diff --git a/resources/views/servers/show.blade.php b/resources/views/servers/show.blade.php index b561031..249667d 100644 --- a/resources/views/servers/show.blade.php +++ b/resources/views/servers/show.blade.php @@ -1,6 +1,14 @@ @section('title') {{$server_data->hostname}} {{'server'}} @endsection +@section('scripts') + +@endsection {{ __('Server details') }} @@ -135,6 +143,9 @@ {{ route('servers.edit', $server_data->id) }} + + Show code to add a YABS + @if($server_data->has_yabs) @@ -199,6 +210,7 @@ see Geekbench, disk and network speeds @endif + curl -sL yabs.sh | bash -s -- -s "{{route('api.store-yabs', [$server_data->id, \Illuminate\Support\Facades\Auth::user()->api_token])}}" @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
curl -sL yabs.sh | bash -s -- -s "{{route('api.store-yabs', [$server_data->id, \Illuminate\Support\Facades\Auth::user()->api_token])}}"