mobile nav changed

This commit is contained in:
HolgerHatGarKeineNode
2023-02-26 13:16:29 +01:00
parent 9a02b53b1e
commit c9e91703fb
10 changed files with 179 additions and 128 deletions

View File

@@ -32,7 +32,14 @@ class CourseTable extends DataTableComponent
]; ];
}) })
->setColumnSelectStatus(false) ->setColumnSelectStatus(false)
->setPerPage(10); ->setPerPage(10)
->setConfigurableAreas([
'toolbar-left-end' => [
'columns.courses.areas.toolbar-left-end', [
'country' => $this->country,
],
],
]);
} }
public function filters(): array public function filters(): array

View File

@@ -45,7 +45,14 @@ class EventTable extends DataTableComponent
]; ];
}) })
->setColumnSelectStatus(false) ->setColumnSelectStatus(false)
->setPerPage(10); ->setPerPage(10)
->setConfigurableAreas([
'toolbar-left-end' => [
'columns.course-events.areas.toolbar-left-end', [
'country' => $this->country,
],
],
]);
} }
public function filters(): array public function filters(): array

View File

@@ -31,7 +31,14 @@ class VenueTable extends DataTableComponent
]; ];
}) })
->setColumnSelectStatus(false) ->setColumnSelectStatus(false)
->setPerPage(10); ->setPerPage(10)
->setConfigurableAreas([
'toolbar-left-end' => [
'columns.venues.areas.toolbar-left-end', [
'country' => $this->country,
],
],
]);
} }
public function columns(): array public function columns(): array

View File

@@ -784,6 +784,6 @@
"You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "", "You overwrite your user\\'s public key and then have to log in with the wallet, which you now use to scan or log in.": "",
":name\\'s Avatar": "", ":name\\'s Avatar": "",
"Manage": "Verwalten", "Manage": "Verwalten",
"Manage content creators": "Verwalte Content Creator", "Manage content creators": "Verwalte Content Creators",
"Lecturers\/Content Creators": "Dozenten\/Content Creator" "Lecturers\/Content Creators": "Dozenten\/Content Creators"
} }

View File

@@ -0,0 +1,6 @@
<div class="w-full mb-4 md:w-auto md:mb-0">
<x-button href="/nova/resources/course-events">
<i class="fa fa-thin fa-plus"></i>
{{ __('Register course date') }}
</x-button>
</div>

View File

@@ -0,0 +1,6 @@
<div class="w-full mb-4 md:w-auto md:mb-0">
<x-button href="/nova/resources/courses">
<i class="fa fa-thin fa-plus"></i>
{{ __('Register course') }}
</x-button>
</div>

View File

@@ -0,0 +1,6 @@
<div class="w-full mb-4 md:w-auto md:mb-0">
<x-button :href="route('venue.form', ['country' => $country, 'venue' => null])">
<i class="fa fa-thin fa-plus"></i>
{{ __('Create venue') }}
</x-button>
</div>

View File

@@ -1,4 +1,8 @@
<div class="container p-4 mx-auto bg-21gray my-2"> <div>
{{-- HEADER --}}
<livewire:frontend.header :country="null"/>
<div class="container p-4 mx-auto bg-21gray my-2">
<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">{{ __('Book Case') }}: {{ $bookCase->title }}</h3> <h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Book Case') }}: {{ $bookCase->title }}</h3>
@@ -64,7 +68,8 @@
</x-input.group> </x-input.group>
<x-input.group :for="md5('orangePill.comment')" :label="__('Comment')"> <x-input.group :for="md5('orangePill.comment')" :label="__('Comment')">
<x-textarea wire:model.defer="orangePill.comment" label="{{ __('Comment') }}" placeholder="{{ __('Comment') }}" <x-textarea wire:model.defer="orangePill.comment" label="{{ __('Comment') }}"
placeholder="{{ __('Comment') }}"
corner-hint="{{ __('For example, what books you put in.') }}"/> corner-hint="{{ __('For example, what books you put in.') }}"/>
</x-input.group> </x-input.group>
@@ -78,4 +83,5 @@
</div> </div>
</div> </div>
</form> </form>
</div>
</div> </div>

View File

@@ -1,4 +1,7 @@
<div class="container p-4 mx-auto bg-21gray my-2"> <div>
{{-- HEADER --}}
<livewire:frontend.header :country="null"/>
<div class="container p-4 mx-auto bg-21gray my-2">
<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">{{ __('City') }}</h3> <h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('City') }}</h3>
@@ -63,4 +66,5 @@
</div> </div>
</div> </div>
</form> </form>
</div>
</div> </div>

View File

@@ -95,6 +95,8 @@
x-show="open" style="display: none;"> x-show="open" style="display: none;">
<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]) }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Manage content creators') }}</a>
</div> </div>
</div> </div>