2024-12-06 03:44:19 +00:00
<!-- $ao = Address :: class -->
<!-- $o = System :: class -->
2023-08-03 07:30:52 +00:00
@ extends ( 'layouts.app' )
@ section ( 'htmlheader_title' )
Areafix / Filefix Message
@ endsection
@ section ( 'content' )
< div class = " row " >
< div class = " col-12 " >
< h1 > Areafix / Filefix to {{ $o -> name }} - {{ $zo -> domain -> name }} </ h1 >
</ div >
</ div >
2024-04-22 04:27:48 +00:00
@ includeWhen ( session () -> has ( 'success' ), 'widgets.success' ,[ 'msg' => session () -> get ( 'success' )])
2023-08-03 07:30:52 +00:00
2024-12-06 00:16:38 +00:00
< form class = " needs-validation " method = " post " autocomplete = " off " novalidate >
2023-08-03 07:30:52 +00:00
@ csrf
< div class = " row pt-0 " >
< div class = " col-2 " >
2024-12-06 03:44:19 +00:00
< x - form . select name = " to " icon = " bi-robot " label = " To " feedback = " To name required " : value = " ( $x =collect(config('fido.areafilefix')))->first() " : options = " $x->map (fn( $item )=>['id'=> $item ,'value'=> $item ]) " required />
2023-08-03 07:30:52 +00:00
</ div >
< div class = " offset-2 col-3 " >
2024-12-06 03:44:19 +00:00
< x - form . select name = " tftn_id " icon = " bi-ui-radios " label = " Uplink Address " feedback = " Uplink address required " : value = " ( $x =collect(config('fido.areafilefix')))->first() " : options = " $o->akas ->where('zone_id', $zo->id )->map(fn( $item )=>['id'=> $item->id ,'value'=> $item->ftn ]) " required />
2023-08-03 07:30:52 +00:00
</ div >
</ div >
< div class = " row " >
2024-12-06 03:44:19 +00:00
<!-- SUBJECT -->
2023-08-03 07:30:52 +00:00
< div class = " col-3 " >
< label for = " subject " class = " form-label " > Subject </ label >
2024-12-06 03:44:19 +00:00
< div class = " input-group has-validation " >
< span class = " input-group-text @error('subject') is-invalid @enderror " >< i class = " bi bi-pass " ></ i ></ span >
< input type = " text " class = " form-control " id = " subject " placeholder = " Areafix Password " name = " subject " value = " { { old('subject', $ao->pass_fix ) }} " required >
2023-08-03 07:30:52 +00:00
< span class = " invalid-feedback " role = " alert " >
@ error ( 'subject' )
{{ $message }}
2024-12-06 03:44:19 +00:00
@ else
Area / filefix password is required
2023-08-03 07:30:52 +00:00
@ enderror
</ span >
</ div >
</ div >
< div class = " offset-1 col-3 " >
2024-12-06 03:44:19 +00:00
< x - form . select name = " fftn_id " icon = " bi-ui-radios " label = " Our address " feedback = " Our address required " : value = " $ao->id " : options = " $setup->system ->akas->where('zone_id', $zo->id )->map(fn( $item )=>['id'=> $item->id ,'value'=> $item->ftn ]) " required />
2023-08-03 07:30:52 +00:00
</ div >
</ div >
< div class = " row " >
<!-- Message -->
< div class = " col-12 " >
< label for = " msg " class = " form-label " > Message </ label >
2024-12-06 03:44:19 +00:00
< textarea class = " form-control @error('msg') is-invalid @enderror " rows = 10 name = " msg " placeholder = " Message... " required > {{ old ( 'msg' ) }} </ textarea >
2023-08-03 07:30:52 +00:00
< span class = " invalid-feedback " role = " alert " >
@ error ( 'msg' )
{{ $message }}
2024-12-06 03:44:19 +00:00
@ else
Area / filefix commands are required
2023-08-03 07:30:52 +00:00
@ enderror
</ span >
</ div >
</ div >
< div class = " row " >
< div class = " col-12 " >
< button type = " submit " class = " btn btn-success " name = " submit " value = " send " > Send </ button >
</ div >
</ div >
</ form >
2024-12-06 03:44:19 +00:00
@ endsection