@extends('layouts.master') @section('title') nas @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Networking @endslot @slot('title') Nas @endslot @endcomponent
| Nas IP | Status | Ping | Name | Type | Port | @can('configure nas') @if(setting('simpleconfig') == 'enabled')Configure | @endif @endcanServices | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $n->nasname }} | @if ($n->reachable) Reachable @else Unreachable @endif | @if ($n->rtt_ms) {{ $n->rtt_ms }} ms @else N/A @endif | {{ $n->shortname }} | {{ $n->type }} | {{ $n->nasprofile->api_port }} | @can('configure nas') @if(setting('simpleconfig') == 'enabled')
@php
$configEnabled = $n->nasprofile->config == 1 && setting('nasreconfig') == 'enabled';
$configDisabled = $n->nasprofile->config == 0;
$route = route('nas.configLogin', ['nas' => $n->id]);
@endphp
@if($configEnabled)
Reconfigure
@elseif($configDisabled)
Configure
@else
@endif |
@endif
@endcan
{{count($n->services)}} |
You have not added any nas device. You need atleast one to proceed