v1.0.0
This commit is contained in:
27
src/resources/views/livewire/auth/login.blade.php
Normal file
27
src/resources/views/livewire/auth/login.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<div style="flex:1;display:flex;flex-direction:column">
|
||||
<x-topbar>
|
||||
<a href="{{ url('/') }}" wire:navigate class="btn btn-secondary" style="font-size:12px;padding:6px 12px;text-decoration:none">Nowe zgłoszenie bez logowania</a>
|
||||
</x-topbar>
|
||||
|
||||
<div class="page-pad" style="flex:1;display:flex;justify-content:center;align-items:center;padding:40px 20px">
|
||||
<form wire:submit="submit" class="card elev-md" style="width:100%;max-width:380px;padding:28px;gap:16px">
|
||||
<img src="{{ \App\Support\Settings::logoUrl() }}" alt="{{ \App\Support\Settings::get('company_name') }}" style="height:56px;width:auto;align-self:center">
|
||||
<h2 style="margin:0;text-align:center">Zaloguj się</h2>
|
||||
<x-login-notice :html="\App\Support\Settings::get('login_notice_html')" :type="\App\Support\Settings::loginNoticeType()" />
|
||||
|
||||
@if ($error)
|
||||
<div class="tag" style="background:color-mix(in srgb, var(--color-danger) 18%, transparent);color:var(--color-danger)">{{ $error }}</div>
|
||||
@endif
|
||||
|
||||
<div class="field">
|
||||
<label>Nazwa użytkownika</label>
|
||||
<input class="input" wire:model="username" autofocus>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>Hasło</label>
|
||||
<input class="input" type="password" wire:model="password">
|
||||
</div>
|
||||
<button class="btn btn-primary btn-block" type="submit">Zaloguj się</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user