2024-06-26 12:28:46 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-09-12 11:56:53 +00:00
|
|
|
<!-- CSRF Token Meta Tag -->
|
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
2024-06-26 12:28:46 +00:00
|
|
|
<title>Inbox</title>
|
|
|
|
|
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.css">
|
2024-10-08 12:30:49 +00:00
|
|
|
<!--<script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.js"></script>-->
|
2024-06-26 12:28:46 +00:00
|
|
|
<!-- Bootstrap Styles -->
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
|
|
|
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
|
|
|
<!-- Main Styles -->
|
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/style.css') }}">
|
2024-06-29 19:15:55 +00:00
|
|
|
<link rel="icon" href="{{asset('images/favicon.ico')}}" type="image/png">
|
2024-07-09 10:58:20 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
|
2024-06-26 12:28:46 +00:00
|
|
|
</head>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body class="color-dark-green">
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="main-wrapper row">
|
|
|
|
|
|
|
|
|
|
<!-- Sidebar -->
|
|
|
|
|
<x-sidebar />
|
|
|
|
|
<!-- End -->
|
|
|
|
|
|
|
|
|
|
<!-- Header And Main Content Wrapper -->
|
|
|
|
|
<div class="content-area position-relative bg-light-color">
|
|
|
|
|
|
|
|
|
|
<!-- Header -->
|
|
|
|
|
<x-header />
|
|
|
|
|
<!-- End -->
|
|
|
|
|
|
|
|
|
|
<!-- Main Content Area -->
|
|
|
|
|
@yield('content')
|
|
|
|
|
<!-- End -->
|
|
|
|
|
|
2024-07-12 15:23:36 +00:00
|
|
|
<x-chat-box />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-26 12:28:46 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Jquery -->
|
2024-10-08 12:30:49 +00:00
|
|
|
<script src="https://code.jquery.com/jquery-3.7.1.min.js"
|
|
|
|
|
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
|
2024-06-26 12:28:46 +00:00
|
|
|
|
2024-10-08 12:30:49 +00:00
|
|
|
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
|
2024-06-26 12:28:46 +00:00
|
|
|
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
|
2024-10-08 12:30:49 +00:00
|
|
|
crossorigin="anonymous"></script>
|
2024-06-26 12:28:46 +00:00
|
|
|
|
|
|
|
|
<!-- Fomantic Ui Scripts -->
|
2024-10-08 12:30:49 +00:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.3/dist/semantic.min.js"></script>
|
2024-06-26 12:28:46 +00:00
|
|
|
|
|
|
|
|
<!-- Main Custom Js -->
|
|
|
|
|
<script src="{{ asset('assets/script.js') }}"></script>
|
2024-07-09 10:58:20 +00:00
|
|
|
|
2024-10-08 12:30:49 +00:00
|
|
|
|
2024-06-26 12:28:46 +00:00
|
|
|
</body>
|
|
|
|
|
|
2024-09-12 11:56:53 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
function updateLastOnline() {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/update-last-online',
|
|
|
|
|
method: 'GET',
|
|
|
|
|
success: function(response) {
|
|
|
|
|
if (response.success) {
|
|
|
|
|
console.log('Last online updated successfully.');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
error: function(xhr) {
|
|
|
|
|
console.error('An error occurred:', xhr.responseText);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Update last online every minute (60000 milliseconds)
|
|
|
|
|
setInterval(updateLastOnline, 60000);
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-06-26 12:28:46 +00:00
|
|
|
</html>
|