125 lines
3.4 KiB
PHP
125 lines
3.4 KiB
PHP
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png">
|
|
|
|
<link href="{{ asset('argon') }}/img/brand/ARRAHN1.png" rel="icon" type="image/png">
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">
|
|
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900|Roboto+Slab:400,700" />
|
|
|
|
|
|
<script src="{{ asset('argon') }}/vendor/jquery/dist/jquery.min.js"></script>
|
|
|
|
<link href="{{ asset('css/nucleo-icons.css') }}" rel="stylesheet">
|
|
<link href="{{ asset('css/nucleo-svg.css') }}" rel="stylesheet">
|
|
|
|
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
|
|
|
|
<link href="{{ asset('argon/css/dataTables.bootstrap4.min.css') }}" rel="stylesheet">
|
|
<script src="{{ asset('argon') }}/vendor/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<script src="{{ asset('argon') }}/js/ifvisible.js"></script>
|
|
<script src="{{ asset('argon') }}/js/jquery.backDetect.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
|
|
|
|
|
<script type="text/javascript" src="{{ asset('argon') }}/js/main.js"></script>
|
|
<script type="text/javascript" src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
|
|
<script src="{{ asset('argon') }}/js/bootstrap-notify.js"></script>
|
|
|
|
<link href="{{ asset('css/material-kit.css') }}" rel="stylesheet">
|
|
<!-- <link href="{{ asset('css/loader.css') }}" rel="stylesheet"> -->
|
|
|
|
<style>
|
|
.portalloader {
|
|
/* display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background: white;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 100000;
|
|
opacity: 0.8; */
|
|
|
|
/* display: none; */
|
|
position: fixed;
|
|
background: white;
|
|
height: 100%;
|
|
width: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 100000;
|
|
opacity: 0.8;
|
|
display: flex;
|
|
}
|
|
</style>
|
|
|
|
|
|
<script>
|
|
ifvisible.setIdleDuration(600);
|
|
</script>
|
|
|
|
<script>
|
|
var timeLeft = 60;
|
|
var elem = document.getElementById('seconds');
|
|
var timerId;
|
|
|
|
|
|
// ifvisible.on("focus", function(){
|
|
// clearTimeout(timerId);
|
|
// timeLeft = 30;
|
|
// });
|
|
|
|
// $('#sessionModal').modal('show');
|
|
|
|
ifvisible.on("idle", function() {
|
|
|
|
timerId = setInterval(countdown, 1000);
|
|
$('#sessionModal').modal('show', {
|
|
backdrop: 'static',
|
|
keyboard: false
|
|
});
|
|
});
|
|
|
|
|
|
ifvisible.on("wakeup", function() {
|
|
clearTimeout(timerId);
|
|
timeLeft = 30;
|
|
});
|
|
|
|
|
|
function countdown() {
|
|
if (timeLeft == -1) {
|
|
clearTimeout(timerId);
|
|
$('#logout-form').submit();
|
|
|
|
} else {
|
|
document.getElementById("seconds").innerHTML = timeLeft;
|
|
timeLeft--;
|
|
}
|
|
}
|
|
</script>
|
|
|
|
@include('modal.sessionmodal')
|
|
|
|
|
|
@if(Auth::user()->hasVerifiedEmail())
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
|
@csrf
|
|
</form>
|
|
@endif
|
|
|
|
<div class="portalloader">
|
|
<img src="{{ asset('argon/img/brand/bluespinner.gif') }}" alt="loader_photo">
|
|
</div>
|
|
|
|
<script>
|
|
$(function() {
|
|
// setTimeout(() => {
|
|
$(".portalloader").fadeOut(300);
|
|
// }, 300)
|
|
})
|
|
</script> |