173 lines
6.4 KiB
PHP
Executable File
173 lines
6.4 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<title>@yield('title', 'NetGescon') - Gestionale Condomini</title>
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<!-- FontAwesome -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
|
|
<!-- Custom Admin CSS -->
|
|
<style>
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.sidebar {
|
|
min-height: 100vh;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
box-shadow: 0 0 20px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
color: rgba(255,255,255,0.8);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 0.5rem;
|
|
margin: 0.25rem 0.5rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.sidebar .nav-link:hover,
|
|
.sidebar .nav-link.active {
|
|
color: white;
|
|
background-color: rgba(255,255,255,0.1);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.main-content {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-weight: 700;
|
|
color: #495057;
|
|
}
|
|
|
|
.card {
|
|
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
|
border: 1px solid rgba(0,0,0,0.125);
|
|
}
|
|
|
|
.nav-tabs-custom {
|
|
border-bottom: 2px solid #e9ecef;
|
|
}
|
|
|
|
.nav-tabs-custom .nav-link {
|
|
border: none;
|
|
color: #6c757d;
|
|
padding: 1rem 1.5rem;
|
|
font-weight: 500;
|
|
border-bottom: 3px solid transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.nav-tabs-custom .nav-link:hover {
|
|
border-color: transparent;
|
|
color: #495057;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.nav-tabs-custom .nav-link.active {
|
|
color: #495057;
|
|
background-color: transparent;
|
|
border-bottom-color: #007bff;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container-fluid p-0">
|
|
<div class="row g-0">
|
|
<!-- Sidebar -->
|
|
<div class="col-lg-2 col-md-3 sidebar">
|
|
<div class="p-3 text-center border-bottom border-light">
|
|
<h4 class="text-white mb-0">
|
|
<i class="fas fa-building me-2"></i>
|
|
NetGescon
|
|
</h4>
|
|
</div>
|
|
|
|
<nav class="mt-3">
|
|
@include('components.menu.sidebar-netgescon')
|
|
</nav>
|
|
</div>
|
|
|
|
<!-- Main Content -->
|
|
<div class="col-lg-10 col-md-9 main-content">
|
|
<!-- Header -->
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-white border-bottom">
|
|
<div class="container-fluid">
|
|
@hasSection('header')
|
|
@yield('header')
|
|
@else
|
|
<span class="navbar-brand mb-0 h1">Dashboard</span>
|
|
@endif
|
|
|
|
<div class="navbar-nav ms-auto">
|
|
<div class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown">
|
|
<i class="fas fa-user-circle me-1"></i>
|
|
{{ Auth::user()->name }}
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="{{ route('profile.edit') }}">
|
|
<i class="fas fa-user me-2"></i>Profilo
|
|
</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
<li>
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
@csrf
|
|
<button type="submit" class="dropdown-item">
|
|
<i class="fas fa-sign-out-alt me-2"></i>Logout
|
|
</button>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Page Content -->
|
|
<div class="p-4">
|
|
@if(session('success'))
|
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
|
{{ session('success') }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
</div>
|
|
@endif
|
|
|
|
@if(session('error'))
|
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
|
{{ session('error') }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
</div>
|
|
@endif
|
|
|
|
@if(session('warning'))
|
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
|
{{ session('warning') }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
</div>
|
|
@endif
|
|
|
|
@yield('content')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Bootstrap JS -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<!-- Custom Scripts -->
|
|
@stack('scripts')
|
|
</body>
|
|
</html>
|