new list design

This commit is contained in:
denisdulici
2017-10-13 18:41:17 +03:00
parent 705b704685
commit a936c54daa
21 changed files with 376 additions and 261 deletions

View File

@@ -5,15 +5,15 @@
@section('content')
<!-- Default box -->
<div class="box box-success">
<div class="box-header">
<div class="box-header with-border">
{!! Form::open(['url' => 'banking/transactions', 'role' => 'form', 'method' => 'GET']) !!}
<div class="pull-left">
<span class="title-filter">{{ trans('general.search') }}:</span>
<span class="title-filter hidden-xs">{{ trans('general.search') }}:</span>
{!! Form::text('search', request('search'), ['class' => 'form-control input-filter input-sm', 'placeholder' => trans('general.search_placeholder')]) !!}
{!! Form::button('<span class="fa fa-filter"></span> &nbsp;' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-sm btn-default btn-filter']) !!}
</div>
<div class="pull-right">
<span class="title-filter">{{ trans('general.show') }}:</span>
<span class="title-filter hidden-xs">{{ trans('general.show') }}:</span>
{!! Form::select('limit', $limits, request('limit', setting('general.list_limit', '25')), ['class' => 'form-control input-filter input-sm', 'onchange' => 'this.form.submit()']) !!}
</div>
{!! Form::close() !!}
@@ -22,15 +22,15 @@
<div class="box-body">
<div class="table table-responsive">
<table class="table table-bordered table-striped table-hover" id="tbl-transactions">
<table class="table table-striped table-hover" id="tbl-transactions">
<thead>
<tr>
<th>@sortablelink('paid_at', trans('general.date'))</th>
<th>@sortablelink('account.name', trans('accounts.account_name'))</th>
<th>@sortablelink('type', trans_choice('general.types', 1))</th>
<th>@sortablelink('category.name', trans_choice('general.categories', 1))</th>
<th>@sortablelink('description', trans('general.description'))</th>
<th>@sortablelink('amount', trans('general.amount'))</th>
<th class="col-md-2">@sortablelink('paid_at', trans('general.date'))</th>
<th class="col-md-2">@sortablelink('account.name', trans('accounts.account_name'))</th>
<th class="col-md-2">@sortablelink('type', trans_choice('general.types', 1))</th>
<th class="col-md-2">@sortablelink('category.name', trans_choice('general.categories', 1))</th>
<th class="col-md-2">@sortablelink('description', trans('general.description'))</th>
<th class="col-md-2">@sortablelink('amount', trans('general.amount'))</th>
</tr>
</thead>
<tbody>