@extends('layouts.app') @section('title', '防火牆申請初審') @section('content')

防火牆申請初審

初審通過後將送交 pake 進行最終審核並套用 UFW
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- ── 待初審 ── --}}
{{ $pending->count() }}待初審
@if($pending->isEmpty())
目前沒有待初審的申請。
@else
@foreach($pending as $r)
待初審 #{{ $r->id }} · {{ $r->created_at->format('Y/m/d H:i') }}
申請人
{{ $r->user->name }}
{{ $r->user->email }}
申請 IP
{{ $r->ip_address }}
目標 / Port
{{ $r->target_server }}
@foreach($r->ports as $p) :{{ $p }} @endforeach
申請原因
{{ $r->reason }}
@csrf
@csrf
@endforeach
@endif {{-- ── 歷史紀錄 ── --}}
歷史紀錄
@forelse($reviewed as $r) @empty @endforelse
#申請人IPPort 申請原因狀態初審備註初審時間
{{ $r->id }}
{{ $r->user->name }}
{{ $r->user->email }}
{{ $r->ip_address }} @foreach($r->ports as $p) {{ $p }} @endforeach {{ $r->reason }} {{ $r->statusLabel() }} {{ $r->supervisor_note ?: '—' }} {{ $r->supervisor_reviewed_at?->format('Y/m/d H:i') ?? '—' }}
尚無紀錄
@endsection @push('scripts') @endpush