Fix title on verify packet, update permissions view
This commit is contained in:
parent
41d36fe86d
commit
a24bba0481
@ -22,7 +22,7 @@
|
||||
<tr>
|
||||
<td>Domains</td>
|
||||
<td>
|
||||
<table class="table table-sm">
|
||||
<table class="table table-sm" id="domains">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Domain</th>
|
||||
@ -45,7 +45,7 @@
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>
|
||||
<table class="table table-sm">
|
||||
<table class="table table-sm" id="systems">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">System</th>
|
||||
@ -54,10 +54,10 @@
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\System::orderBy('name')->get() as $o)
|
||||
@foreach (\App\Models\System::orderBy('name')->with(['users'])->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->name }}</td>
|
||||
<td>@can('admin',$o)YES @else NO @endcan</td>
|
||||
<td>@can('update',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@ -68,7 +68,7 @@
|
||||
<tr>
|
||||
<td>Zone</td>
|
||||
<td>
|
||||
<table class="table table-sm">
|
||||
<table class="table table-sm" id="zones">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Zone</th>
|
||||
@ -90,3 +90,31 @@
|
||||
</tbody>
|
||||
</table>
|
||||
@endsection
|
||||
|
||||
@section('page-css')
|
||||
@css('datatables')
|
||||
@append
|
||||
@section('page-scripts')
|
||||
@js('datatables')
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#systems').DataTable({
|
||||
paging: true,
|
||||
pageLength: 25,
|
||||
searching: true,
|
||||
order: [],
|
||||
conditionalPaging: {
|
||||
style: 'fade',
|
||||
speed: 500
|
||||
},
|
||||
language: {
|
||||
paginate: {
|
||||
previous: '<<',
|
||||
next: '>>'
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@append
|
@ -1,4 +1,7 @@
|
||||
@extends('layouts.app')
|
||||
@section('htmlheader_title')
|
||||
Verify Packet
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<form class="row g-0 needs-validation" method="post" enctype="multipart/form-data" novalidate>
|
||||
|
Loading…
Reference in New Issue
Block a user