Some layout changes for echoarea/filearea
This commit is contained in:
parent
c904f1f9e9
commit
34776b6639
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-9">
|
<div class="col-9">
|
||||||
|
|
||||||
@if (\App\Models\Domain::count() == 0)
|
@if (\App\Models\Domain::count() == 0)
|
||||||
@can('admin',(new \App\Models\Domain))
|
@can('admin',(new \App\Models\Domain))
|
||||||
<p>There are no domains setup, to <a href="{{ url('ftn/domain/addedit') }}">set up your first</a>.</p>
|
<p>There are no domains setup, to <a href="{{ url('ftn/domain/addedit') }}">set up your first</a>.</p>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<table class="table monotable w-100" id="echoarea">
|
<table class="table monotable w-100" id="echoarea">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="3"></th>
|
<th class="w-75" colspan="3"></th>
|
||||||
<th colspan="3" class="text-center">Messages</th>
|
<th colspan="3" class="text-center">Messages</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -47,9 +47,9 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
@foreach ($o->echoareas->sortBy('name') as $oo)
|
@foreach ($o->echoareas->sortBy('name') as $oo)
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ url('ftn/echoarea/addedit',[$oo->id]) }}">{{ $oo->name }}</a></td>
|
<td style="width: 15%;"><a href="{{ url('ftn/echoarea/addedit',[$oo->id]) }}">{{ $oo->name }}</a></td>
|
||||||
<td>{{ $oo->description }}</td>
|
<td>{{ $oo->description }}</td>
|
||||||
<td>{{ ($x=$oo->echomail()->orderBy('created_at','DESC')->first()) ? $x->created_at->format('Y-m-d H:i') : '-' }}</td>
|
<td style="width: 15%;">{{ ($x=$oo->echomail()->orderBy('created_at','DESC')->first()) ? $x->created_at->format('Y-m-d H:i') : '-' }}</td>
|
||||||
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subDay())->count()) }}</td>
|
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subDay())->count()) }}</td>
|
||||||
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subWeek())->count()) }}</td>
|
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subWeek())->count()) }}</td>
|
||||||
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subMonth())->count()) }}</td>
|
<td class="text-end">{{ number_format($oo->echomail()->where('created_at','>=',Carbon::now()->subMonth())->count()) }}</td>
|
||||||
@ -84,9 +84,9 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
@foreach ($o->fileareas->sortBy('name') as $oo)
|
@foreach ($o->fileareas->sortBy('name') as $oo)
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ url('ftn/filearea/addedit',[$oo->id]) }}">{{ $oo->name }}</a></td>
|
<td style="width: 15%;"><a href="{{ url('ftn/filearea/addedit',[$oo->id]) }}">{{ $oo->name }}</a></td>
|
||||||
<td>{{ $oo->description }}</td>
|
<td>{{ $oo->description }}</td>
|
||||||
<td>-</td>
|
<td style="width: 15%;">-</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -182,7 +182,8 @@
|
|||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 25,
|
||||||
searching: true,
|
searching: true,
|
||||||
order: [],
|
ordering: true,
|
||||||
|
order: [1,'asc'],
|
||||||
conditionalPaging: {
|
conditionalPaging: {
|
||||||
style: 'fade',
|
style: 'fade',
|
||||||
speed: 500 // optional
|
speed: 500 // optional
|
||||||
@ -193,7 +194,8 @@
|
|||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 25,
|
||||||
searching: true,
|
searching: true,
|
||||||
order: [],
|
ordering: true,
|
||||||
|
order: [1,'asc'],
|
||||||
conditionalPaging: {
|
conditionalPaging: {
|
||||||
style: 'fade',
|
style: 'fade',
|
||||||
speed: 500 // optional
|
speed: 500 // optional
|
||||||
@ -204,7 +206,6 @@
|
|||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 25,
|
||||||
searching: true,
|
searching: true,
|
||||||
order: [],
|
|
||||||
conditionalPaging: {
|
conditionalPaging: {
|
||||||
style: 'fade',
|
style: 'fade',
|
||||||
speed: 500 // optional
|
speed: 500 // optional
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-9">
|
||||||
<p>This system is aware of the following echoareas @can('admin',(new \App\Models\Echoarea))(you can <a href="{{ url('ftn/echoarea/addedit') }}">add</a> more)@endcan:</p>
|
<p>This system is aware of the following echoareas @can('admin',(new \App\Models\Echoarea))(you can <a href="{{ url('ftn/echoarea/addedit') }}">add</a> more)@endcan:</p>
|
||||||
|
|
||||||
@if (\App\Models\Echoarea::count() == 0)
|
@if (\App\Models\Echoarea::count() == 0)
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-9">
|
||||||
<p>This system is aware of the following fileareas @can('admin',(new \App\Models\Filearea))(you can <a href="{{ url('ftn/filearea/addedit') }}">add</a> more)@endcan:</p>
|
<p>This system is aware of the following fileareas @can('admin',(new \App\Models\Filearea))(you can <a href="{{ url('ftn/filearea/addedit') }}">add</a> more)@endcan:</p>
|
||||||
|
|
||||||
@if (\App\Models\Filearea::count() == 0)
|
@if (\App\Models\Filearea::count() == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user