Files
servicedesk/src/resources/views/livewire/auth/login.blade.php
Kacper 4e8f17189a
All checks were successful
Build and push image / build (push) Successful in 1m24s
v1.0.2
- Fix CI registry login (unauthorized): use dedicated REGISTRY_TOKEN secret
  instead of GITHUB_TOKEN, fail fast with a clear error if it's unset.
- Pause ticket work-timer while a ticket is closed (won't auto-start on open
  or manual resume; stops on close via status change, quick action, API, or
  merge).
- Reject empty/blank login submissions client- and server-side instead of
  passing them straight to the auth provider.
- Closing a ticket now sends only the "ticket closed" notification instead
  of also sending a duplicate "status changed" one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-22 08:50:03 +02:00

28 lines
1.5 KiB
PHP

<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 required>
</div>
<div class="field">
<label>Hasło</label>
<input class="input" type="password" wire:model="password" required>
</div>
<button class="btn btn-primary btn-block" type="submit">Zaloguj się</button>
</form>
</div>
</div>