142 lines
5.0 KiB
PHP
142 lines
5.0 KiB
PHP
<div class="legacy-stats-wrapper">
|
|
{{-- Betöltjük a legacy stílusokat az ikonok és alapformázások miatt --}}
|
|
<link rel="stylesheet" href="{{ mix('/css/app.css') }}">
|
|
|
|
<style>
|
|
/* Elrejtjük a Filament standard elemeit ezen az oldalon */
|
|
.fi-sidebar { display: none !important; }
|
|
.fi-main { padding-left: 0 !important; }
|
|
.fi-topbar { z-index: 10 !important; }
|
|
|
|
/* A Filament wrapper elemeinek nullázása a pontos illeszkedés érdekében */
|
|
.fi-page, .fi-page-header-main-ctn, .fi-page-main, .fi-page-content, .fi-page-header, .fi-header {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
gap: 0 !important;
|
|
}
|
|
|
|
.fi-page-header, .fi-header {
|
|
display: none !important;
|
|
}
|
|
|
|
/* A legacy sidebar stílusaihoz szükséges alapok */
|
|
.page-wrapper.chiller-theme .page-content {
|
|
padding-left: 260px;
|
|
}
|
|
@media screen and (max-width: 768px) {
|
|
.page-wrapper.chiller-theme .page-content {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
/* Biztosítjük a szürke hátteret és eltüntetjük a felső üres részt */
|
|
.fi-main-ctn {
|
|
background-color: #f4f4f4 !important;
|
|
min-height: 100vh;
|
|
}
|
|
.fi-main {
|
|
padding-top: 0 !important;
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.statistic-card {
|
|
background: white;
|
|
border-radius: 4px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
margin-bottom: 20px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
.statistic-card-header {
|
|
padding: 10px 15px;
|
|
border-bottom: 1px solid #eee;
|
|
font-weight: 600;
|
|
color: #333;
|
|
background-color: #f8f9fa;
|
|
}
|
|
.statistic-card-body {
|
|
padding: 15px;
|
|
}
|
|
|
|
/* Navigációs gombok stílusa (a modern nézetből átemelve, de a legacy-hoz igazítva) */
|
|
.legacy-nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
background-color: #f8f9fa;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 0.25rem;
|
|
color: #212529;
|
|
transition: background-color 0.2s;
|
|
}
|
|
.legacy-nav-item:hover {
|
|
background-color: #e9ecef;
|
|
text-decoration: none;
|
|
}
|
|
.legacy-nav-item i {
|
|
font-size: 1.25rem;
|
|
margin-right: 0.75rem;
|
|
color: #453821;
|
|
}
|
|
|
|
/* Aktív menüpont stílusa a sidebar-ban */
|
|
.sidebar-menu ul li.active > a {
|
|
color: #b8bfce;
|
|
background: #3a3f48;
|
|
}
|
|
.sidebar-menu ul li.active > a i {
|
|
color: #16c7ff;
|
|
text-shadow: 0px 0px 10px rgba(22, 199, 255, 0.5);
|
|
}
|
|
</style>
|
|
|
|
<div class="page-wrapper chiller-theme toggled">
|
|
@php
|
|
// Aktívvá tesszük a CurrentPrice linket a sidebarban, ha az a href megegyezik
|
|
// De mivel a navSidebar.blade.php-t include-oljuk, a legegyszerűbb ha a CSS-sel oldjuk meg
|
|
// vagy itt helyben injectálunk egy kis JS-t.
|
|
@endphp
|
|
@include('admin.statistics.navSidebar')
|
|
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const currentUrl = window.location.href;
|
|
document.querySelectorAll('.sidebar-wrapper a').forEach(link => {
|
|
if (link.href === currentUrl) {
|
|
link.parentElement.classList.add('active');
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<main class="page-content" style="padding-top: 0;">
|
|
<div class="container-fluid" style="max-width: 100%; padding-left: 15px; padding-right: 15px;">
|
|
<div class="statistic-card">
|
|
<div class="statistic-card-header">
|
|
Szűrés
|
|
</div>
|
|
<div class="statistic-card-body">
|
|
<form wire:submit.prevent="submit">
|
|
{{ $this->form }}
|
|
|
|
<div class="mt-4 flex justify-end">
|
|
<button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded transition">
|
|
Szűrés alkalmazása
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="statistic-card">
|
|
<div class="statistic-card-header">
|
|
Aktuális ár statisztika
|
|
</div>
|
|
<div class="statistic-card-body">
|
|
<p>Ez a statisztikai elem még fejlesztés alatt áll.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|