style
This commit is contained in:
@@ -628,12 +628,6 @@
|
||||
{#if user.role === 'admin' && !showVehicles && !showUnits && !showPersonnel && !showGoodsManagers}
|
||||
<!-- Karşılama mesajı -->
|
||||
<div class="welcome-content">
|
||||
<div class="welcome-icon">
|
||||
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M3 12h18m-9-9v18"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h1 class="welcome-title">Hoş Geldiniz! 👋</h1>
|
||||
<p class="welcome-message">
|
||||
{#if user.role === 'admin'}
|
||||
Sisteme hoş geldiniz! Araç, birlik ve personel yönetimi yapabilirsiniz.
|
||||
|
||||
@@ -291,16 +291,31 @@
|
||||
|
||||
<div class="personnel-details">
|
||||
<div class="detail-item">
|
||||
<span class="detail-label">Sicil No:</span>
|
||||
<span class="detail-value">{person.registration_number}</span>
|
||||
<div class="detail-icon">
|
||||
<i class="fas fa-id-badge"></i>
|
||||
</div>
|
||||
<div class="detail-content">
|
||||
<span class="detail-label">Sicil No:</span>
|
||||
<span class="detail-value">{person.registration_number}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail-item">
|
||||
<span class="detail-label">TC Kimlik:</span>
|
||||
<span class="detail-value">{person.tc_kimlik}</span>
|
||||
<div class="detail-icon">
|
||||
<i class="fas fa-id-card"></i>
|
||||
</div>
|
||||
<div class="detail-content">
|
||||
<span class="detail-label">TC Kimlik:</span>
|
||||
<span class="detail-value">{person.tc_kimlik}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail-item">
|
||||
<span class="detail-label">İrtibat:</span>
|
||||
<span class="detail-value">{person.phone}</span>
|
||||
<div class="detail-icon">
|
||||
<i class="fas fa-phone"></i>
|
||||
</div>
|
||||
<div class="detail-content">
|
||||
<span class="detail-label">İrtibat:</span>
|
||||
<span class="detail-value">{person.phone}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -652,8 +667,36 @@
|
||||
|
||||
.detail-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.5rem;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: 8px;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
|
||||
.detail-item:hover {
|
||||
background: #F3F4F6;
|
||||
}
|
||||
|
||||
.detail-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: rgba(37, 99, 235, 0.1);
|
||||
color: #3B82F6;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.detail-label {
|
||||
|
||||
Reference in New Issue
Block a user