| 
									
										
										
										
											2022-10-13 16:03:31 +11:00
										 |  |  | @section("title", "{$yab[0]->hostname} {$yab[0]->id} YABS") | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  | <x-app-layout> | 
					
						
							|  |  |  |     <x-slot name="header"> | 
					
						
							|  |  |  |         {{ __('YABs details') }} | 
					
						
							|  |  |  |     </x-slot> | 
					
						
							|  |  |  |     <div class="container"> | 
					
						
							|  |  |  |         <x-card class="shadow mt-3"> | 
					
						
							| 
									
										
										
										
											2022-07-20 00:19:43 +10:00
										 |  |  |             <x-back-btn> | 
					
						
							|  |  |  |                 <x-slot name="route">{{ route('yabs.index') }}</x-slot> | 
					
						
							|  |  |  |             </x-back-btn> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                 <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-4 py-2 font-bold">Server</td> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                     <td><a href="{{route('servers.show', ['server' => $yab[0]->server_id])}}" class="text-decoration-none">{{ $yab[0]->server->hostname }}</a></td> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                 </tr> | 
					
						
							| 
									
										
										
										
											2022-07-20 13:08:52 +10:00
										 |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">Uptime</td> | 
					
						
							|  |  |  |                                     <td>{{ $yab[0]->uptime }}</td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">Distro</td> | 
					
						
							|  |  |  |                                     <td>{{ $yab[0]->distro }}</td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">CPU</td> | 
					
						
							| 
									
										
										
										
											2022-06-23 22:41:28 +08:00
										 |  |  |                                     <td>{{ $yab[0]->cpu_cores }} @ {{$yab[0]->cpu_freq}} Mhz</td> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">CPU type</td> | 
					
						
							|  |  |  |                                     <td>{{ $yab[0]->cpu_model }}</td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">Ram</td> | 
					
						
							|  |  |  |                                     <td>{{ $yab[0]->ram }} {{$yab[0]->ram_type}}</td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							| 
									
										
										
										
											2022-07-20 13:08:52 +10:00
										 |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">Swap</td> | 
					
						
							|  |  |  |                                     <td>{{ $yab[0]->swap }} {{$yab[0]->swap_type}}</td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">Disk</td> | 
					
						
							|  |  |  |                                     <td>{{ $yab[0]->disk }} {{$yab[0]->disk_type}}</td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">Has IPv6</td> | 
					
						
							|  |  |  |                                     <td> | 
					
						
							|  |  |  |                                         @if($yab[0]->has_ipv6 === 1) | 
					
						
							|  |  |  |                                             <span class="text-success">Yes</span> | 
					
						
							|  |  |  |                                         @else | 
					
						
							|  |  |  |                                             <span class="text-danger">No</span> | 
					
						
							|  |  |  |                                         @endif | 
					
						
							|  |  |  |                                     </td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">AES</td> | 
					
						
							|  |  |  |                                     <td> | 
					
						
							|  |  |  |                                         @if($yab[0]->aes === 1) | 
					
						
							|  |  |  |                                             <span class="text-success">Yes</span> | 
					
						
							|  |  |  |                                         @else | 
					
						
							|  |  |  |                                             <span class="text-danger">No</span> | 
					
						
							|  |  |  |                                         @endif | 
					
						
							|  |  |  |                                     </td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">VM</td> | 
					
						
							|  |  |  |                                     <td> | 
					
						
							|  |  |  |                                         @if($yab[0]->vm === 1) | 
					
						
							|  |  |  |                                             <span class="text-success">Yes</span> | 
					
						
							|  |  |  |                                         @else | 
					
						
							|  |  |  |                                             <span class="text-danger">No</span> | 
					
						
							|  |  |  |                                         @endif | 
					
						
							|  |  |  |                                     </td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">GB5 Single</td> | 
					
						
							|  |  |  |                                     <td><a href="https://browser.geekbench.com/v5/cpu/{{$yab[0]->gb5_id}}" | 
					
						
							|  |  |  |                                            class="text-decoration-none">{{ $yab[0]->gb5_single }}</a></td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 font-bold">GB5 Multi</td> | 
					
						
							|  |  |  |                                     <td><a href="https://browser.geekbench.com/v5/cpu/{{$yab[0]->gb5_id}}" | 
					
						
							|  |  |  |                                            class="text-decoration-none">{{ $yab[0]->gb5_multi }}</a></td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 <tr> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                     <td class="px-4 py-2 font-bold">Test ran</td> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                     <td> | 
					
						
							|  |  |  |                                         @if(!is_null($yab[0]->output_date)) | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                             {{date_format(new DateTime($yab[0]->output_date), 'g:ia D jS F Y')}} | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                         @endif | 
					
						
							|  |  |  |                                     </td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                                 </tbody> | 
					
						
							|  |  |  |                             </table> | 
					
						
							|  |  |  |                         </div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <div class="'col-12 col-lg-6"> | 
					
						
							|  |  |  |                         <table class="table table-borderless"> | 
					
						
							|  |  |  |                             <tbody> | 
					
						
							|  |  |  |                             <tr> | 
					
						
							|  |  |  |                                 <td class="py-2">Disk speeds:</td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							|  |  |  |                             <tr> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                 <td class="px-4 py-2"><b>4k</b> {{$yab[0]->disk_speed->d_4k}} | 
					
						
							|  |  |  |                                     <small>{{$yab[0]->disk_speed->d_4k_type}}</small></td> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                             </tr> | 
					
						
							|  |  |  |                             <tr> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                 <td class="px-4 py-2"><b>64k</b> {{$yab[0]->disk_speed->d_64k}} | 
					
						
							|  |  |  |                                     <small>{{$yab[0]->disk_speed->d_64k_type}}</small></td> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                             </tr> | 
					
						
							|  |  |  |                             <tr> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                 <td class="px-4 py-2"><b>512k</b> {{$yab[0]->disk_speed->d_512k}} | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                     <small>{{$yab[0]->d_512k_type}}</small></td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							|  |  |  |                             <tr> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                                 <td class="px-4 py-2"><b>1m</b> {{$yab[0]->disk_speed->d_1m}} <small>{{$yab[0]->disk_speed->d_1m_type}}</small> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                 </td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							|  |  |  |                             <tr> | 
					
						
							|  |  |  |                                 <td class="py-2">Network speed (location|send|receive):</td> | 
					
						
							|  |  |  |                             </tr> | 
					
						
							| 
									
										
										
										
											2022-07-18 14:27:11 +10:00
										 |  |  |                             @foreach($yab[0]->network_speed as $speed_test) | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |                                 <tr> | 
					
						
							|  |  |  |                                     <td class="px-4 py-2 text-nowrap"> | 
					
						
							|  |  |  |                                         <b>{{$speed_test->location}}</b> {{$speed_test->send}} | 
					
						
							|  |  |  |                                         <small>{{$speed_test->send_type}}</small>, {{$speed_test->receive}} | 
					
						
							|  |  |  |                                         <small>{{$speed_test->receive_type}}</small></td> | 
					
						
							|  |  |  |                                 </tr> | 
					
						
							|  |  |  |                             @endforeach | 
					
						
							|  |  |  |                             </tbody> | 
					
						
							|  |  |  |                         </table> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |         </x-card> | 
					
						
							| 
									
										
										
										
											2022-10-20 11:59:03 +11:00
										 |  |  |               <x-details-footer></x-details-footer> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |     </div> | 
					
						
							|  |  |  | </x-app-layout> |