| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | @extends('layout.default') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('title', $__t('Userentities')) | 
					
						
							|  |  |  | @section('activeNav', 'userentities') | 
					
						
							|  |  |  | @section('viewJsName', 'userentities') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('content') | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 		<div class="title-related-links"> | 
					
						
							|  |  |  | 			<h2 class="title">@yield('title')</h2> | 
					
						
							| 
									
										
										
										
											2020-11-07 14:53:45 +01:00
										 |  |  | 			<div class="float-right"> | 
					
						
							|  |  |  | 				<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3" | 
					
						
							|  |  |  | 					type="button" | 
					
						
							|  |  |  | 					data-toggle="collapse" | 
					
						
							|  |  |  | 					data-target="#table-filter-row"> | 
					
						
							|  |  |  | 					<i class="fas fa-filter"></i> | 
					
						
							|  |  |  | 				</button> | 
					
						
							|  |  |  | 				<button class="btn btn-outline-dark d-md-none mt-2 order-1 order-md-3" | 
					
						
							|  |  |  | 					type="button" | 
					
						
							|  |  |  | 					data-toggle="collapse" | 
					
						
							|  |  |  | 					data-target="#related-links"> | 
					
						
							|  |  |  | 					<i class="fas fa-ellipsis-v"></i> | 
					
						
							|  |  |  | 				</button> | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 			<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 m-1 mt-md-0 mb-md-0 float-right" | 
					
						
							|  |  |  | 				id="related-links"> | 
					
						
							| 
									
										
										
										
											2020-11-08 19:00:12 +01:00
										 |  |  | 				<a class="btn btn-primary responsive-button show-as-dialog-link" | 
					
						
							|  |  |  | 					href="{{ $U('/userentity/new?embedded') }}"> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 					{{ $__t('Add') }} | 
					
						
							|  |  |  | 				</a> | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2020-04-19 08:51:02 -04:00
										 |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-08 15:09:10 +01:00
										 |  |  | <hr class="my-2"> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-07 14:53:45 +01:00
										 |  |  | <div class="row collapse d-md-flex" | 
					
						
							|  |  |  | 	id="table-filter-row"> | 
					
						
							| 
									
										
										
										
											2021-06-24 22:46:47 +02:00
										 |  |  | 	<div class="col-12 col-md-6 col-xl-3"> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 		<div class="input-group"> | 
					
						
							| 
									
										
										
										
											2020-04-19 08:51:02 -04:00
										 |  |  | 			<div class="input-group-prepend"> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 				<span class="input-group-text"><i class="fas fa-search"></i></span> | 
					
						
							| 
									
										
										
										
											2020-04-19 08:51:02 -04:00
										 |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 			<input type="text" | 
					
						
							|  |  |  | 				id="search" | 
					
						
							|  |  |  | 				class="form-control" | 
					
						
							|  |  |  | 				placeholder="{{ $__t('Search') }}"> | 
					
						
							| 
									
										
										
										
											2020-04-19 08:51:02 -04:00
										 |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2020-11-07 14:53:45 +01:00
										 |  |  | 	<div class="col"> | 
					
						
							|  |  |  | 		<div class="float-right"> | 
					
						
							|  |  |  | 			<a id="clear-filter-button" | 
					
						
							|  |  |  | 				class="btn btn-sm btn-outline-info" | 
					
						
							|  |  |  | 				href="#"> | 
					
						
							|  |  |  | 				{{ $__t('Clear filter') }} | 
					
						
							|  |  |  | 			</a> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 		<table id="userentities-table" | 
					
						
							| 
									
										
										
										
											2020-11-07 14:53:45 +01:00
										 |  |  | 			class="table table-sm table-striped nowrap w-100"> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | 			<thead> | 
					
						
							|  |  |  | 				<tr> | 
					
						
							| 
									
										
										
										
											2020-11-11 22:28:05 +01:00
										 |  |  | 					<th class="border-right"><a class="text-muted change-table-columns-visibility-button" | 
					
						
							|  |  |  | 							data-toggle="tooltip" | 
					
						
							| 
									
										
										
										
											2020-11-11 21:11:17 +01:00
										 |  |  | 							data-toggle="tooltip" | 
					
						
							| 
									
										
										
										
											2020-12-16 18:18:03 +01:00
										 |  |  | 							title="{{ $__t('Table options') }}" | 
					
						
							| 
									
										
										
										
											2020-11-11 21:11:17 +01:00
										 |  |  | 							data-table-selector="#userentities-table" | 
					
						
							|  |  |  | 							href="#"><i class="fas fa-eye"></i></a> | 
					
						
							|  |  |  | 					</th> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | 					<th>{{ $__t('Name') }}</th> | 
					
						
							|  |  |  | 					<th>{{ $__t('Caption') }}</th> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 			</thead> | 
					
						
							|  |  |  | 			<tbody class="d-none"> | 
					
						
							|  |  |  | 				@foreach($userentities as $userentity) | 
					
						
							|  |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td class="fit-content border-right"> | 
					
						
							| 
									
										
										
										
											2020-11-08 19:00:12 +01:00
										 |  |  | 						<a class="btn btn-info btn-sm show-as-dialog-link" | 
					
						
							| 
									
										
										
										
											2020-11-12 21:35:10 +01:00
										 |  |  | 							href="{{ $U('/userentity/') }}{{ $userentity->id }}?embedded" | 
					
						
							|  |  |  | 							data-toggle="tooltip" | 
					
						
							|  |  |  | 							title="{{ $__t('Edit this item') }}"> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | 							<i class="fas fa-edit"></i> | 
					
						
							|  |  |  | 						</a> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 						<a class="btn btn-danger btn-sm userentity-delete-button" | 
					
						
							|  |  |  | 							href="#" | 
					
						
							|  |  |  | 							data-userentity-id="{{ $userentity->id }}" | 
					
						
							| 
									
										
										
										
											2020-11-12 21:35:10 +01:00
										 |  |  | 							data-userentity-name="{{ $userentity->name }}" | 
					
						
							|  |  |  | 							data-toggle="tooltip" | 
					
						
							|  |  |  | 							title="{{ $__t('Delete this item') }}"> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | 							<i class="fas fa-trash"></i> | 
					
						
							|  |  |  | 						</a> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 						<a class="btn btn-secondary btn-sm" | 
					
						
							|  |  |  | 							href="{{ $U('/userfields?entity=userentity-') }}{{ $userentity->name }}"> | 
					
						
							| 
									
										
										
										
											2019-09-18 16:25:38 +02:00
										 |  |  | 							<i class="fas fa-th-list"></i> {{ $__t('Configure fields') }} | 
					
						
							| 
									
										
										
										
											2019-09-18 16:18:15 +02:00
										 |  |  | 						</a> | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 					<td> | 
					
						
							|  |  |  | 						{{ $userentity->name }} | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 					<td> | 
					
						
							|  |  |  | 						{{ $userentity->caption }} | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							|  |  |  | 				@endforeach | 
					
						
							|  |  |  | 			</tbody> | 
					
						
							|  |  |  | 		</table> | 
					
						
							|  |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | @stop |