Compare commits
No commits in common. "9c9fd84e0aa1d177761d778c11bfe6bc0d83da15" and "bb42f418e038b912083d1935790b030d8fbe2135" have entirely different histories.
9c9fd84e0a
...
bb42f418e0
@ -293,8 +293,6 @@ class Address extends Model
|
|||||||
return 'NODE';
|
return 'NODE';
|
||||||
case self::NODE_POINT:
|
case self::NODE_POINT:
|
||||||
return 'POINT';
|
return 'POINT';
|
||||||
case self::NODE_PVT:
|
|
||||||
return 'PRIVATE';
|
|
||||||
default:
|
default:
|
||||||
return '?';
|
return '?';
|
||||||
}
|
}
|
||||||
|
4
public/css/fixes.css
vendored
4
public/css/fixes.css
vendored
@ -63,12 +63,14 @@ ol {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stop dropdown menu animation - also fixes collapsing transition layout */
|
/* Stop dropdown menu animation */
|
||||||
|
/*
|
||||||
.collapsing {
|
.collapsing {
|
||||||
-webkit-transition: none;
|
-webkit-transition: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/* dropdown menu fixes */
|
/* dropdown menu fixes */
|
||||||
#nav-menu div.collapse.navbar-collapse.show ul {
|
#nav-menu div.collapse.navbar-collapse.show ul {
|
||||||
|
1
public/oldschool/css/main.css
vendored
1
public/oldschool/css/main.css
vendored
@ -241,7 +241,6 @@ a.thispage:hover {
|
|||||||
background-color:transparent!important
|
background-color:transparent!important
|
||||||
}
|
}
|
||||||
a.thispage span,
|
a.thispage span,
|
||||||
a.dropdown-item.thispage,
|
|
||||||
a.thispage:hover span {
|
a.thispage:hover span {
|
||||||
color:#c60!important
|
color:#c60!important
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
<p>Here is a list of known <strong class="highlight">FTN Networks</strong>.</p>
|
<p>Here is a list of known <strong class="highlight">FTN Networks</strong>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 pt-2">
|
<div class="col-10 pt-2">
|
||||||
<table class="table monotable" id="ftnlist">
|
<table class="table monotable">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Domain</th>
|
<th>Domain</th>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>{{ $do->zones->where('active',TRUE)->pluck('zone_id')->sort()->join(', ') }}</td>
|
<td>{{ $do->zones->where('active',TRUE)->pluck('zone_id')->sort()->join(', ') }}</td>
|
||||||
<td class="text-end">{{ $do->active ? 'Active' : 'Not Active' }}</td>
|
<td class="text-end">{{ $do->active ? 'YES' : 'NO' }}</td>
|
||||||
<td class="text-end">{{ $do->managed() ? 'YES' : 'NO' }}</td>
|
<td class="text-end">{{ $do->managed() ? 'YES' : 'NO' }}</td>
|
||||||
<td>
|
<td>
|
||||||
@foreach (($x=$do->zones->pluck('addresses')->flatten())->where('role',\App\Models\Address::NODE_ZC)->sortBy('zone.zone_id') as $ao)
|
@foreach (($x=$do->zones->pluck('addresses')->flatten())->where('role',\App\Models\Address::NODE_ZC)->sortBy('zone.zone_id') as $ao)
|
||||||
@ -48,58 +48,4 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@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
|
|
@ -4,21 +4,15 @@
|
|||||||
<ul id="navlist-desktop">
|
<ul id="navlist-desktop">
|
||||||
<li><a href="{{ url($user ? 'dashboard' : '/') }}" class="@if(preg_match('#^([dashboard]?[/]?)+$#',request()->path()))thispage disabled @endif"><span>Home</span></a></li>
|
<li><a href="{{ url($user ? 'dashboard' : '/') }}" class="@if(preg_match('#^([dashboard]?[/]?)+$#',request()->path()))thispage disabled @endif"><span>Home</span></a></li>
|
||||||
<li><a href="{{ url('about') }}" class="@if(preg_match('#^about#',request()->path()))thispage disabled @endif"><span>About</span></a></li>
|
<li><a href="{{ url('about') }}" class="@if(preg_match('#^about#',request()->path()))thispage disabled @endif"><span>About</span></a></li>
|
||||||
<li>
|
<li><a href="{{ url('domain/list') }}" class="@if(preg_match('#^domain/list#',request()->path()))thispage disabled @endif"><span>FTN List</span></a></li>
|
||||||
<a class="@if(preg_match('#[domain|system]/list#',request()->path()))thispage @endif" type="button" data-bs-toggle="collapse" data-bs-target="#dropdown-list" aria-controls="dropdown-list" aria-expanded="false" aria-label="Toggle Lists">
|
<li><a href="{{ url('system/list') }}" class="@if(preg_match('#^system/list#',request()->path()))thispage disabled @endif"><span>BBS List</span></a></li>
|
||||||
<span>Lists</span>
|
|
||||||
</a>
|
|
||||||
<div class="collapse navbar-collapse" id="dropdown-list">
|
|
||||||
<ul class="dropdown-menu dropdown-menu-dark">
|
|
||||||
<li><a class="dropdown-item @if(preg_match('#^system/list#',request()->path()))thispage disabled @endif" href="{{ url('system/list') }}">BBS List</a></li>
|
|
||||||
<li><a class="dropdown-item @if(preg_match('#^domain/list#',request()->path()))thispage disabled @endif" href="{{ url('domain/list') }}">FTN List</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li><a href="{{ url('status') }}" class="@if(preg_match('#^status#',request()->path()))thispage disabled @endif"><span>Status</span></a></li>
|
<li><a href="{{ url('status') }}" class="@if(preg_match('#^status#',request()->path()))thispage disabled @endif"><span>Status</span></a></li>
|
||||||
{{--
|
{{--
|
||||||
<li><a href="{{ url('help') }}" class="@if(preg_match('#^help#',request()->path()))thispage @endif disabled"><span>Help</span></a></li>
|
<li><a href="{{ url('help') }}" class="@if(preg_match('#^help#',request()->path()))thispage @endif disabled"><span>Help</span></a></li>
|
||||||
--}}
|
--}}
|
||||||
|
@can('admin')
|
||||||
|
<li><a href="{{ url('setup') }}" class="@if(preg_match('#^setup#',request()->path()))thispage @endif"><span>Setup</span></a></li>
|
||||||
|
@endcan
|
||||||
@if(preg_match('#^/network/#',request()->path()))
|
@if(preg_match('#^/network/#',request()->path()))
|
||||||
<li><a href="{{ url('join') }}" class="@if(preg_match('#^join#',request()->path()))thispage @endif"><span>Join</span></a></li>
|
<li><a href="{{ url('join') }}" class="@if(preg_match('#^join#',request()->path()))thispage @endif"><span>Join</span></a></li>
|
||||||
@endif
|
@endif
|
||||||
@ -27,23 +21,24 @@
|
|||||||
<ul class="float-end">
|
<ul class="float-end">
|
||||||
@auth
|
@auth
|
||||||
<li>
|
<li>
|
||||||
<a class="{{ $user->switched ? 'switched' : '' }}" type="button" data-bs-toggle="collapse" data-bs-target="#user-menu-list" aria-controls="navbarNavDarkDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
<a class="{{ $user->switched ? 'switched' : '' }}" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDarkDropdown" aria-controls="navbarNavDarkDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span>{{ $user->name }}</span>
|
<span>{{ $user->name }}</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="collapse navbar-collapse" id="user-menu-list">
|
<div class="collapse navbar-collapse" id="navbarNavDarkDropdown">
|
||||||
<ul class="dropdown-menu dropdown-menu-dark">
|
<ul class="dropdown-menu dropdown-menu-dark">
|
||||||
<li><a class="dropdown-item" href="{{ url('user/system/register') }}">Register/Link System</a></li>
|
<li><a class="dropdown-item" href="{{ url('user/system/register') }}">Register/Link System</a></li>
|
||||||
@can('admin')
|
|
||||||
<li><a class="dropdown-item @if(preg_match('#^setup#',request()->path()))thispage @endif" href="{{ url('setup') }}">Setup</a></li>
|
|
||||||
@endcan
|
|
||||||
@if($user->switched)
|
|
||||||
<li><a class="dropdown-item" href="{{ url('admin/switch/stop') }}">Switch Back</a></li>
|
|
||||||
@else
|
|
||||||
<li><a class="dropdown-item" href="{{ url('logout') }}">Logout</a></li>
|
|
||||||
@endif
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@if($user->switched)
|
||||||
|
<li><a href="{{ url('admin/switch/stop') }}">
|
||||||
|
<span>Switch Back</span>
|
||||||
|
</a></li>
|
||||||
|
@else
|
||||||
|
<li><a href="{{ url('logout') }}"><span>Logout</span></a></li>
|
||||||
|
@endif
|
||||||
|
|
||||||
@endauth
|
@endauth
|
||||||
@guest
|
@guest
|
||||||
<li><a href="{{ url('login') }}"><span>Login</span></a></li>
|
<li><a href="{{ url('login') }}"><span>Login</span></a></li>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 pt-2">
|
<div class="col-12 pt-2">
|
||||||
<table class="table monotable" id="bbslist">
|
<table class="table monotable">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="w-25">System</th>
|
<th class="w-25">System</th>
|
||||||
@ -39,32 +39,4 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('page-css')
|
|
||||||
@css('datatables')
|
|
||||||
@append
|
|
||||||
@section('page-scripts')
|
|
||||||
@js('datatables')
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function() {
|
|
||||||
$('#bbslist').DataTable({
|
|
||||||
paging: true,
|
|
||||||
pageLength: 25,
|
|
||||||
searching: true,
|
|
||||||
autoWidth: false,
|
|
||||||
conditionalPaging: {
|
|
||||||
style: 'fade',
|
|
||||||
speed: 500 // optional
|
|
||||||
},
|
|
||||||
language: {
|
|
||||||
paginate: {
|
|
||||||
previous: '<<',
|
|
||||||
next: '>>'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
@append
|
|
Loading…
Reference in New Issue
Block a user