x-cloak added

This commit is contained in:
HolgerHatGarKeineNode
2023-02-26 13:39:34 +01:00
parent c9e91703fb
commit 7dd33c93dd
13 changed files with 39 additions and 22 deletions

View File

@@ -21,6 +21,7 @@ class BitcoinEventTable extends DataTableComponent
->setAdditionalSelects([
'bitcoin_events.id',
'bitcoin_events.venue_id',
'bitcoin_events.created_by',
])
->setThAttributes(function (Column $column) {
return [

View File

@@ -17,7 +17,7 @@ class VenueTable extends DataTableComponent
public function configure(): void
{
$this->setPrimaryKey('id')
->setAdditionalSelects(['id'])
->setAdditionalSelects(['venues.id', 'venues.created_by'])
->setThAttributes(function (Column $column) {
return [
'class' => 'px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider dark:bg-gray-800 dark:text-gray-400',

View File

@@ -1,5 +1,13 @@
<div>
<div class="flex flex-col space-y-1">
<a href="{{ $row->link }}" target="_blank">
<x-badge class="whitespace-nowrap">{{ __('Link') }}</x-badge>
</a>
<div>
@can('update', $row)
<x-button primary xs :href="route('bitcoinEvent.form', ['bitcoinEvent' => $row])">
<i class="fa-thin fa-edit"></i>
{{ __('Edit') }}
</x-button>
@endif
</div>
</div>

View File

@@ -1,16 +1,24 @@
<div>
<div class="flex flex-col space-y-1">
<div>
@if($row->course_events_count > 0)
<x-button amber wire:click="venueSearch({{ $row->id }})">
<x-button xs amber wire:click="venueSearch({{ $row->id }})">
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
</div>
<div>
@if($row->course_events_count < 1)
<x-button outlined wire:click="venueSearch({{ $row->id }})">
<x-button xs outlined wire:click="venueSearch({{ $row->id }})">
{{ __('Show dates') }} ({{ $row->course_events_count }})
</x-button>
@endif
</div>
<div>
@can('update', $row)
<x-button primary xs :href="route('venue.form', ['venue' => $row])">
<i class="fa-thin fa-edit"></i>
{{ __('Edit') }}
</x-button>
@endif
</div>
</div>

View File

@@ -53,7 +53,7 @@
</div>
</nav>
<div x-description="Mobile menu, show/hide based on menu open state." class="lg:hidden" x-ref="dialog" x-show="open"
aria-modal="true" style="display: none;">
aria-modal="true" style="display: none;" x-cloak>
<div x-description="Background backdrop, show/hide based on slide-over state." class="fixed inset-0 z-10"></div>
<div
class="fixed inset-y-0 right-0 z-10 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10"
@@ -92,7 +92,7 @@
</button>
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('article.overview') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('News Article') }}</a>
<a href="{{ route('school.table.lecturer', ['country' => $country]) }}"
@@ -117,7 +117,7 @@
</button>
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('meetup.world', ['country' => $country]) }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('World map') }}</a>
<a href="{{ route('meetup.table.meetup', ['country' => $country]) }}"
@@ -144,7 +144,7 @@
</button>
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('bitcoinEvent.table.bitcoinEvent', ['country' => $country]) }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Events') }}</a>
</div>
@@ -167,7 +167,7 @@
</button>
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('school.table.city', ['country' => $country]) }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('City search') }}</a>
<a href="{{ route('school.table.course', ['country' => $country]) }}"
@@ -198,7 +198,7 @@
</button>
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('library.table.libraryItems', ['country' => $country]) }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Search') }}</a>
@auth
@@ -225,7 +225,7 @@
</button>
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('bookCases.table.city', ['country' => $country]) }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('City search') }}</a>
<a href="{{ route('bookCases.table.bookcases', ['country' => $country]) }}"
@@ -258,7 +258,7 @@
<div class="mt-2 space-y-2"
x-description="'Product' sub-menu, show/hide based on menu state."
id="disclosure-1"
x-show="open" style="display: none;">
x-show="open" style="display: none;" x-cloak>
<a href="{{ route('profile.show') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('My profile') }}</a>
<a href="{{ route('profile.wallet') }}"

View File

@@ -19,7 +19,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
<div>

View File

@@ -19,7 +19,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
<div>

View File

@@ -19,7 +19,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
<div>

View File

@@ -19,7 +19,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
<div>

View File

@@ -19,7 +19,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
<div>

View File

@@ -19,7 +19,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
<div>

View File

@@ -21,7 +21,7 @@
x-transition:leave-end="opacity-0 -translate-y-1"
x-description="'Product' flyout menu, show/hide based on flyout menu state."
class="absolute inset-x-0 top-0 -z-10 bg-white pt-16 shadow-lg ring-1 ring-gray-900/5"
x-ref="panel" @click.away="open = false">
x-ref="panel" @click.away="open = false" x-cloak>
<div
class="mx-auto grid max-w-7xl grid-cols-1 gap-y-10 gap-x-8 py-10 px-6 lg:grid-cols-2 lg:px-8">
<div class="grid grid-cols-2 gap-x-6 sm:gap-x-8">

View File

@@ -6,14 +6,14 @@
<div class="pb-5 flex flex-row justify-between">
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Venue') }}</h3>
<div class="flex flex-row space-x-2 items-center">
<div>
{{--<div>
@if($venue->id)
<x-button negative wire:click="deleteMe">
<i class="fa fa-thin fa-trash"></i>
{{ __('Delete') }}
</x-button>
@endif
</div>
</div>--}}
<div>
<x-button :href="$fromUrl">
<i class="fa fa-thin fa-arrow-left"></i>