login changed

This commit is contained in:
Benjamin Takats
2022-12-06 15:09:48 +01:00
parent 5d86149e33
commit 9d3670eb21
5 changed files with 37 additions and 11 deletions

12
composer.lock generated
View File

@@ -6781,16 +6781,16 @@
},
{
"name": "spatie/laravel-medialibrary",
"version": "10.7.3",
"version": "10.7.4",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-medialibrary.git",
"reference": "d42ef44607527aa9196b3e9eaf691c22ea5e4ff0"
"reference": "94803ea1b99deb11e723e15e069ce4c3a07425a3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/d42ef44607527aa9196b3e9eaf691c22ea5e4ff0",
"reference": "d42ef44607527aa9196b3e9eaf691c22ea5e4ff0",
"url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/94803ea1b99deb11e723e15e069ce4c3a07425a3",
"reference": "94803ea1b99deb11e723e15e069ce4c3a07425a3",
"shasum": ""
},
"require": {
@@ -6873,7 +6873,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-medialibrary/issues",
"source": "https://github.com/spatie/laravel-medialibrary/tree/10.7.3"
"source": "https://github.com/spatie/laravel-medialibrary/tree/10.7.4"
},
"funding": [
{
@@ -6885,7 +6885,7 @@
"type": "github"
}
],
"time": "2022-11-27T10:46:08+00:00"
"time": "2022-12-06T07:29:40+00:00"
},
{
"name": "spatie/laravel-package-tools",

View File

@@ -13,6 +13,13 @@
@endif
<form method="POST" action="{{ route('login') }}">
<div class="flex items-center justify-end mb-4">
<x-button icon="arrow-left" secondary class="ml-4" href="/">
{{ __('Zurück zur Webseite') }}
</x-button>
</div>
@csrf
<div>
@@ -52,7 +59,7 @@
</div>
<div class="flex items-center justify-left mt-4">
<x-button href="{{ route('auth.ln') }}" primary icon="lightning-bolt">LN-Auth</x-button>
<x-button href="{{ route('auth.ln') }}" primary icon="lightning-bolt">LNURL-Auth</x-button>
</div>
</form>
</x-jet-authentication-card>

View File

@@ -7,6 +7,13 @@
<x-jet-validation-errors class="mb-4"/>
<form method="POST" action="{{ route('register') }}">
<div class="flex items-center justify-end mb-4">
<x-button icon="arrow-left" secondary class="ml-4" href="/">
{{ __('Zurück zur Webseite') }}
</x-button>
</div>
@csrf
<div>
@@ -72,7 +79,7 @@
</div>
<div class="flex items-center justify-left mt-4">
<x-button href="{{ route('auth.ln') }}" primary icon="lightning-bolt">LN-Auth</x-button>
<x-button href="{{ route('auth.ln') }}" primary icon="lightning-bolt">LNURL-Auth</x-button>
</div>
</form>
</x-jet-authentication-card>

View File

@@ -4,7 +4,15 @@
</x-slot>
<div wire:ignore>
<div class="flex items-center justify-end mb-4">
<x-button icon="arrow-left" secondary class="ml-4" href="/">
{{ __('Zurück zur Webseite') }}
</x-button>
</div>
<div>
<div class="flex justify-center" wire:key="qrcode">
{!! $this->qrCode !!}
</div>
@@ -32,11 +40,11 @@
<div class="flex items-center justify-end mt-4">
<x-button icon="login" secondary class="ml-4" wire:click="switchToEmailLogin">
{{ __('Switch to E-Mail login') }}
{{ __('E-Mail login') }}
</x-button>
<x-button icon="at-symbol" primary class="ml-4" wire:click="switchToEmailSignup">
{{ __('Switch to E-Mail signup') }}
{{ __('E-Mail Registrierung') }}
</x-button>
</div>

View File

@@ -7,7 +7,11 @@
<div class="relative border-b border-gray-200 pb-5 sm:pb-0">
<div class="md:flex md:items-center md:justify-between">
<h3 class="text-2xl font-medium leading-6 text-gray-200">Bibliotheken</h3>
@if(request()->route()->getName() === 'library.lecturer')
<h3 class="text-2xl font-medium leading-6 text-gray-200">Dozenten-Bibliotheken</h3>
@else
<h3 class="text-2xl font-medium leading-6 text-gray-200">Bibliotheken</h3>
@endif
</div>
<div class="mt-4">
<!-- Dropdown menu on small screens -->