2022-10-13 16:03:31 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								@section("title", "{$seedbox_data->title} seed box")
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<x-app-layout>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <x-slot name="header">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        {{ __('Seed box details') }}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </x-slot>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <div class="container">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <x-card class="shadow mt-3">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            <div class="row">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="col-12 col-md-6 mb-2">
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                    <h2>{{ $seedbox_data->title }}</h2>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    @foreach($seedbox_data->labels as $label)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <span class="badge bg-primary mx-1">{{$label->label->label}}</span>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    @endforeach
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="col-12 col-md-6 text-md-end">
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                    <h6 class="text-muted pe-lg-4">{{ $seedbox_data->id }}</h6>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    @if($seedbox_data->active !== 1)
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <h6 class="text-danger pe-lg-4">not active</h6>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            <div class="row">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="'col-12 col-lg-6">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    <div class="table-responsive">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <table class="table table-borderless text-nowrap">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tbody>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Type</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td>{{ $seedbox_data->seed_box_type }}</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Hostname</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td><code>{{ $seedbox_data->hostname }}</code></td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Location</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td>{{ $seedbox_data->location->name }}</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Provider</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td>{{ $seedbox_data->provider->name }}</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Price</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td>{{ $seedbox_data->price->price }} {{ $seedbox_data->price->currency }}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    <small>{{\App\Process::paymentTermIntToString($seedbox_data->price->term)}}</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Was promo</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td>{{ ($seedbox_data->was_promo === 1) ? 'Yes' : 'No' }}</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Owned since</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                    @if(!is_null($seedbox_data->owned_since))
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                        {{ date_format(new DateTime($seedbox_data->owned_since), 'jS F Y') }}
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Next due date</td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                <td>{{Carbon\Carbon::parse($seedbox_data->price->next_due_date)->diffForHumans()}}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    ({{Carbon\Carbon::parse($seedbox_data->price->next_due_date)->format('d/m/Y')}})
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Inserted</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                    @if(!is_null($seedbox_data->created_at))
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                        {{ date_format(new DateTime($seedbox_data->created_at), 'jS M y g:i a') }}
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td class="px-2 py-2 font-bold text-muted">Updated</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                <td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                    @if(!is_null($seedbox_data->updated_at))
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                        {{ date_format(new DateTime($seedbox_data->updated_at), 'jS M y g:i a') }}
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </tbody>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        </table>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="'col-12 col-lg-6">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    <table class="table table-borderless">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <tbody>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <td class="px-2 py-2 font-bold text-muted">Disk</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                @if($seedbox_data->disk_as_gb >= 1000)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    {{ number_format($seedbox_data->disk_as_gb / 1000,1) }} <small>TB</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                @else
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                    {{ $seedbox_data->disk_as_gb }} <small>GB</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <td class="px-2 py-2 font-bold text-muted">Bandwidth</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                @if($seedbox_data->bandwidth >= 1000)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    {{ number_format($seedbox_data->bandwidth / 1000,1) }} <small>TB</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                @else
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                    {{ $seedbox_data->bandwidth }} <small>GB</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <td class="px-2 py-2 font-bold text-muted">Port speed</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            <td>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                @if($seedbox_data->port_speed >= 1000)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                    {{ number_format($seedbox_data->port_speed / 1000,1) }} <small>Gbps</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                @else
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                                    {{ $seedbox_data->port_speed }} <small>Mbps</small>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                                @endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                            </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        </tbody>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    </table>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </div>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-20 14:35:37 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            <x-back-btn>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <x-slot name="route">{{ route('seedboxes.index') }}</x-slot>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </x-back-btn>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            <x-edit-btn>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <x-slot name="route">{{ route('seedboxes.edit', $seedbox_data->id) }}</x-slot>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </x-edit-btn>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        </x-card>
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-20 11:59:03 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								              <x-details-footer></x-details-footer>
							 | 
						
					
						
							
								
									
										
										
										
											2022-05-16 12:07:35 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</x-app-layout>
							 |