Started the migration of the setting views

This commit is contained in:
Dan Brown
2019-02-02 15:49:57 +00:00
parent 20988962fe
commit 880d4f35da
24 changed files with 666 additions and 529 deletions

View File

@ -1,4 +1,6 @@
<div toggle-switch="{{$name}}" class="toggle-switch @if($value) active @endif">
<label toggle-switch="{{$name}}" class="toggle-switch">
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
<div class="switch-handle"></div>
</div>
<input type="checkbox" @if($value) checked="checked" @endif>
<span class="custom-checkbox ">@icon('check')</span>
<span class="label">{{ $label ?? '' }}</span> {{-- TODO - remove default operataor backup --}}
</label>