Changed to using new Address Model, Implemented Setup, Some minor CSS changes

This commit is contained in:
Deon George
2021-06-24 20:16:37 +10:00
parent ec6594b701
commit d1ca78d372
33 changed files with 766 additions and 172 deletions

View File

@@ -12,7 +12,7 @@
</div>
<div class="row">
<div class="col-9">
<div class="col-10">
<p>This system is aware of the following systems:</p>
@if (\App\Models\System::count() == 0)
@@ -30,6 +30,7 @@
<th>Sysop</th>
<th>Location</th>
<th>Active</th>
<th>ZeroTier ID</th>
<th>Connect</th>
</tr>
</thead>
@@ -37,7 +38,7 @@
<tbody>
@can('admin',(new \App\Models\System))
<tr>
<td colspan="6"><a href="{{ url('ftn/system/addedit') }}">Add New System</a></td>
<td colspan="7"><a href="{{ url('ftn/system/addedit') }}">Add New System</a></td>
</tr>
@endcan
@foreach (\App\Models\System::orderBy('name')->cursor() as $oo)
@@ -47,6 +48,7 @@
<td>{{ $oo->sysop }}</td>
<td>{{ $oo->location }}</td>
<td>{{ $oo->active ? 'YES' : 'NO' }}</td>
<td>-</td>
<td>
@switch($oo->method)
@case(23)<a href="telnet://{{ $oo->address }}:{{ $oo->port }}">Telnet</a>@break