2020-04-21 11:59:54 +02:00
@ extends ( 'layouts.app' )
@ section ( 'content' )
< div class = " container " >
< div class = " row justify-content-center " >
< div class = " col-md-12 " >
< div class = " card " >
2022-09-21 11:17:58 +00:00
< div class = " card-header " > {{ __ ( 'Gestion des IP du réseau LDC' ) }} < a href = " { { route('ldc-networks.create') }} " class = " btn btn-sm btn-primary float-end " > {{ __ ( 'Ajouter' ) }} </ a ></ div >
2020-04-21 11:59:54 +02:00
< div class = " card-body " >
@ if ( session ( 'status' ))
< div class = " alert alert-success " role = " alert " >
{{ session ( 'status' ) }}
</ div >
@ endif
< table class = " table text-center " >
< thead class = " thead-dark " >
< tr >
< th scope = " col " > CIDR </ th >
< th scope = " col " ></ th >
</ tr >
</ thead >
< tbody >
2022-09-21 11:17:58 +00:00
@ foreach ( $ldc_networks as $ldc_network )
2020-04-21 11:59:54 +02:00
< tr >
2022-09-21 11:17:58 +00:00
< td > {{ $ldc_network -> cidr }} </ td >
< td >< a href = " { { route('ldc-networks.edit', $ldc_network ) }} " class = " btn btn-sm btn-primary " > {{ __ ( 'Détails' ) }} </ a ></ td >
2020-04-21 11:59:54 +02:00
</ tr >
@ endforeach
</ tbody >
</ table >
</ div >
</ div >
</ div >
</ div >
</ div >
@ endsection