Merge pull request #1115 from batuhawk/master

Unnecessary class deleted
This commit is contained in:
Batuhan Baş 2020-01-13 12:27:46 +03:00 committed by GitHub
commit 1c2ebeed67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 22 deletions

View File

@ -55,6 +55,7 @@ button:focus
}
/*--------Cursor Pointer Finish--------*/
/*--------Cursor Default--------*/
.cursor-default
{
@ -62,14 +63,6 @@ button:focus
}
/*--------Cursor Default Finish--------*/
/*--------Table Head Search--------*/
.table-header-search
{
display: inline-block;
width: auto;
}
/*--------Table Head Search Finish--------*/
/*--------Wizard Steps--------*/
.wizard-header

View File

@ -11,8 +11,7 @@
placeholder="Type to search.."
name="search"
type="text"
class="form-control form-control-sm table-header-search"
style="width: 100%;">
class="form-control form-control-sm w-100">
<div class="dropdown-menu"
ref="menu"
:class="[{'dropdown-menu-right': position === 'right'}, {show: isOpen}, menuClasses]"

View File

@ -1,7 +1,7 @@
@stack('pagination_start')
@if ($items->firstItem())
<div class="col-6 d-flex align-items-center">
{!! Form::select('limit', $limits, request('limit', setting('default.list_limit', '25')), ['class' => 'form-control form-control-sm table-header-search d-none d-md-block', '@change' => 'onChangePaginationLimit($event)']) !!}
{!! Form::select('limit', $limits, request('limit', setting('default.list_limit', '25')), ['class' => 'form-control form-control-sm d-inline-block w-auto d-none d-md-block', '@change' => 'onChangePaginationLimit($event)']) !!}
<span class="table-text d-none d-lg-block ml-2">
{{ trans('pagination.page') }}
{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total()]) }}

View File

@ -5,7 +5,7 @@
<div class="row align-items-center">
<div class="col-xs-9 col-sm-9">
<akaunting-select
class="form-control-sm table-header-search"
class="form-control-sm d-inline-block w-auto"
:placeholder="'{{ trans('general.form.select.field', ['field' => trans_choice('general.categories', 1)]) }}'"
:name="'category'"
:icon="'folder'"
@ -21,7 +21,7 @@
</div>
<div class="col-xs-3 col-sm-3 text-right">
{!! Form::open(['route' => ['apps.search'], 'role' => 'form', 'method' => 'GET', 'class' => 'm-0']) !!}
<input name="keyword" value="{{ isset($keyword) ? $keyword : '' }}" type="text" class="form-control form-control-sm table-header-search" placeholder="Search Apps">
<input name="keyword" value="{{ isset($keyword) ? $keyword : '' }}" type="text" class="form-control form-control-sm d-inline-block w-auto" placeholder="Search Apps">
<span class="glyphicon glyphicon-search form-control-feedback"></span>
{!! Form::close() !!}
</div>

View File

@ -4,7 +4,7 @@
<span class="table-text d-none d-lg-block">
{{ trans('general.show') }}
</span>
{!! Form::select('limit', $limits, request('limit', setting('default.list_limit', '25')), ['class' => 'form-control form-control-sm table-header-search d-none d-md-block', 'onchange' => 'this.form.submit()']) !!}
{!! Form::select('limit', $limits, request('limit', setting('default.list_limit', '25')), ['class' => 'form-control form-control-sm d-inline-block w-auto d-none d-md-block', 'onchange' => 'this.form.submit()']) !!}
<span class="table-text d-none d-lg-block">
{{ trans('pagination.page') }}
{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower((isset($title)) ? $title : trans_choice('general.' . $type, 2))]) }}

View File

@ -5,14 +5,14 @@
'method' => 'GET',
]) !!}
<div id="items" class="float-left">
{!! Form::select('year', $class->filters['years'], request('year', $class->year), ['class' => 'form-control form-control-sm table-header-search']) !!}
@php unset($class->filters['years']) @endphp
@foreach($class->filters as $name => $values)
{!! Form::select($name . '[]', $values, request($name), ['id' => 'filter-' . $name, 'class' => 'form-control form-control-sm table-header-search']) !!}
@endforeach
{!! Form::button('<span class="fa fa-filter"></span> &nbsp;' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-sm btn-secondary']) !!}
</div>
<div id="items" class="float-left">
{!! Form::select('year', $class->filters['years'], request('year', $class->year), ['class' => 'form-control form-control-sm d-inline-block w-auto']) !!}
@php unset($class->filters['years']) @endphp
@foreach($class->filters as $name => $values)
{!! Form::select($name . '[]', $values, request($name), ['id' => 'filter-' . $name, 'class' => 'form-control form-control-sm d-inline-block w-auto']) !!}
@endforeach
{!! Form::button('<span class="fa fa-filter"></span> &nbsp;' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-sm btn-secondary']) !!}
</div>
{!! Form::close() !!}
</div>