Import latest app updates from streamline

An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
This commit is contained in:
2024-04-11 11:16:51 -07:00
parent cb4c6b4c1a
commit 4a89356390
10435 changed files with 107737 additions and 1220538 deletions
@@ -46,7 +46,28 @@
}
</style>
<!--Start of Tawk.to Script-->
{{-- <script type="text/javascript">--}}
{{-- var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date(); --}}
{{-- (function(){--}}
{{-- var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0]; --}}
{{-- s1.async = true; --}}
{{-- s1.src = '{{ asset('enbedtalk / default.js') }}'; --}}
{{-- s1.charset = 'UTF-8'; --}}
{{-- s1.setAttribute('crossorigin', '*'); --}}
{{-- s0.parentNode.insertBefore(s1, s0); --}}
{{-- })(); --}}
{{--</script>--}}
<!--End of Tawk.to Script-->
@stack('styles')
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
@@ -64,11 +85,20 @@
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid" style="background: #708090;">
{{-- <div class="container-fluid">--}}
<!--row -->
@yield('content')
<!-- /.row -->
<!-- .right-sidebar -->
@include('layouts.options')
<!-- /.right-sidebar -->
</div>
<footer class="footer text-center"> {{ date('Y')}} &copy; Stre@mline {{ __('layout.powered_by') }} Kisiizi Hospital {{ __('layout.and') }} Innovation Streams Ltd - {{ __('layout.version_number') }} - </footer>
<!-- /.container-fluid -->
<footer class="footer text-center"> {{ date('Y')}} &copy; Stre@mline {{ __('layout.powered_by') }} Kisiizi Hospital {{ __('layout.and') }} Streamline Health Ltd - {{ __('layout.version_number') }} - </footer>
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="{{ asset('elite/bower_components/jquery/dist/jquery.min.js') }}"></script>
<!-- Bootstrap Core JavaScript -->
@@ -81,8 +111,6 @@
<script src="{{ asset('elite/js/jquery.slimscroll.js') }}"></script>
<!--Wave Effects -->
<script src="{{ asset('elite/js/waves.js') }}"></script>
<!-- Sparkline chart JavaScript -->
<!-- jQuery peity -->
<!-- Custom Theme JavaScript -->
<script src="{{ asset('elite/js/custom.min.js') }}"></script>
<!--Style Switcher -->
@@ -132,40 +160,6 @@
$(".logo span").hide();
}
});
// Start of Logout user after inactivity time exceeds session expiration time implementation
var sessionTimeoutId;
var session_expiration_time = "<?php echo session('session_expiration_time', 60) * 60000; ?>" || (60 * 60000); // defaults to 60 minutes in milliseconds
const handleLogout = () => {
// Call the logout API endpoint
$.ajax({
url: "<?php echo route('logout'); ?>",
method: 'POST',
success: function(response) {
// Redirect the user to the login page
window.location.href = "<?php echo route('login'); ?>";
window.location.reload();
}
});
}
$(document).ready(function() {
sessionTimeoutId = setTimeout(function() {
handleLogout();
}, session_expiration_time);
});
$(document).on('mousemove keypress', function() { // Track Activity
clearTimeout(sessionTimeoutId);
sessionTimeoutId = setTimeout(function() {
handleLogout();
}, session_expiration_time);
});
// End of Logout user after inactivity time exceeds session expiration time implementation
</script>
@stack('scripts')