2016-07-22 19:36:24 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2018-07-06 14:49:39 +08:00
|
|
|
<title>@yield('title') - {{ option_localized('site_name') }}</title>
|
2016-12-31 13:36:46 +08:00
|
|
|
{!! bs_favicon() !!}
|
2016-07-22 19:36:24 +08:00
|
|
|
<!-- Tell the browser to be responsive to screen width -->
|
2018-08-20 23:09:26 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
2016-07-22 19:36:24 +08:00
|
|
|
<!-- App Styles -->
|
2018-08-22 10:26:05 +08:00
|
|
|
@include('common.dependencies.style')
|
2016-07-22 19:36:24 +08:00
|
|
|
|
|
|
|
@yield('style')
|
|
|
|
</head>
|
|
|
|
|
2018-07-20 14:42:43 +08:00
|
|
|
@php
|
|
|
|
$user = auth()->user();
|
|
|
|
@endphp
|
2016-07-22 19:36:24 +08:00
|
|
|
|
2016-09-15 23:03:58 +08:00
|
|
|
<body class="hold-transition {{ option('color_scheme') }} sidebar-mini">
|
2016-07-22 19:36:24 +08:00
|
|
|
<div class="wrapper">
|
|
|
|
|
|
|
|
<!-- Main Header -->
|
|
|
|
<header class="main-header">
|
|
|
|
|
|
|
|
<!-- Logo -->
|
2016-09-15 23:03:58 +08:00
|
|
|
<a href="{{ option('site_url') }}" class="logo">
|
2016-07-22 19:36:24 +08:00
|
|
|
<!-- mini logo for sidebar mini 50x50 pixels -->
|
2018-08-08 12:30:50 +08:00
|
|
|
<span class="logo-mini"> <i class="fas fa-bookmark"></i> </span>
|
2016-07-22 19:36:24 +08:00
|
|
|
<!-- logo for regular state and mobile devices -->
|
2018-07-06 14:49:39 +08:00
|
|
|
<span class="logo-lg">{{ option_localized('site_name') }}</span>
|
2016-07-22 19:36:24 +08:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<!-- Header Navbar -->
|
|
|
|
<nav class="navbar navbar-static-top" role="navigation">
|
|
|
|
<!-- Sidebar toggle button-->
|
2018-02-23 11:30:36 +08:00
|
|
|
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
2018-08-08 12:30:50 +08:00
|
|
|
<i class="fas fa-bars"></i>
|
2016-07-22 19:36:24 +08:00
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
</a>
|
|
|
|
<!-- Navbar Right Menu -->
|
|
|
|
<div class="navbar-custom-menu">
|
|
|
|
<ul class="nav navbar-nav">
|
2017-07-03 20:54:19 +08:00
|
|
|
@include('common.language')
|
2016-09-26 22:13:39 +08:00
|
|
|
|
2017-07-03 20:54:19 +08:00
|
|
|
@include('common.user-menu')
|
2016-07-22 19:36:24 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<!-- Left side column. contains the logo and sidebar -->
|
|
|
|
<aside class="main-sidebar">
|
|
|
|
|
|
|
|
<!-- sidebar: style can be found in sidebar.less -->
|
|
|
|
<section class="sidebar">
|
|
|
|
|
|
|
|
<!-- Sidebar user panel (optional) -->
|
|
|
|
<div class="user-panel">
|
|
|
|
<div class="pull-left image">
|
2016-09-05 22:18:34 +08:00
|
|
|
<img src="{{ avatar($user, 45) }}" alt="User Image">
|
2016-07-22 19:36:24 +08:00
|
|
|
</div>
|
|
|
|
<div class="pull-left info">
|
2016-09-15 23:03:58 +08:00
|
|
|
<p class="nickname">{{ bs_nickname($user) }}</p>
|
2018-08-08 12:30:50 +08:00
|
|
|
<i class="fas fa-circle text-success"></i> {{ bs_role($user) }}
|
2016-07-22 19:36:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Sidebar Menu -->
|
2018-02-23 16:51:50 +08:00
|
|
|
<ul class="sidebar-menu tree" data-widget="tree">
|
2018-07-17 11:06:55 +08:00
|
|
|
<li class="header">@lang('general.admin-panel')</li>
|
2016-09-30 17:00:41 +08:00
|
|
|
{!! bs_menu('admin') !!}
|
2016-09-15 23:03:58 +08:00
|
|
|
|
2018-07-17 11:06:55 +08:00
|
|
|
<li class="header">@lang('general.back')</li>
|
2018-08-08 12:30:50 +08:00
|
|
|
<li><a href="{{ url('user') }}"><i class="fas fa-user"></i> <span>@lang('general.user-center')</span></a></li>
|
2016-07-22 19:36:24 +08:00
|
|
|
</ul><!-- /.sidebar-menu -->
|
|
|
|
</section>
|
|
|
|
<!-- /.sidebar -->
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
@yield('content')
|
|
|
|
|
|
|
|
<!-- Main Footer -->
|
|
|
|
<footer class="main-footer">
|
2016-11-06 11:58:08 +08:00
|
|
|
<!-- YOU CAN NOT MODIFIY THE COPYRIGHT TEXT W/O PERMISSION -->
|
2017-01-21 12:59:35 +08:00
|
|
|
<div id="copyright-text" class="pull-right hidden-xs">
|
2016-12-27 23:05:09 +08:00
|
|
|
{!! bs_copyright() !!}
|
2016-07-22 19:36:24 +08:00
|
|
|
</div>
|
|
|
|
<!-- Default to the left -->
|
2016-12-27 23:05:09 +08:00
|
|
|
{!! bs_custom_copyright() !!}
|
2016-07-22 19:36:24 +08:00
|
|
|
</footer>
|
|
|
|
|
|
|
|
</div><!-- ./wrapper -->
|
|
|
|
|
|
|
|
<!-- App Scripts -->
|
2018-08-16 16:38:21 +08:00
|
|
|
@include('common.dependencies.script')
|
2016-07-22 19:36:24 +08:00
|
|
|
|
2018-08-15 18:46:57 +08:00
|
|
|
<script>
|
|
|
|
$(document).ready(() => {
|
|
|
|
checkForUpdates();
|
|
|
|
checkForPluginUpdates();
|
|
|
|
});
|
|
|
|
</script>
|
2016-08-09 13:18:27 +08:00
|
|
|
|
2017-08-05 16:09:32 +08:00
|
|
|
@if (option('allow_sending_statistics'))
|
2017-08-07 10:16:25 +08:00
|
|
|
<script>sendFeedback();</script>
|
2017-01-14 23:33:01 +08:00
|
|
|
@endif
|
|
|
|
|
2016-07-22 19:36:24 +08:00
|
|
|
@yield('script')
|
|
|
|
</body>
|
|
|
|
</html>
|