Added date and tooltip components
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
@props([
|
||||
'item' => null,
|
||||
'input_style' => null,
|
||||
'end_date' => null,
|
||||
])
|
||||
|
||||
<!-- Datepicker -->
|
||||
<div {{ $attributes->merge(['class' => 'input-group date']) }} data-provide="datepicker" data-date-today-highlight="true" data-date-language="{{ auth()->user()->locale }}" data-date-locale="{{ auth()->user()->locale }}" data-date-format="yyyy-mm-dd" data-date-autoclose="true" data-date-clear-btn="true"{{ $end_date ? ' data-date-end-date=' . $end_date : '' }}>
|
||||
<input type="text" {{ $attributes->merge(['class' => 'form-control']) }}>
|
||||
<span class="input-group-addon"><x-icon type="calendar" /></span>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<a href="#" data-tooltip="true" title="{{ $slot }}" style="padding-left: 0px;">
|
||||
<x-icon type="more-info" style="font-size: 20px;" />
|
||||
<span class="sr-only">{{ $slot }}</span>
|
||||
</a>
|
||||
Reference in New Issue
Block a user