From bd71e2517f6ae8bd5eab3ddd101bc5fad982310f Mon Sep 17 00:00:00 2001 From: denisdulici Date: Wed, 22 Jan 2020 19:03:34 +0300 Subject: [PATCH] styling --- public/css/custom.css | 13 ++++++++++ resources/lang/en-GB/general.php | 2 +- .../views/auth/permissions/index.blade.php | 2 +- resources/views/auth/roles/index.blade.php | 2 +- resources/views/auth/users/index.blade.php | 2 +- .../views/banking/accounts/index.blade.php | 2 +- .../banking/reconciliations/index.blade.php | 2 +- .../banking/transactions/index.blade.php | 2 +- .../views/banking/transfers/index.blade.php | 2 +- .../views/common/companies/index.blade.php | 2 +- .../views/common/dashboards/index.blade.php | 2 +- resources/views/common/items/index.blade.php | 2 +- resources/views/layouts/auth.blade.php | 4 ++-- .../views/partials/admin/empty_page.blade.php | 24 ++++++++----------- .../views/partials/portal/footer.blade.php | 2 +- .../views/partials/signed/footer.blade.php | 2 +- .../views/portal/invoices/index.blade.php | 2 +- .../views/portal/payments/index.blade.php | 2 +- .../views/purchases/bills/index.blade.php | 2 +- .../views/purchases/payments/index.blade.php | 2 +- .../views/purchases/vendors/index.blade.php | 2 +- .../views/sales/customers/index.blade.php | 2 +- .../views/sales/invoices/index.blade.php | 2 +- .../views/sales/revenues/index.blade.php | 2 +- .../views/settings/categories/index.blade.php | 2 +- .../views/settings/currencies/index.blade.php | 2 +- .../views/settings/taxes/index.blade.php | 2 +- .../views/wizard/currencies/index.blade.php | 2 +- resources/views/wizard/taxes/index.blade.php | 2 +- 29 files changed, 51 insertions(+), 42 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index bceb22f3e..881212436 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -670,6 +670,14 @@ table .align-items-center td span.badge { } /*--------App Comment Finish--------*/ +/*--------Empty Page Image--------*/ +.empty-image +{ + height: 300px; +} +/*--------Empty Page Image Finish--------*/ + + /*----------------RESPONSIVE START LINE----------------*/ /*--------Xs Breakpoint--------*/ @@ -725,6 +733,11 @@ table .align-items-center td span.badge { font-size: 0.75rem !important; } + .empty-image + { + height: 200px; + } + .col-aka { margin-left: 0; diff --git a/resources/lang/en-GB/general.php b/resources/lang/en-GB/general.php index b2aaa8885..f676b05f2 100644 --- a/resources/lang/en-GB/general.php +++ b/resources/lang/en-GB/general.php @@ -190,7 +190,7 @@ return [ ], 'empty' => [ - 'documentation' => 'Check out the documentation for more details.', + 'documentation' => 'Check out the documentation for more details.', 'items' => 'Items can be products or services. You can use items when creating invoices and bills to have the price, tax etc fields populated.', 'invoices' => 'Invoices can be one time or recurring. You can send them to customers and start accepting online payments.', 'revenues' => 'Revenue is a paid income transaction. It can be an independent record (i.e. deposit) or attached to an invoice.', diff --git a/resources/views/auth/permissions/index.blade.php b/resources/views/auth/permissions/index.blade.php index 6161167b8..7e8341d0f 100644 --- a/resources/views/auth/permissions/index.blade.php +++ b/resources/views/auth/permissions/index.blade.php @@ -44,7 +44,7 @@ @foreach($permissions as $item) {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->display_name }} + {{ $item->display_name }} {{ $item->name }} {{ $item->description }} diff --git a/resources/views/auth/roles/index.blade.php b/resources/views/auth/roles/index.blade.php index fdf61bb38..afc5f9358 100644 --- a/resources/views/auth/roles/index.blade.php +++ b/resources/views/auth/roles/index.blade.php @@ -44,7 +44,7 @@ @foreach($roles as $item) {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->display_name }} + {{ $item->display_name }} {{ $item->name }} {{ $item->description }} diff --git a/resources/views/auth/users/index.blade.php b/resources/views/auth/users/index.blade.php index e01ea6f22..9cb76f1a6 100644 --- a/resources/views/auth/users/index.blade.php +++ b/resources/views/auth/users/index.blade.php @@ -46,7 +46,7 @@ {{ Form::bulkActionGroup($item->id, $item->name) }} - + @if (setting('default.use_gravatar', '0') == '1') {{ $item->name }} @else diff --git a/resources/views/banking/accounts/index.blade.php b/resources/views/banking/accounts/index.blade.php index 0984fcdc9..8a1a36b02 100644 --- a/resources/views/banking/accounts/index.blade.php +++ b/resources/views/banking/accounts/index.blade.php @@ -47,7 +47,7 @@ {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} {{ $item->number }} @money($item->balance, $item->currency_code, true) diff --git a/resources/views/banking/reconciliations/index.blade.php b/resources/views/banking/reconciliations/index.blade.php index be7adacb0..c10023758 100644 --- a/resources/views/banking/reconciliations/index.blade.php +++ b/resources/views/banking/reconciliations/index.blade.php @@ -46,7 +46,7 @@ @foreach($reconciliations as $item) {{ Form::bulkActionGroup($item->id, $item->account->name) }} - @date($item->created_at) + @date($item->created_at) {{ $item->account->name }} @date($item->started_at) - @date($item->ended_at) @money($item->closing_balance, $item->account->currency_code, true) diff --git a/resources/views/banking/transactions/index.blade.php b/resources/views/banking/transactions/index.blade.php index 924b2cbd7..5997d2f1d 100644 --- a/resources/views/banking/transactions/index.blade.php +++ b/resources/views/banking/transactions/index.blade.php @@ -57,7 +57,7 @@ $id = !empty($item->document_id) ? $item->document_id : $item->id; $route = ($item->type == 'income') ? (!empty($item->document_id) ? 'invoices.show' : 'revenues.edit') : (!empty($item->document_id) ? 'bills.show' : 'payments.edit'); @endphp - + @money($item->amount, $item->currency_code, true) diff --git a/resources/views/banking/transfers/index.blade.php b/resources/views/banking/transfers/index.blade.php index f78d2da41..c36877347 100644 --- a/resources/views/banking/transfers/index.blade.php +++ b/resources/views/banking/transfers/index.blade.php @@ -45,7 +45,7 @@ @foreach($transfers as $item) {{ Form::bulkActionGroup($item->id, $item->from_account) }} - @date($item->paid_at) + @date($item->paid_at) {{ $item->from_account }} {{ $item->to_account }} @money($item->amount, $item->currency_code, true) diff --git a/resources/views/common/companies/index.blade.php b/resources/views/common/companies/index.blade.php index 88e4fcc60..72f5cd08e 100644 --- a/resources/views/common/companies/index.blade.php +++ b/resources/views/common/companies/index.blade.php @@ -47,7 +47,7 @@ {{ Form::bulkActionGroup($item->id, $item->name) }} {{ $item->id }} - {{ $item->name }} + {{ $item->name }} {{ $item->email }} @date($item->created_at) diff --git a/resources/views/common/dashboards/index.blade.php b/resources/views/common/dashboards/index.blade.php index 910227172..9cd6aa089 100644 --- a/resources/views/common/dashboards/index.blade.php +++ b/resources/views/common/dashboards/index.blade.php @@ -43,7 +43,7 @@ @foreach($dashboards as $item) {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} @if (user()->can('update-common-dashboards')) {{ Form::enabledGroup($item->id, $item->name, $item->enabled) }} diff --git a/resources/views/common/items/index.blade.php b/resources/views/common/items/index.blade.php index 9990059a4..6f645f1f2 100644 --- a/resources/views/common/items/index.blade.php +++ b/resources/views/common/items/index.blade.php @@ -53,7 +53,7 @@ {{ $item->name }} - {{ $item->name }} + {{ $item->name }} {{ $item->category ? $item->category->name : trans('general.na') }} diff --git a/resources/views/layouts/auth.blade.php b/resources/views/layouts/auth.blade.php index e13164003..4acbcc0ff 100644 --- a/resources/views/layouts/auth.blade.php +++ b/resources/views/layouts/auth.blade.php @@ -49,9 +49,9 @@
- diff --git a/resources/views/partials/admin/empty_page.blade.php b/resources/views/partials/admin/empty_page.blade.php index 44392f3fd..f9c03044b 100644 --- a/resources/views/partials/admin/empty_page.blade.php +++ b/resources/views/partials/admin/empty_page.blade.php @@ -1,19 +1,15 @@
-
-
- -
- @yield('title') -
- -
-

{!! trans('general.empty.' . $page) !!} {!! trans('general.empty.documentation', ['url' => 'https://akaunting.com/docs/user-manual/' . $docs_path]) !!}

- - - {{ trans('general.title.create', ['type' => trans_choice('general.' . $page, 1)]) }} - -
+
+
+ @yield('title') +
+
+

{!! trans('general.empty.' . $page) !!} {!! trans('general.empty.documentation', ['url' => 'https://akaunting.com/docs/user-manual/' . $docs_path]) !!}

+ + + {{ trans('general.title.create', ['type' => trans_choice('general.' . $page, 1)]) }} +
diff --git a/resources/views/partials/portal/footer.blade.php b/resources/views/partials/portal/footer.blade.php index 245376824..e1a7f69a1 100644 --- a/resources/views/partials/portal/footer.blade.php +++ b/resources/views/partials/portal/footer.blade.php @@ -1,7 +1,7 @@ @stack('footer_start') @stack('footer_end') diff --git a/resources/views/partials/signed/footer.blade.php b/resources/views/partials/signed/footer.blade.php index a791a995a..ff8fac0dc 100644 --- a/resources/views/partials/signed/footer.blade.php +++ b/resources/views/partials/signed/footer.blade.php @@ -1,7 +1,7 @@ @stack('footer_start') @stack('footer_end') diff --git a/resources/views/portal/invoices/index.blade.php b/resources/views/portal/invoices/index.blade.php index 2272e3859..ba17527c9 100644 --- a/resources/views/portal/invoices/index.blade.php +++ b/resources/views/portal/invoices/index.blade.php @@ -37,7 +37,7 @@ @foreach($invoices as $item) - {{ $item->invoice_number }} + {{ $item->invoice_number }} @money($item->amount, $item->currency_code, true) @date($item->invoiced_at) @date($item->due_at) diff --git a/resources/views/portal/payments/index.blade.php b/resources/views/portal/payments/index.blade.php index 7c6b5ea13..9b2d97b79 100644 --- a/resources/views/portal/payments/index.blade.php +++ b/resources/views/portal/payments/index.blade.php @@ -36,7 +36,7 @@ @foreach($payments as $item) - @date($item->paid_at) + @date($item->paid_at) @money($item->amount, $item->currency_code, true) {{ $payment_methods[$item->payment_method] }} {{ $item->description }} diff --git a/resources/views/purchases/bills/index.blade.php b/resources/views/purchases/bills/index.blade.php index 4049129d2..a4a75a005 100644 --- a/resources/views/purchases/bills/index.blade.php +++ b/resources/views/purchases/bills/index.blade.php @@ -51,7 +51,7 @@ @php $paid = $item->paid; @endphp {{ Form::bulkActionGroup($item->id, $item->bill_number) }} - {{ $item->bill_number }} + {{ $item->bill_number }} {{ $item->contact_name }} @money($item->amount, $item->currency_code, true) @date($item->billed_at) diff --git a/resources/views/purchases/payments/index.blade.php b/resources/views/purchases/payments/index.blade.php index e9ae47432..ba36239da 100644 --- a/resources/views/purchases/payments/index.blade.php +++ b/resources/views/purchases/payments/index.blade.php @@ -52,7 +52,7 @@ @if ($item->reconciled) @date($item->paid_at) @else - @date($item->paid_at) + @date($item->paid_at) @endif @money($item->amount, $item->currency_code, true) {{ $item->contact->name }} diff --git a/resources/views/purchases/vendors/index.blade.php b/resources/views/purchases/vendors/index.blade.php index cf01348d8..18f643cef 100644 --- a/resources/views/purchases/vendors/index.blade.php +++ b/resources/views/purchases/vendors/index.blade.php @@ -52,7 +52,7 @@ {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} {{ !empty($item->email) ? $item->email : trans('general.na') }} diff --git a/resources/views/sales/customers/index.blade.php b/resources/views/sales/customers/index.blade.php index cd45f201a..8fc9e18aa 100644 --- a/resources/views/sales/customers/index.blade.php +++ b/resources/views/sales/customers/index.blade.php @@ -52,7 +52,7 @@ {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} {{ !empty($item->email) ? $item->email : trans('general.na') }} diff --git a/resources/views/sales/invoices/index.blade.php b/resources/views/sales/invoices/index.blade.php index a44e86770..25f29736a 100644 --- a/resources/views/sales/invoices/index.blade.php +++ b/resources/views/sales/invoices/index.blade.php @@ -51,7 +51,7 @@ @php $paid = $item->paid; @endphp {{ Form::bulkActionGroup($item->id, $item->invoice_number) }} - {{ $item->invoice_number }} + {{ $item->invoice_number }} {{ $item->contact_name }} @money($item->amount, $item->currency_code, true) @date($item->invoiced_at) diff --git a/resources/views/sales/revenues/index.blade.php b/resources/views/sales/revenues/index.blade.php index 99dd07eb5..cf54f6748 100644 --- a/resources/views/sales/revenues/index.blade.php +++ b/resources/views/sales/revenues/index.blade.php @@ -52,7 +52,7 @@ @if ($item->reconciled) @date($item->paid_at) @else - @date($item->paid_at) + @date($item->paid_at) @endif @money($item->amount, $item->currency_code, true) {{ $item->contact->name }} diff --git a/resources/views/settings/categories/index.blade.php b/resources/views/settings/categories/index.blade.php index ab7d52cc0..d5e2b1265 100644 --- a/resources/views/settings/categories/index.blade.php +++ b/resources/views/settings/categories/index.blade.php @@ -45,7 +45,7 @@ @foreach($categories as $item) {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} {{ $types[$item->type] }} diff --git a/resources/views/settings/currencies/index.blade.php b/resources/views/settings/currencies/index.blade.php index 16e11333d..e7320cfb0 100644 --- a/resources/views/settings/currencies/index.blade.php +++ b/resources/views/settings/currencies/index.blade.php @@ -45,7 +45,7 @@ @foreach($currencies as $item) {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} {{ $item->code }} {{ $item->rate }} diff --git a/resources/views/settings/taxes/index.blade.php b/resources/views/settings/taxes/index.blade.php index 7660c37d4..67f8bec1c 100644 --- a/resources/views/settings/taxes/index.blade.php +++ b/resources/views/settings/taxes/index.blade.php @@ -45,7 +45,7 @@ @foreach($taxes as $item) {{ Form::bulkActionGroup($item->id, $item->name) }} - {{ $item->name }} + {{ $item->name }} {{ $item->rate }} {{ $types[$item->type] }} diff --git a/resources/views/wizard/currencies/index.blade.php b/resources/views/wizard/currencies/index.blade.php index 4dddde5d5..231a340be 100644 --- a/resources/views/wizard/currencies/index.blade.php +++ b/resources/views/wizard/currencies/index.blade.php @@ -43,7 +43,7 @@ @foreach($currencies as $item) - + {{ $item->name }} diff --git a/resources/views/wizard/taxes/index.blade.php b/resources/views/wizard/taxes/index.blade.php index c0e285c7b..42b97ea6b 100644 --- a/resources/views/wizard/taxes/index.blade.php +++ b/resources/views/wizard/taxes/index.blade.php @@ -42,7 +42,7 @@ @foreach($taxes as $item) - + {{ $item->name }}