frontend update
This commit is contained in:
@@ -16,9 +16,6 @@
|
|||||||
<a href="/dashboard" class="nav-link {$page.url.pathname.startsWith('/dashboard') ? 'active' : ''}">
|
<a href="/dashboard" class="nav-link {$page.url.pathname.startsWith('/dashboard') ? 'active' : ''}">
|
||||||
Dashboard
|
Dashboard
|
||||||
</a>
|
</a>
|
||||||
<a href="/goods-manager" class="nav-link {$page.url.pathname === '/goods-manager' ? 'active' : ''}">
|
|
||||||
Mal Yönetimi
|
|
||||||
</a>
|
|
||||||
<a href="/fuel-slips" class="nav-link {$page.url.pathname === '/fuel-slips' ? 'active' : ''}">
|
<a href="/fuel-slips" class="nav-link {$page.url.pathname === '/fuel-slips' ? 'active' : ''}">
|
||||||
Yakıt Fişleri
|
Yakıt Fişleri
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -79,8 +79,11 @@
|
|||||||
<div class="login-container">
|
<div class="login-container">
|
||||||
<div class="login-card card">
|
<div class="login-card card">
|
||||||
<div class="text-center mb-8">
|
<div class="text-center mb-8">
|
||||||
<h1 class="app-title">Yakıt Takip Modülü</h1>
|
<div class="logo-container">
|
||||||
<p class="app-subtitle">Akaryakıt İstasyonu Yönetim Sistemi</p>
|
<img src="/logo.png" alt="YTP Logo" class="app-logo" />
|
||||||
|
</div>
|
||||||
|
<h1 class="app-title">Giriş</h1>
|
||||||
|
<p class="app-subtitle">Yakıt Takip Modülü</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form on:submit|preventDefault={handleLogin} class="space-y-6">
|
<form on:submit|preventDefault={handleLogin} class="space-y-6">
|
||||||
@@ -131,17 +134,6 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="mt-8 text-center">
|
|
||||||
<div class="text-sm text-gray-600">
|
|
||||||
<p class="mb-2"><strong>Test Kullanıcıları:</strong></p>
|
|
||||||
<div class="space-y-1">
|
|
||||||
<p>Admin: <code class="bg-gray-100 px-2 py-1 rounded">admin / admin123</code></p>
|
|
||||||
<p>Yakıt Sorumlusu: <code class="bg-gray-100 px-2 py-1 rounded">fuel / fuel123</code></p>
|
|
||||||
<p>Mal Sorumlusu: <code class="bg-gray-100 px-2 py-1 rounded">goods / goods123</code></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -163,30 +155,30 @@
|
|||||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.space-y-6 > * + * {
|
.logo-container {
|
||||||
margin-top: 1.5rem;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mt-8 {
|
.app-logo {
|
||||||
margin-top: 2rem;
|
height: 170px;
|
||||||
|
width: auto;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
.space-y-6 > * + * {
|
||||||
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mb-8 {
|
.mb-8 {
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mb-2 {
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-center {
|
.text-center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-sm {
|
|
||||||
font-size: 0.875rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.w-full {
|
.w-full {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -194,13 +186,4 @@
|
|||||||
.opacity-75 {
|
.opacity-75 {
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
|
||||||
font-family: 'Courier New', monospace;
|
|
||||||
font-size: 0.85rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.space-y-1 > * + * {
|
|
||||||
margin-top: 0.25rem;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user