all list pages updated same height
This commit is contained in:
parent
04af057194
commit
c46ab7b14f
18
public/css/custom.css
vendored
18
public/css/custom.css
vendored
@ -717,6 +717,24 @@ table .align-items-center td span.badge {
|
||||
/*--------Text Pre Nowrap Finish--------*/
|
||||
|
||||
|
||||
/*--------Table Without toggle button--------*/
|
||||
.tr-py
|
||||
{
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
/*--------Table Without toggle button Finish--------*/
|
||||
|
||||
|
||||
/*--------Table No Records--------*/
|
||||
.nr-py
|
||||
{
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
/*--------Table No Records Finish--------*/
|
||||
|
||||
|
||||
/*--------Modal Dialog Resizing--------*/
|
||||
@media (min-width: 576px)
|
||||
{
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
<tbody>
|
||||
@foreach($transactions as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-sm-2 col-md-2 d-none d-sm-block">@date($item->paid_at)</td>
|
||||
<td class="col-xs-4 col-sm-3 col-md-2">{{ $item->account->name }}</td>
|
||||
<td class="col-xs-4 col-sm-3 col-md-2">{{ trans_choice('general.' . Str::plural($item->type), 1) }}</td>
|
||||
|
@ -36,12 +36,12 @@
|
||||
|
||||
<tbody>
|
||||
@foreach($invoices as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-4 col-md-3"><a href="{{ route('portal.invoices.show', $item->id) }}">{{ $item->invoice_number }}</a></td>
|
||||
<td class="col-xs-4 col-sm-2 col-md-2 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
<td class="col-sm-3 col-md-3 d-none d-sm-block">@date($item->invoiced_at)</td>
|
||||
<td class="col-md-2 d-none d-md-block">@date($item->due_at)</td>
|
||||
<td class="col-xs-4 col-sm-3 col-md-2 text-center"><span class="badge badge-pill badge-{{ $item->status_label }}">{{ trans('invoices.statuses.' . $item->status) }}</span></td>
|
||||
<td class="col-xs-4 col-sm-3 col-md-2 text-center"><span class="badge badge-pill badge-{{ $item->status_label }} my--2">{{ trans('invoices.statuses.' . $item->status) }}</span></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
<tbody>
|
||||
@foreach($payments as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-3 col-sm-3"><a href="{{ route('portal.payments.show', $item->id) }}">@date($item->paid_at)</a></td>
|
||||
<td class="col-xs-3 col-sm-3">@money($item->amount, $item->currency_code, true)</td>
|
||||
<td class="col-xs-6 col-sm-3">{{ $payment_methods[$item->payment_method] }}</td>
|
||||
|
@ -499,7 +499,7 @@
|
||||
</div>
|
||||
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<table class="table table-flush table-hover">
|
||||
<thead class="thead-light">
|
||||
<tr class="row table-head-line">
|
||||
<th class="col-xs-4 col-sm-2">{{ trans('general.date') }}</th>
|
||||
@ -509,7 +509,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($bill->histories as $history)
|
||||
<tr class="row align-items-center">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-2">@date($history->created_at)</td>
|
||||
<td class="col-xs-4 col-sm-3 text-left">{{ trans('bills.statuses.' . $history->status) }}</td>
|
||||
<td class="col-xs-4 col-sm-7 text-left long-texts">{{ $history->description }}</td>
|
||||
@ -545,7 +545,7 @@
|
||||
<tbody>
|
||||
@if ($bill->transactions->count())
|
||||
@foreach($bill->transactions as $transaction)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-3">@date($transaction->paid_at)</td>
|
||||
<td class="col-xs-4 col-sm-3">@money($transaction->amount, $transaction->currency_code, true)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block">{{ $transaction->account->name }}</td>
|
||||
@ -575,7 +575,7 @@
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<div class="text-muted" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
<div class="text-muted nr-py" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
{{ trans('general.no_records') }}
|
||||
</div>
|
||||
</td>
|
||||
|
@ -123,7 +123,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($transactions as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-6 col-sm-3">@date($item->paid_at)</td>
|
||||
<td class="col-xs-6 col-sm-3 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
|
||||
@ -155,12 +155,12 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($bills as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-1"><a href="{{ route('bills.show', $item->id) }}">{{ $item->bill_number }}</a></td>
|
||||
<td class="col-xs-4 col-sm-3 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block text-left">@date($item->billed_at)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block text-left">@date($item->due_at)</td>
|
||||
<td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status_label }}">{{ trans('bills.statuses.' . $item->status) }}</span></td>
|
||||
<td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status_label }} my--2">{{ trans('bills.statuses.' . $item->status) }}</span></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
@ -104,11 +104,11 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card shadow">
|
||||
<div class="card">
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show active" id="tabs-icons-text-1" role="tabpanel" aria-labelledby="tabs-icons-text-1-tab">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-flush" id="tbl-transactions">
|
||||
<table class="table table-flush table-hover" id="tbl-transactions">
|
||||
<thead class="thead-light">
|
||||
<tr class="row table-head-line">
|
||||
<th class="col-xs-6 col-sm-3">{{ trans('general.date') }}</th>
|
||||
@ -119,7 +119,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($transactions as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-6 col-sm-3">@date($item->paid_at)</td>
|
||||
<td class="col-xs-6 col-sm-3 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
|
||||
@ -138,7 +138,7 @@
|
||||
|
||||
<div class="tab-pane fade" id="tabs-icons-text-2" role="tabpanel" aria-labelledby="tabs-icons-text-2-tab">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-flush" id="tbl-invoices">
|
||||
<table class="table table-flush table-hover" id="tbl-invoices">
|
||||
<thead class="thead-light">
|
||||
<tr class="row table-head-line">
|
||||
<th class="col-xs-4 col-sm-1">{{ trans_choice('general.numbers', 1) }}</th>
|
||||
@ -150,12 +150,12 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($invoices as $item)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-1"><a href="{{ route('invoices.show', $item->id) }}">{{ $item->invoice_number }}</a></td>
|
||||
<td class="col-xs-4 col-sm-3 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block text-left">@date($item->invoiced_at)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block text-left">@date($item->due_at)</td>
|
||||
<td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status_label }}">{{ trans('invoices.statuses.' . $item->status) }}</span></td>
|
||||
<td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status_label }} my--2">{{ trans('invoices.statuses.' . $item->status) }}</span></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
@ -548,7 +548,7 @@
|
||||
</div>
|
||||
<div id="collapseOne" class="collapse hide" aria-labelledby="headingOne">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<table class="table table-flush table-hover">
|
||||
<thead class="thead-light">
|
||||
<tr class="row table-head-line">
|
||||
<th class="col-xs-4 col-sm-2">{{ trans('general.date') }}</th>
|
||||
@ -558,7 +558,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($invoice->histories as $history)
|
||||
<tr class="row align-items-center">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-2">@date($history->created_at)</td>
|
||||
<td class="col-xs-4 col-sm-3 text-left">{{ trans('invoices.statuses.' . $history->status) }}</td>
|
||||
<td class="col-xs-4 col-sm-7 text-left long-texts">{{ $history->description }}</td>
|
||||
@ -594,7 +594,7 @@
|
||||
<tbody>
|
||||
@if ($invoice->transactions->count())
|
||||
@foreach($invoice->transactions as $transaction)
|
||||
<tr class="row align-items-center border-top-1">
|
||||
<tr class="row align-items-center border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-sm-3">@date($transaction->paid_at)</td>
|
||||
<td class="col-xs-4 col-sm-3">@money($transaction->amount, $transaction->currency_code, true)</td>
|
||||
<td class="col-sm-3 d-none d-sm-block">{{ $transaction->account->name }}</td>
|
||||
@ -635,7 +635,7 @@
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<div class="text-muted" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
<div class="text-muted nr-py" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
{{ trans('general.no_records') }}
|
||||
</div>
|
||||
</td>
|
||||
|
@ -12,7 +12,7 @@
|
||||
</thead>
|
||||
<tbody class="thead-light">
|
||||
@foreach($accounts as $item)
|
||||
<tr class="row border-top-1">
|
||||
<tr class="row border-top-1 tr-py">
|
||||
<td class="col-xs-6 col-md-6 text-left">{{ $item->name }}</td>
|
||||
<td class="col-xs-6 col-md-6 text-right">@money($item->balance, $item->currency_code, true)</td>
|
||||
</tr>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<tbody>
|
||||
@if ($transactions->count())
|
||||
@foreach($transactions as $item)
|
||||
<tr class="row border-top-1">
|
||||
<tr class="row border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-md-4 text-left">@date($item->paid_at)</td>
|
||||
<td class="col-xs-4 col-md-4 text-left">{{ $item->category->name }}</td>
|
||||
<td class="col-xs-4 col-md-4 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
@ -23,7 +23,7 @@
|
||||
@else
|
||||
<tr class="border-top-1">
|
||||
<td colspan="3">
|
||||
<div class="text-muted" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
<div class="text-muted nr-py" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
{{ trans('general.no_records') }}
|
||||
</div>
|
||||
</td>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<tbody>
|
||||
@if ($transactions->count())
|
||||
@foreach($transactions as $item)
|
||||
<tr class="row border-top-1">
|
||||
<tr class="row border-top-1 tr-py">
|
||||
<td class="col-xs-4 col-md-4 text-left">@date($item->paid_at)</td>
|
||||
<td class="col-xs-4 col-md-4 text-left">{{ $item->category->name }}</td>
|
||||
<td class="col-xs-4 col-md-4 text-right">@money($item->amount, $item->currency_code, true)</td>
|
||||
@ -23,7 +23,7 @@
|
||||
@else
|
||||
<tr class="border-top-1">
|
||||
<td colspan="3">
|
||||
<div class="text-muted" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
<div class="text-muted nr-py" id="datatable-basic_info" role="status" aria-live="polite">
|
||||
{{ trans('general.no_records') }}
|
||||
</div>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user