Form Group Disabled class added

This commit is contained in:
Cüneyt Şentürk 2020-02-01 13:32:43 +03:00
parent 74165a88be
commit 8664b9b85b
22 changed files with 577 additions and 567 deletions

View File

@ -849,3 +849,8 @@ table .align-items-center td span.badge {
/*--------L Breakpoint Finish--------*/
/*----------------RESPONSIVE END LINE----------------*/
/*--------From Group Disabled--------*/
.form-group.disabled .input-group-text {
background-color: #e9ecef;
}
/*--------From Group Disabled Finish--------*/

View File

@ -1,6 +1,6 @@
@stack('bulk_action_row_input_start')
<div class="align-items-center d-none" v-if="bulk_action.show" v-bind:class="[bulk_action.show ? 'show' : '']">
<div class="align-items-center d-none" v-if="bulk_action.show" v-bind:class="[bulk_action.show ? 'show' : '']">
<div class="mr-6">
<span class="text-white d-none d-sm-block">
<b v-text="bulk_action.count"></b>
@ -46,9 +46,9 @@
<span>{{ trans('general.clear') }}</span>
</button>
</div>
</div>
</div>
<akaunting-modal
<akaunting-modal
:show="bulk_action.modal"
:title="'{{ trans_choice('general.items', 2) }}'"
:message="bulk_action.message"
@ -66,6 +66,6 @@
</button>
</div>
</template>
</akaunting-modal>
</akaunting-modal>
@stack('bulk_action_row_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -27,6 +27,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-date
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-date
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
@if ($text)
{!! Form::label($name, $text, ['class' => 'form-control-label'])!!}
@ -27,6 +27,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,6 +1,6 @@
@stack($name . '_input_start')
<label class="custom-toggle">
<label class="custom-toggle">
<input type="checkbox"
name="status[{{ $id }}]"
v-on:input="onStatus({{ $id }}, $event)"
@ -10,6 +10,6 @@
data-label-off="{{ trans('general.no') }}"
data-label-on="{{ trans('general.yes') }}">
</span>
</label>
</label>
@stack($name . '_input_end')

View File

@ -1,6 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': errors.{{ $name }}}]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -17,4 +18,5 @@
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': form.errors.get('{{ $name }}')}]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -25,6 +25,6 @@
v-if="form.errors.has('{{ $input_name }}')"
v-html="form.errors.get('{{ $input_name }}')">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label'])!!}
@ -31,6 +31,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-select
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-select
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -60,6 +60,6 @@
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select>
></akaunting-select>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-select
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-select
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -41,6 +41,6 @@
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select>
></akaunting-select>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label'])!!}
@ -24,6 +24,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
@if ($text)
{!! Form::label($name, $text, ['class' => 'form-control-label'])!!}
@ -25,6 +25,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,6 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -23,6 +24,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,6 +1,7 @@
@stack($name . '_input_start')
<akaunting-select
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -55,4 +56,5 @@
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-select
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-select
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -40,6 +40,6 @@
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select>
></akaunting-select>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-select
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-select
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -56,6 +56,6 @@
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select>
></akaunting-select>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-select
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-select
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -37,6 +37,6 @@
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select>
></akaunting-select>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<akaunting-select-remote
class="{{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<akaunting-select-remote
class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
@if (!empty($attributes['v-error']))
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
@ -45,6 +45,6 @@
:loading-text="'{{ trans('general.loading') }}'"
:no-data-text="'{{ trans('general.no_data') }}'"
:no-matching-data-text="'{{ trans('general.no_matching_data') }}'"
></akaunting-select-remote>
></akaunting-select-remote>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -29,6 +29,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -24,6 +24,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
class="form-group {{ $col }} {{ isset($attributes['required']) ? 'required' : '' }}"
<div
class="form-group {{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}{{ isset($attributes['disabled']) ? ' disabled' : '' }}"
:class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]">
{!! Form::label($name, $text, ['class' => 'form-control-label']) !!}
@ -17,6 +17,6 @@
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>
</div>
</div>
@stack($name . '_input_end')