2022-11-25 10:44:03 +00:00
|
|
|
@extends('layouts.app')
|
|
|
|
@section('htmlheader_title')
|
|
|
|
Known FTN Networks
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2024-04-22 04:27:48 +00:00
|
|
|
<div class="row">
|
2022-11-25 10:44:03 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<h2>List of known FTN Networks</h2>
|
|
|
|
|
|
|
|
<p>Here is a list of known <strong class="highlight">FTN Networks</strong>.</p>
|
|
|
|
|
2024-04-14 06:53:33 +00:00
|
|
|
<table class="table monotable" id="ftnlist">
|
2022-11-25 10:44:03 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Domain</th>
|
|
|
|
<th>Zones</th>
|
|
|
|
<th>Active</th>
|
|
|
|
<th>Available Here</th>
|
|
|
|
<th>Head Quarters</th>
|
|
|
|
<th>Known Systems</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach (\App\Models\Domain::public()->orderBy('name')->with(['zones.addresses.system'])->get() as $do)
|
|
|
|
<tr>
|
2023-09-08 11:31:29 +00:00
|
|
|
<td>
|
|
|
|
@if($do->active)
|
2023-10-05 11:59:59 +00:00
|
|
|
<a href="{{ url('domain/view',$do->id) }}">{{ $do->name }}</a>
|
2023-09-08 11:31:29 +00:00
|
|
|
@else
|
|
|
|
{{ $do->name }}
|
|
|
|
@endif
|
|
|
|
</td>
|
2023-09-15 06:59:46 +00:00
|
|
|
<td>{{ $do->zones->where('active',TRUE)->pluck('zone_id')->sort()->join(', ') }}</td>
|
2024-04-14 06:53:33 +00:00
|
|
|
<td class="text-end">{{ $do->active ? 'Active' : 'Not Active' }}</td>
|
2022-11-25 10:44:03 +00:00
|
|
|
<td class="text-end">{{ $do->managed() ? 'YES' : 'NO' }}</td>
|
|
|
|
<td>
|
2022-12-03 02:35:23 +00:00
|
|
|
@foreach (($x=$do->zones->pluck('addresses')->flatten())->where('role',\App\Models\Address::NODE_ZC)->sortBy('zone.zone_id') as $ao)
|
|
|
|
{{ $ao->system->sysop }}, <a href="{{ url('system/view',$ao->system_id) }}">{{ $ao->system->name }}</a><br>
|
2022-11-25 10:44:03 +00:00
|
|
|
@endforeach
|
|
|
|
</td>
|
|
|
|
<td class="text-end">{{ $x->pluck('system')->unique('name')->count() }}</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-14 06:53:33 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('page-css')
|
|
|
|
@css('datatables')
|
|
|
|
@append
|
|
|
|
@section('page-scripts')
|
|
|
|
@js('datatables')
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('table tr').click(function() {
|
|
|
|
var href = $(this).find('a:not(.disabled)').attr('href');
|
|
|
|
|
|
|
|
if (href)
|
|
|
|
window.location = href;
|
|
|
|
});
|
|
|
|
|
|
|
|
$('#ftnlist').DataTable({
|
|
|
|
paging: true,
|
|
|
|
pageLength: 25,
|
|
|
|
searching: true,
|
|
|
|
autoWidth: false,
|
|
|
|
conditionalPaging: {
|
|
|
|
style: 'fade',
|
|
|
|
speed: 500 // optional
|
|
|
|
},
|
|
|
|
columnDefs: [
|
|
|
|
{
|
|
|
|
targets: 1,
|
|
|
|
type: 'num-fmt',
|
|
|
|
render: {
|
|
|
|
'sort': function (data,type,row,meta) {
|
|
|
|
return data ? parseFloat(data) : 0;
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
targets: [2],
|
|
|
|
visible: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
orderFixed: [2, 'asc'],
|
|
|
|
rowGroup: {
|
|
|
|
dataSrc: [2],
|
|
|
|
},
|
|
|
|
language: {
|
|
|
|
paginate: {
|
|
|
|
previous: '<<',
|
|
|
|
next: '>>'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@append
|