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

403 lines
17 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>{{ env("APP_NAME")}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="内部信息化平台" name="description"/>
<meta content="{{csrf_token()}}" name="csrf-token"/>
<meta content="langye.net" name="author"/>
<!-- App favicon -->
<link rel="shortcut icon" href="/hyper/dist/saas/assets/images/favicon.ico">
<!-- third party css -->
<link href="/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css" rel="stylesheet" type="text/css"/>
<link href="/plugins/select2/css/select2.css" rel="stylesheet" type="text/css" media="all"/>
<link href="/plugins/webuploader/webuploader.css" rel="stylesheet" type="text/css"/>
<link href="/plugins/webuploader/webuploader.my.css" rel="stylesheet" type="text/css"/>
<link href="/plugins/sweetalert2/sweetalert2.min.css" rel="stylesheet" type="text/css"/>
<!-- third party css end -->
<!-- App css -->
<link href="/hyper/dist/saas/assets/css/icons.min.css" rel="stylesheet" type="text/css"/>
<link href="/hyper/dist/saas/assets/css/app.min.css" rel="stylesheet" type="text/css" id="light-style"/>
<link href="/hyper/dist/saas/assets/css/app-dark.min.css" rel="stylesheet" type="text/css" id="dark-style"/>
<link href="/css/common.css" rel="stylesheet" type="text/css"/>
@stack("header")
<style>
.card-body{
overflow: scroll;
}
.table td {
word-break: keep-all;
white-space: nowrap;
}
.table th {
word-break: keep-all;
white-space: nowrap;
}
</style>
</head>
<body class="loading"
data-layout-config='{"leftSideBarTheme":"default","layoutBoxed":false, "leftSidebarCondensed":false, "leftSidebarScrollable":false,"darkMode":false, "showRightSidebarOnStart": false}'>
<!-- Begin page -->
<!-- Pre-loader -->
<div id="preloader">
<div id="status">
<div class="bouncing-loader">
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
<!-- End Preloader-->
<div class="wrapper">
<!-- ========== Left Sidebar Start ========== -->
<div class="left-side-menu">
<!-- LOGO -->
<a href="/admin" class="logo text-center logo-light">
<span class="logo-lg">
{{-- <img src="/hyper/dist/saas/assets/images/logo-light.png" alt="" height="28">--}}
{{ env("APP_NAME") }}
</span>
<span class="logo-sm">
<img src="/hyper/dist/saas/assets/images/logo_sm_light.png" alt="" height="28">
</span>
</a>
<!-- LOGO -->
<a href="/admin" class="logo text-center logo-dark">
<span class="logo-lg">
<img src="/hyper/dist/saas/assets/images/logo-dark.png" alt="" height="28">
</span>
<span class="logo-sm">
<img src="/hyper/dist/saas/assets/images/logo_sm_dark.png" alt="" height="28">
</span>
</a>
<div class="h-100" id="left-side-menu-container" data-simplebar>
<!--- Sidemenu -->
<ul class="metismenu side-nav">
@include("admin.layouts.menu")
</ul>
<!-- End Sidebar -->
<div class="clearfix"></div>
</div>
<!-- Sidebar -left -->
</div>
<!-- Left Sidebar End -->
<!-- ============================================================== -->
<!-- Start Page Content here -->
<!-- ============================================================== -->
<div class="content-page">
<div class="content">
<!-- Topbar Start -->
<div class="navbar-custom">
<ul class="list-unstyled topbar-right-menu float-right mb-0">
<li class="notification-list">
<a class="nav-link right-bar-toggle" href="javascript: void(0);">
<i class="dripicons-gear noti-icon"></i>
</a>
</li>
<li class="dropdown notification-list d-none">
<a class="nav-link dropdown-toggle arrow-none" data-toggle="dropdown" href="#" role="button"
aria-haspopup="false" aria-expanded="false">
<i class="dripicons-bell noti-icon"></i>
<span class="noti-icon-badge"></span>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-animated dropdown-lg">
<!-- item-->
<div class="dropdown-item noti-title">
<h5 class="m-0">
<span class="float-right">
<a href="javascript: void(0);" class="text-dark">
<small>全部忽略</small>
</a>
</span>站内消息
</h5>
</div>
<div style="max-height: 230px;" data-simplebar>
<!-- item-->
<a href="javascript:void(0);" class="dropdown-item notify-item">
<div class="notify-icon bg-info">
<i class="mdi mdi-heart"></i>
</div>
<p class="notify-details">欢迎使用本系统
<b>管理员</b>
<small class="text-muted">30天以前</small>
</p>
</a>
</div>
<!-- All-->
<a href="javascript:void(0);"
class="dropdown-item text-center text-primary notify-item notify-all">
查看全部
</a>
</div>
</li>
<li class="dropdown notification-list">
<a class="nav-link dropdown-toggle nav-user arrow-none mr-0" data-toggle="dropdown" href="#"
role="button" aria-haspopup="false"
aria-expanded="false">
<span class="account-user-avatar">
<img src="/hyper/dist/saas/assets/images/users/avatar-6.jpg" alt="user-image"
class="rounded-circle">
</span>
<span>
<span
class="account-user-name">{{ \Illuminate\Support\Facades\Auth::guard(\App\Admin::GUARD_NAME)->user()->name }}</span>
<span
class="account-position">{{ \Illuminate\Support\Facades\Auth::guard(\App\Admin::GUARD_NAME)->user()->roles->first()->name }}</span>
</span>
</a>
<div
class="dropdown-menu dropdown-menu-right dropdown-menu-animated topbar-dropdown-menu profile-dropdown">
<!-- item-->
<div class=" dropdown-header noti-title">
<h6 class="text-overflow m-0">欢迎回来!</h6>
</div>
<!-- item-->
<a href="javascript:void(0);" class="dropdown-item notify-item">
<i class="mdi mdi-account-circle mr-1"></i>
<span>我的账号</span>
</a>
<!-- item-->
<a href="javascript:void(0);" class="dropdown-item notify-item">
<i class="mdi mdi-account-edit mr-1"></i>
<span>个人设置</span>
</a>
<!-- item-->
<a href="javascript:void(0);" class="dropdown-item notify-item">
<i class="mdi mdi-lifebuoy mr-1"></i>
<span>帮助支持</span>
</a>
<!-- item-->
<a href="javascript:void(0);" onclick="$('#logout-form').submit();"
class="dropdown-item notify-item">
<i class="mdi mdi-logout mr-1"></i>
<span>退出</span>
</a>
<form class="d-none" id="logout-form" action="{{ url('admin/logout') }}" method="POST">
@csrf
</form>
</div>
</li>
</ul>
<button class="button-menu-mobile open-left disable-btn">
<i class="mdi mdi-menu"></i>
</button>
<div class="app-search">
<form>
<div class="input-group">
<input type="text" class="form-control" placeholder="输入关键词"
style="border-radius: .25rem !important;">
<span class="mdi mdi-magnify"></span>
</div>
</form>
</div>
</div>
<!-- end Topbar -->
<!-- Start Content-->
<div class="container-fluid position-relative">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box">
<div class="page-title-right">
</div>
<h4 class="page-title">{{ isset($pageTitle) ? $pageTitle : "" }}</h4>
</div>
</div>
</div>
<!-- end page title -->
@yield("content")
</div>
<!-- container -->
</div>
<!-- content -->
<!-- Footer Start -->
<footer class="footer">
<div class="container-fluid position-relative">
<div class="row">
<div class="col-md-6">
{{ date("Y") }} &copy; {{ env("COPYRIGHT") }}
</div>
<div class="col-md-6">
<div class="text-md-right footer-links d-none d-md-block">
{{ isset($laravel_duration) ? $laravel_duration : "" }}
</div>
</div>
</div>
</div>
</footer>
<!-- end Footer -->
</div>
<!-- ============================================================== -->
<!-- End Page content -->
<!-- ============================================================== -->
</div>
<!-- END wrapper -->
<!-- Right Sidebar -->
<div class="right-bar">
<div class="rightbar-title">
<a href="javascript:void(0);" class="right-bar-toggle float-right">
<i class="dripicons-cross noti-icon"></i>
</a>
<h5 class="m-0">设置</h5>
</div>
<div class="rightbar-content h-100" data-simplebar>
<div class="p-3">
<!-- Settings -->
<h5 class="mt-3">颜色模式</h5>
<hr class="mt-1"/>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="color-scheme-mode" value="light"
id="light-mode-check" checked/>
<label class="custom-control-label" for="light-mode-check">白天模式</label>
</div>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="color-scheme-mode" value="dark"
id="dark-mode-check"/>
<label class="custom-control-label" for="dark-mode-check">夜晚模式</label>
</div>
<!-- Width -->
<h5 class="mt-4">宽度设置</h5>
<hr class="mt-1"/>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="width" value="fluid" id="fluid-check" checked/>
<label class="custom-control-label" for="fluid-check">全屏</label>
</div>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="width" value="boxed" id="boxed-check"/>
<label class="custom-control-label" for="boxed-check">固定宽度</label>
</div>
<!-- Left Sidebar-->
<h5 class="mt-4">左侧导航设置</h5>
<hr class="mt-1"/>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="theme" value="default" id="default-check"
checked/>
<label class="custom-control-label" for="default-check">主色调</label>
</div>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="theme" value="light" id="light-check"/>
<label class="custom-control-label" for="light-check">亮色</label>
</div>
<div class="custom-control custom-switch mb-3">
<input type="radio" class="custom-control-input" name="theme" value="dark" id="dark-check"/>
<label class="custom-control-label" for="dark-check">暗色</label>
</div>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="compact" value="condensed"
id="condensed-check"/>
<label class="custom-control-label" for="condensed-check">收起</label>
</div>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="compact" value="fixed" id="fixed-check"
checked/>
<label class="custom-control-label" for="fixed-check">展开并固定</label>
</div>
<div class="custom-control custom-switch mb-1">
<input type="radio" class="custom-control-input" name="compact" value="scrollable"
id="scrollable-check"/>
<label class="custom-control-label" for="scrollable-check">跟随页面滚动</label>
</div>
<button class="btn btn-primary btn-block mt-4" id="resetBtn">恢复默认</button>
</div> <!-- end padding-->
</div>
</div>
<div class="rightbar-overlay"></div>
<!-- /Right-bar -->
<!-- bundle -->
<script src="/hyper/dist/saas/assets/js/vendor.min.js"></script>
<script src="/hyper/dist/saas/assets/js/app.min.js"></script>
<!-- third party js -->
<script src="/plugins/jquery-validate/jquery.validate.min.js" type="text/javascript"></script>
<script src="/plugins/jquery-validate/additional-methods.js" type="text/javascript"></script>
<script src="/plugins/jquery-validate/localization/messages_zh.js" type="text/javascript"></script>
<script src="/plugins/moment/js/moment-with-locales.min.js"></script>
<script src="/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.js"></script>
<script src="/plugins/autofill/jquery.formautofill.min.js"></script>
<script src="/plugins/webuploader/webuploader.nolog.js"></script>
<script src="/plugins/bignumber/bignumber.js"></script>
<script src="/plugins/select2/js/select2.full.js" type="text/javascript"></script>
<script src="/plugins/select2/js/pinyin.js" type="text/javascript"></script>
<script src="/plugins/sweetalert2/sweetalert2.min.js"></script>
<!-- third party js ends -->
<!-- common js -->
<script src="/js/common.js"></script>
<script>
var page_title = "{{ isset($pageTitle) ? $pageTitle : "" }}";
$(function () {
setPageTitle();
});
function setPageTitle() {
if ($("h4.page-title").text() != "") {
return;
}
$(".left-side-menu a.active").each(function () {
if ($(this).siblings().length > 0) return;
page_title = $(this).text();
});
$("h4.page-title").text(page_title);
}
</script>
<!-- end common js-->
@stack("footer")
</body>
</html>