mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
x-cloak added
This commit is contained in:
@@ -21,6 +21,7 @@ class BitcoinEventTable extends DataTableComponent
|
|||||||
->setAdditionalSelects([
|
->setAdditionalSelects([
|
||||||
'bitcoin_events.id',
|
'bitcoin_events.id',
|
||||||
'bitcoin_events.venue_id',
|
'bitcoin_events.venue_id',
|
||||||
|
'bitcoin_events.created_by',
|
||||||
])
|
])
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
return [
|
return [
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class VenueTable extends DataTableComponent
|
|||||||
public function configure(): void
|
public function configure(): void
|
||||||
{
|
{
|
||||||
$this->setPrimaryKey('id')
|
$this->setPrimaryKey('id')
|
||||||
->setAdditionalSelects(['id'])
|
->setAdditionalSelects(['venues.id', 'venues.created_by'])
|
||||||
->setThAttributes(function (Column $column) {
|
->setThAttributes(function (Column $column) {
|
||||||
return [
|
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',
|
'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',
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
<div>
|
<div class="flex flex-col space-y-1">
|
||||||
<a href="{{ $row->link }}" target="_blank">
|
<a href="{{ $row->link }}" target="_blank">
|
||||||
<x-badge class="whitespace-nowrap">{{ __('Link') }}</x-badge>
|
<x-badge class="whitespace-nowrap">{{ __('Link') }}</x-badge>
|
||||||
</a>
|
</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>
|
</div>
|
||||||
|
|||||||
@@ -1,16 +1,24 @@
|
|||||||
<div>
|
<div class="flex flex-col space-y-1">
|
||||||
<div>
|
<div>
|
||||||
@if($row->course_events_count > 0)
|
@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 }})
|
{{ __('Show dates') }} ({{ $row->course_events_count }})
|
||||||
</x-button>
|
</x-button>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@if($row->course_events_count < 1)
|
@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 }})
|
{{ __('Show dates') }} ({{ $row->course_events_count }})
|
||||||
</x-button>
|
</x-button>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</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>
|
</div>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div x-description="Mobile menu, show/hide based on menu open state." class="lg:hidden" x-ref="dialog" x-show="open"
|
<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 x-description="Background backdrop, show/hide based on slide-over state." class="fixed inset-0 z-10"></div>
|
||||||
<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"
|
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>
|
</button>
|
||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
|
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') }}"
|
<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>
|
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]) }}"
|
<a href="{{ route('school.table.lecturer', ['country' => $country]) }}"
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
|
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]) }}"
|
<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>
|
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]) }}"
|
<a href="{{ route('meetup.table.meetup', ['country' => $country]) }}"
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
|
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]) }}"
|
<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>
|
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>
|
</div>
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
|
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]) }}"
|
<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>
|
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]) }}"
|
<a href="{{ route('school.table.course', ['country' => $country]) }}"
|
||||||
@@ -198,7 +198,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
|
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]) }}"
|
<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>
|
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
|
@auth
|
||||||
@@ -225,7 +225,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state." id="disclosure-1"
|
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]) }}"
|
<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>
|
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]) }}"
|
<a href="{{ route('bookCases.table.bookcases', ['country' => $country]) }}"
|
||||||
@@ -258,7 +258,7 @@
|
|||||||
<div class="mt-2 space-y-2"
|
<div class="mt-2 space-y-2"
|
||||||
x-description="'Product' sub-menu, show/hide based on menu state."
|
x-description="'Product' sub-menu, show/hide based on menu state."
|
||||||
id="disclosure-1"
|
id="disclosure-1"
|
||||||
x-show="open" style="display: none;">
|
x-show="open" style="display: none;" x-cloak>
|
||||||
<a href="{{ route('profile.show') }}"
|
<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>
|
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') }}"
|
<a href="{{ route('profile.wallet') }}"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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="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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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="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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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="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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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="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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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="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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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="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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
x-transition:leave-end="opacity-0 -translate-y-1"
|
x-transition:leave-end="opacity-0 -translate-y-1"
|
||||||
x-description="'Product' flyout menu, show/hide based on flyout menu state."
|
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"
|
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
|
<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">
|
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 class="grid grid-cols-2 gap-x-6 sm:gap-x-8">
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
<div class="pb-5 flex flex-row justify-between">
|
<div class="pb-5 flex flex-row justify-between">
|
||||||
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Venue') }}</h3>
|
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Venue') }}</h3>
|
||||||
<div class="flex flex-row space-x-2 items-center">
|
<div class="flex flex-row space-x-2 items-center">
|
||||||
<div>
|
{{--<div>
|
||||||
@if($venue->id)
|
@if($venue->id)
|
||||||
<x-button negative wire:click="deleteMe">
|
<x-button negative wire:click="deleteMe">
|
||||||
<i class="fa fa-thin fa-trash"></i>
|
<i class="fa fa-thin fa-trash"></i>
|
||||||
{{ __('Delete') }}
|
{{ __('Delete') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>--}}
|
||||||
<div>
|
<div>
|
||||||
<x-button :href="$fromUrl">
|
<x-button :href="$fromUrl">
|
||||||
<i class="fa fa-thin fa-arrow-left"></i>
|
<i class="fa fa-thin fa-arrow-left"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user