You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
4.2 KiB
PHTML

6 years ago
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta http-equiv="Content-Language" content="en" />
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#4188c9">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<link rel="icon" href="{{ asset('favicon.ico')}} " type="image/x-icon" />
6 years ago
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico')}}" />
<!-- Generated: 2018-04-16 09:29:05 +0200 -->
<title>@yield('site-name') | @yield('page-name')</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&amp;subset=latin-ext">
<script src="{{ asset('assets/js/require.min.js')}}"></script>
<script>
requirejs.config({
baseUrl: '{{ route('web.index') }}'
});
</script>
<!-- Dashboard Core -->
<link href="{{ asset('css/dashboard.css') }}" rel="stylesheet" />
<script src="{{ asset('assets/js/dashboard.js')}}"></script>
<!-- c3.js Charts Plugin -->
<link href="{{ asset('assets/plugins/charts-c3/plugin.css')}}" rel="stylesheet" />
<script src="{{ asset('assets/plugins/charts-c3/plugin.js')}}"></script>
6 years ago
<!-- datepicker -->
<link href="{{ asset('assets/plugins/datepicker/datepicker.css')}}" rel="stylesheet" />
<!-- requirejs and Custom CSS -->
@yield('css')
</head>
<body class="">
<div class="page">
6 years ago
<div class="flex-fill">
<div class="header py-4">
<div class="container">
<div class="d-flex">
<a class="header-brand" href="#!">
<img src="{{ asset('tabler.svg')}}" class="header-brand-img" alt="tabler logo">
</a>
<div class="d-flex order-lg-2 ml-auto">
<div class="dropdown">
<a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
<span class="avatar"
style="background-image: url({{ asset("favicon.ico")}})"></span>
<span class="ml-2 d-none d-lg-block">
<span class="text-default">{{ Auth::user()->name }}</span>
<small class="text-muted d-block mt-1">{{ Auth::user()->role }}</small>
</span>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
<a class="dropdown-item" href="#">
6 years ago
<i class="dropdown-icon fe fe-user"></i> Profil
</a>
<a class="dropdown-item" href="#">
6 years ago
<i class="dropdown-icon fe fe-settings"></i> Pengaturan
</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
@csrf
</form>
<a class="dropdown-item" href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
6 years ago
<i class="dropdown-icon fe fe-log-out"></i> Keluar
</a>
</div>
</div>
</div>
<a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse"
data-target="#headerMenuCollapse">
<span class="header-toggler-icon"></span>
</a>
</div>
</div>
</div>
6 years ago
<!-- start navbar -->
@include('shared.navbar')
<div class="my-3 my-md-5">
<div class="container">
@yield('content')
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row align-items-center flex-row-reverse">
<div class="col-12 col-lg-auto mt-3 mt-lg-0 text-center">
Copyright © 2018 <a href=".">Tabler</a>. Theme by <a href="https://codecalm.net"
target="_blank">codecalm.net</a> Used and Modified By <a href="http://ajikamaludin.id" target="_blank">Aji Kamaludin</a> All rights reserved.
</div>
</div>
</div>
</footer>
</div>
6 years ago
<!-- Custom JS -->
@yield('js')
</body>
</html>