305 lines
7.9 KiB
PHP
305 lines
7.9 KiB
PHP
<!doctype html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- CSRF Token -->
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<title>{{ config('app.name', 'Laravel') }}</title>
|
|
|
|
<!-- Scripts -->
|
|
<script src="{{ asset('js/app.js') }}" ></script>
|
|
<script src="{{ asset('js/jquery-confirm.min.js') }}" ></script>
|
|
<script src="{{ asset('js/dataTables.buttons.min.js') }}" ></script>
|
|
|
|
{{-- <script src="{{ asset('js/dataTables.select.min.js') }}" ></script> --}}
|
|
|
|
<!-- Fonts -->
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
|
|
|
<!-- Styles -->
|
|
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
|
<link href="{{ asset('css/jquery-confirm.min.css') }}" rel="stylesheet">
|
|
<link href="{{ asset('css/buttons.dataTables.min.css') }}" rel="stylesheet">
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$('#sidebarCollapse').on('click', function() {
|
|
$('#sidebar, #content').toggleClass('active');
|
|
// $('.collapse.in').toggleClass('in');
|
|
$('a[aria-expanded=true]').attr('aria-expanded', 'false');
|
|
});
|
|
});
|
|
|
|
function startTime() {
|
|
var today = new Date();
|
|
|
|
const weekday = new Array(7);
|
|
weekday[0] = "Ahad";
|
|
weekday[1] = "Isnin";
|
|
weekday[2] = "Selasa";
|
|
weekday[3] = "Rabu";
|
|
weekday[4] = "Khamis";
|
|
weekday[5] = "Jumaat";
|
|
weekday[6] = "Sabtu";
|
|
|
|
const month = new Array();
|
|
month[0] = "Januari";
|
|
month[1] = "Februari";
|
|
month[2] = "Mac";
|
|
month[3] = "April";
|
|
month[4] = "May";
|
|
month[5] = "Jun";
|
|
month[6] = "Julai";
|
|
month[7] = "Ogos";
|
|
month[8] = "September";
|
|
month[9] = "Oktober";
|
|
month[10] = "November";
|
|
month[11] = "Disember";
|
|
|
|
let day = weekday[today.getDay()];
|
|
let monthname = month[today.getMonth()];
|
|
var d = today.getDate();
|
|
var mon = today.getMonth()+1;
|
|
var y = today.getFullYear();
|
|
var h = today.getHours();
|
|
var m = today.getMinutes();
|
|
var s = today.getSeconds();
|
|
// var ampm = hours >= 12 ? 'pm' : 'am';
|
|
m = checkTime(m);
|
|
s = checkTime(s);
|
|
document.getElementById('displaytime').innerHTML =
|
|
day+", "+d +" "+ monthname +" "+ y + ", " +h + ":" + m + ":" + s;
|
|
var t = setTimeout(startTime, 500);
|
|
}
|
|
function checkTime(i) {
|
|
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
|
|
return i;
|
|
}
|
|
|
|
</script>
|
|
<style>
|
|
a,
|
|
a:hover,
|
|
a:focus {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.navbar {
|
|
padding: 15px 10px;
|
|
background: #fff;
|
|
border: none;
|
|
border-radius: 0;
|
|
margin-bottom: 40px;
|
|
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.navbar-btn {
|
|
box-shadow: none;
|
|
outline: none !important;
|
|
border: none;
|
|
}
|
|
|
|
.line {
|
|
width: 100%;
|
|
height: 1px;
|
|
border-bottom: 1px dashed #ddd;
|
|
margin: 40px 0;
|
|
}
|
|
/* ---------------------------------------------------
|
|
SIDEBAR STYLE
|
|
----------------------------------------------------- */
|
|
|
|
.wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
#sidebar {
|
|
width: 250px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
z-index: 999;
|
|
background: #fff;
|
|
color: rgb(41, 39, 39);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
#sidebar.active {
|
|
margin-left: -250px;
|
|
}
|
|
|
|
#sidebar .sidebar-header {
|
|
padding: 20px;
|
|
background: #fff;
|
|
}
|
|
|
|
#sidebar ul.components {
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid #fff;
|
|
}
|
|
|
|
#sidebar ul p {
|
|
color: rgb(41, 39, 39);
|
|
padding: 10px;
|
|
}
|
|
|
|
#sidebar ul li a {
|
|
padding: 8px;
|
|
font-size: 1.1em;
|
|
display: block;
|
|
border: 1px solid;
|
|
border-color: #F0F0F0;
|
|
}
|
|
|
|
#sidebar ul li a:hover {
|
|
color: #111;
|
|
background: #F0F0F0;
|
|
}
|
|
|
|
#sidebar ul li.active>a,
|
|
a[aria-expanded="true"] {
|
|
color: #111;
|
|
background: #F0F0F0;
|
|
}
|
|
|
|
a[data-toggle="collapse"] {
|
|
position: relative;
|
|
}
|
|
|
|
/* .dropdown-toggle::after {
|
|
display: block;
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 20px;
|
|
transform: translateY(-50%);
|
|
} */
|
|
|
|
ul ul a {
|
|
font-size: 0.9em !important;
|
|
padding-left: 30px !important;
|
|
background: #fff;
|
|
}
|
|
|
|
ul.CTAs {
|
|
padding: 20px;
|
|
}
|
|
|
|
ul.CTAs a {
|
|
text-align: center;
|
|
font-size: 0.9em !important;
|
|
display: block;
|
|
border-radius: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
a.download {
|
|
background: #fff;
|
|
color: #7386D5;
|
|
}
|
|
|
|
a.article,
|
|
a.article:hover {
|
|
background: #6d7fcc !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
/* ---------------------------------------------------
|
|
CONTENT STYLE
|
|
----------------------------------------------------- */
|
|
|
|
#content {
|
|
width: calc(100% - 250px);
|
|
padding: 3x;
|
|
min-height: 100vh;
|
|
transition: all 0.3s;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
#content.active {
|
|
width: 100%;
|
|
}
|
|
|
|
.hovernone:hover {
|
|
background-color: #3490dc !important;
|
|
cursor: context-menu !important;
|
|
}
|
|
|
|
.hovernone-success:hover {
|
|
background-color: #38c172 !important;
|
|
cursor: context-menu !important;
|
|
}
|
|
|
|
.hovernone-danger:hover {
|
|
background-color: #e3342f !important;
|
|
cursor: context-menu !important;
|
|
}
|
|
|
|
#loader {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
background: rgba(0,0,0,0.4) url("/your_loading_image.gif") no-repeat center center;
|
|
z-index: 99999;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
MEDIAQUERIES
|
|
----------------------------------------------------- */
|
|
|
|
@media (max-width: 768px) {
|
|
#sidebar {
|
|
margin-left: -250px;
|
|
}
|
|
#sidebar.active {
|
|
margin-left: 0;
|
|
}
|
|
#content {
|
|
width: 100%;
|
|
}
|
|
#content.active {
|
|
width: calc(100% - 250px);
|
|
}
|
|
#sidebarCollapse span {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body onload="startTime()">
|
|
<div class="wrapper">
|
|
<!-- Sidebar -->
|
|
@include('includes.sidebar')
|
|
<!-- Page Content -->
|
|
</div>
|
|
<div id="content" style="">
|
|
@include('includes.header')
|
|
<main class="py-1">
|
|
@yield('content')
|
|
</main>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|