191 lines
6.4 KiB
PHP
191 lines
6.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en" data-bs-theme="auto">
|
|
<head>
|
|
<!-- Scripts -->
|
|
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
|
|
<!-- CSRF Token -->
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<title>@yield('title')</title>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
|
|
<meta name="generator" content="Hugo 0.118.2">
|
|
|
|
<!-- Script para el tema oscuro -->
|
|
<script src="js/color-modes.js"></script>
|
|
<!-- Bootstrao 5.3.2 -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
|
<!-- Iconos de bootstrap -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
|
<!-- Estilos Basicos -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">
|
|
<!-- Jquery -->
|
|
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
|
|
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
|
|
<link rel="stylesheet" href="css/dashboard.css">
|
|
|
|
<!-- Custom styles for this template -->
|
|
<style>
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
aside {
|
|
/* border: 1px yellow solid; */
|
|
position: fixed;
|
|
overflow: auto;
|
|
height: calc(100vh - 68px);
|
|
justify-content: flex-start;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
main {
|
|
position: relative;
|
|
overflow: auto;
|
|
margin-left: auto;
|
|
justify-content: flex-end;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
#sidebarshow {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 575px) {
|
|
#sidebarshow {
|
|
display: inline;
|
|
}
|
|
|
|
#sidebartoggle {
|
|
display: none;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
function changeclass() {
|
|
const mclass = $("#main");
|
|
if (mclass.hasClass('col-sm-12')) {
|
|
localStorage.setItem('menushow', 1)
|
|
} else {
|
|
localStorage.setItem('menushow', 0)
|
|
}
|
|
|
|
$("#main").toggleClass('col-sm-10 col-sm-12');
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
|
|
<!-- Body of dashboard - inside is all content-->
|
|
<body class="bg-body-tertiary">
|
|
<!-- Include the symbols for svg drawing -->
|
|
@include('layouts.svg')
|
|
|
|
<!-- Start navbar -->
|
|
<nav class="navbar sticky-top navbar-expand-lg border-bottom bg-body-tertiary">
|
|
<div class="container-fluid">
|
|
<!-- Left navbar links -->
|
|
<ul class="navbar-nav">
|
|
<li class="nav-item d-none d-sm-inline-block">
|
|
<a href="/dashboard" class="nav-link">Dashboard</a>
|
|
</li>
|
|
</ul>
|
|
<!-- Right navbar links -->
|
|
<ul class="navbar-nav ms-auto">
|
|
<!-- Notifications Dropdown Menu -->
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link" href="#">
|
|
<i class="fas fa-fighter-jet"></i>
|
|
<span class="badge badge-warning navbar-badge">{{ auth()->user()->srpOpen() ?? 0 }}</span>
|
|
</a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link" href="#">
|
|
<i class="fas fa-plane-slash"></i>
|
|
<span class="badge badge-danger navbar-badge">{{ auth()->user()->srpDenied() ?? 0 }}</span>
|
|
</a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link" href="#">
|
|
<i class="fas fa-space-shuttle"></i>
|
|
<span class="badge badge-success navbar-badge">{{ auth()->user()->srpApproved() ?? 0 }}</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
@include('layouts.darkmode')
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<!-- end navbar -->
|
|
|
|
<!-- Sidebar menu -->
|
|
@include('layouts.sidebar')
|
|
<!-- End aside -->
|
|
|
|
<!-- Content of the main body - heres the main content like graph, tables, etc... -->
|
|
<main class="col-sm-10 bg-body-tertiary" id="main">
|
|
<div class="container-fluid">
|
|
<div class="row"></div>
|
|
<div class="row"> <!-- This section creates the links at the top separated by a / -->
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item active" aria-current="/dashboard">Overview</li>
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
<!-- This section yields to the content -->
|
|
@yield('content')
|
|
|
|
<!-- Footer for end section -->
|
|
<div class="row">
|
|
<footer class="pt-5 d-flex justify-content-between">
|
|
<p class="col-md-4 mb-0 text-body-secondary">© Alliance-Services</p>
|
|
<ul class="nav col-md-4 justify-content-end">
|
|
<li class="nav-item"><a href="/dashboard" class="nav-link px-2 text-body-secondary">Home</a></li>
|
|
<li class="nav-item"><a href="#" class="nav-link px-2 text-body-secondary">FAQs</a></li>
|
|
<li class="nav-item"><a href="#" class="nav-link px-2 text-body-secondary">About</a></li>
|
|
</ul>
|
|
</footer>
|
|
</div>
|
|
<!-- End footer -->
|
|
</div>
|
|
</main>
|
|
<!-- end main -->
|
|
|
|
<!-- offcanvas - heres is a copy of aside and must be the same as navbar section -->
|
|
<!-- End offcanvas (Put back if needed later. -->
|
|
|
|
<!-- ChartsJS -->
|
|
<script src="https://cdn.jsdelivr.net/chartist.js/latest/chartist.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.3.2/dist/chart.umd.js"
|
|
integrity="sha384-eI7PSr3L1XLISH8JdDII5YN/njoSsxfbrkCTnJrzXt+ENP5MOVBxD+l6sEG4zoLp"
|
|
crossorigin="anonymous"></script>
|
|
<!-- Github buttons -->
|
|
<script async defer src="js/github-buttons.js"></script>
|
|
<script src="js/dashboard.js"></script>
|
|
<script>
|
|
new Chartist.Line('#traffic-chart', {
|
|
labels: ['January', 'Februrary', 'March', 'April', 'May', 'June'],
|
|
series: [
|
|
[23000, 25000, 19000, 34000, 56000, 64000]
|
|
]
|
|
}, {
|
|
low: 0,
|
|
showArea: true
|
|
});
|
|
</script>
|
|
|
|
<script>
|
|
function changeclass() {
|
|
$("#main").toggleClass('col-sm-10 col-sm-12');
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html> |