2026-01-17 13:46:20 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" x-data="{ darkMode: localStorage.getItem('darkMode') === 'true' }" :class="{ 'dark': darkMode }">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
<title>@yield('title', 'Dashboard') - {{ config('app.name') }}</title>
|
|
|
|
|
|
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css" rel="stylesheet">
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
:root {
|
|
|
|
|
--bg-primary: #ffffff;
|
|
|
|
|
--bg-secondary: #f8f9fa;
|
|
|
|
|
--bg-sidebar: #1f2937;
|
|
|
|
|
--text-primary: #111827;
|
|
|
|
|
--text-secondary: #6b7280;
|
|
|
|
|
--border-color: #e5e7eb;
|
|
|
|
|
--indigo-600: #4f46e5;
|
|
|
|
|
--indigo-700: #4338ca;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dark {
|
|
|
|
|
--bg-primary: #111827;
|
|
|
|
|
--bg-secondary: #1f2937;
|
|
|
|
|
--text-primary: #f9fafb;
|
|
|
|
|
--text-secondary: #9ca3af;
|
|
|
|
|
--border-color: #374151;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
* {
|
|
|
|
|
font-family: 'Inter', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
background-color: var(--bg-secondary);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
width: 260px;
|
|
|
|
|
background-color: var(--bg-sidebar);
|
|
|
|
|
padding: 1.5rem 0;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-logo {
|
|
|
|
|
padding: 0 1.5rem 1.5rem;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-nav {
|
|
|
|
|
padding: 0;
|
|
|
|
|
list-style: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-nav-item {
|
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-nav-link {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-nav-link:hover,
|
|
|
|
|
.sidebar-nav-link.active {
|
|
|
|
|
background-color: rgba(79, 70, 229, 0.1);
|
|
|
|
|
color: var(--indigo-600);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-nav-link i {
|
|
|
|
|
margin-right: 0.75rem;
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-content {
|
|
|
|
|
margin-left: 260px;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.topbar {
|
|
|
|
|
background-color: var(--bg-primary);
|
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
|
padding: 1rem 2rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
background-color: var(--bg-primary);
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
|
background-color: var(--indigo-600);
|
|
|
|
|
border-color: var(--indigo-600);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
|
|
|
background-color: var(--indigo-700);
|
|
|
|
|
border-color: var(--indigo-700);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge-success {
|
|
|
|
|
background-color: #10b981;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge-danger {
|
|
|
|
|
background-color: #ef4444;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge-warning {
|
|
|
|
|
background-color: #f59e0b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.sidebar {
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
transition: transform 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar.show {
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-content {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
@stack('styles')
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<!-- Sidebar -->
|
|
|
|
|
<aside class="sidebar" id="sidebar">
|
|
|
|
|
<div class="sidebar-logo">
|
|
|
|
|
<h4 class="text-white mb-0">
|
|
|
|
|
<i class="bi bi-shield-check"></i>
|
|
|
|
|
Site Monitor
|
|
|
|
|
</h4>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ul class="sidebar-nav">
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('dashboard') }}" class="sidebar-nav-link {{ request()->routeIs('dashboard') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-speedometer2"></i>
|
|
|
|
|
Dashboard
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('sites.index') }}" class="sidebar-nav-link {{ request()->routeIs('sites.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-globe"></i>
|
|
|
|
|
Sites
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2026-01-24 12:16:10 +02:00
|
|
|
|
|
|
|
|
<!-- Monitoring Features Section -->
|
|
|
|
|
<li class="sidebar-nav-item mt-3">
|
|
|
|
|
<div class="px-4 py-2">
|
|
|
|
|
<small class="text-uppercase text-muted fw-semibold" style="font-size: 0.75rem; letter-spacing: 0.5px;">
|
|
|
|
|
Monitoring Features
|
|
|
|
|
</small>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('uptime.index') }}" class="sidebar-nav-link {{ request()->routeIs('uptime.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-arrow-up-circle"></i>
|
|
|
|
|
Uptime Monitoring
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('ssl.index') }}" class="sidebar-nav-link {{ request()->routeIs('ssl.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-shield-lock"></i>
|
|
|
|
|
SSL Certificates
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('dns-records.overview') }}" class="sidebar-nav-link {{ request()->routeIs('dns-records.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-server"></i>
|
|
|
|
|
DNS Records
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('broken-links.index') }}" class="sidebar-nav-link {{ request()->routeIs('broken-links.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-link-45deg"></i>
|
|
|
|
|
Broken Links
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('domains.index') }}" class="sidebar-nav-link {{ request()->routeIs('domains.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-globe"></i>
|
|
|
|
|
Domain Expiry
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('sitemaps.index') }}" class="sidebar-nav-link {{ request()->routeIs('sitemaps.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-diagram-3"></i>
|
|
|
|
|
Sitemaps
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('health-checks.overview') }}" class="sidebar-nav-link {{ request()->routeIs('health-checks.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-heart-pulse"></i>
|
|
|
|
|
Health Checks
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('tcp-ports.overview') }}" class="sidebar-nav-link {{ request()->routeIs('tcp-ports.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-hdd-network"></i>
|
|
|
|
|
TCP Ports
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<!-- General Section -->
|
|
|
|
|
<li class="sidebar-nav-item mt-3">
|
|
|
|
|
<div class="px-4 py-2">
|
|
|
|
|
<small class="text-uppercase text-muted fw-semibold" style="font-size: 0.75rem; letter-spacing: 0.5px;">
|
|
|
|
|
General
|
|
|
|
|
</small>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
2026-01-17 13:46:20 +02:00
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('alerts.index') }}" class="sidebar-nav-link {{ request()->routeIs('alerts.*') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-bell"></i>
|
|
|
|
|
Alerts
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="sidebar-nav-item">
|
|
|
|
|
<a href="{{ route('settings') }}" class="sidebar-nav-link {{ request()->routeIs('settings') ? 'active' : '' }}">
|
|
|
|
|
<i class="bi bi-gear"></i>
|
|
|
|
|
Settings
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<!-- Main Content -->
|
|
|
|
|
<div class="main-content">
|
|
|
|
|
<!-- Topbar -->
|
|
|
|
|
<div class="topbar">
|
|
|
|
|
<button class="btn btn-outline-secondary d-md-none" onclick="document.getElementById('sidebar').classList.toggle('show')">
|
|
|
|
|
<i class="bi bi-list"></i>
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<div></div>
|
|
|
|
|
|
|
|
|
|
<div class="d-flex align-items-center gap-3">
|
|
|
|
|
<button class="btn btn-outline-secondary" @click="darkMode = !darkMode; localStorage.setItem('darkMode', darkMode)">
|
|
|
|
|
<i class="bi" :class="darkMode ? 'bi-sun' : 'bi-moon'"></i>
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
@auth
|
|
|
|
|
<div class="dropdown">
|
|
|
|
|
<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown">
|
|
|
|
|
<i class="bi bi-person-circle"></i>
|
|
|
|
|
{{ auth()->user()->name }}
|
|
|
|
|
</button>
|
|
|
|
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
|
|
|
<li>
|
|
|
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
|
|
|
@csrf
|
|
|
|
|
<button type="submit" class="dropdown-item">
|
|
|
|
|
<i class="bi bi-box-arrow-right"></i> Logout
|
|
|
|
|
</button>
|
|
|
|
|
</form>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
@endauth
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
<div class="p-4">
|
|
|
|
|
@if (session('success'))
|
|
|
|
|
<x-alert type="success" dismissible>
|
|
|
|
|
{{ session('success') }}
|
|
|
|
|
</x-alert>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if (session('error'))
|
|
|
|
|
<x-alert type="danger" dismissible>
|
|
|
|
|
{{ session('error') }}
|
|
|
|
|
</x-alert>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@if ($errors->any())
|
|
|
|
|
<x-alert type="danger" dismissible>
|
|
|
|
|
<strong>Validation Error:</strong>
|
|
|
|
|
<ul class="mb-0">
|
|
|
|
|
@foreach ($errors->all() as $error)
|
|
|
|
|
<li>{{ $error }}</li>
|
|
|
|
|
@endforeach
|
|
|
|
|
</ul>
|
|
|
|
|
</x-alert>
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
@yield('content')
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js"></script>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
function confirmDelete(message) {
|
|
|
|
|
return confirm(message || 'Are you sure you want to delete this?');
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
@stack('scripts')
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|