layouts.blade.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. <!DOCTYPE html>
  2. <!--[if IE 8]>
  3. <html lang="{{app()->getLocale()}}" class="ie8 no-js css-menubar"> <![endif]-->
  4. <!--[if IE 9]>
  5. <html lang="{{app()->getLocale()}}" class="ie9 no-js css-menubar"> <![endif]-->
  6. <!--[if !IE]><!-->
  7. <html lang="{{app()->getLocale()}}">
  8. <!--<![endif]-->
  9. <head>
  10. <meta charset="utf-8">
  11. <title>{{\App\Components\Helpers::systemConfig()['website_name']}}</title>
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <meta name="description" content="">
  15. <meta name="keywords" content="">
  16. <meta name="author" content="兔姬菌">
  17. <meta name="copyright" content="2017-2020©兔姬菌">
  18. <link href="{{asset('favicon.ico')}}" rel="shortcut icon apple-touch-icon">
  19. <!-- 样式表/Stylesheets -->
  20. <link href="/assets/global/css/bootstrap.min.css" type="text/css" rel="stylesheet">
  21. <link href="/assets/global/css/bootstrap-extend.min.css" type="text/css" rel="stylesheet">
  22. <link href="/assets/css/site.min.css" type="text/css" rel="stylesheet">
  23. <!-- 插件/Plugins -->
  24. <link href="/assets/global/vendor/animsition/animsition.min.css" type="text/css" rel="stylesheet">
  25. <link href="/assets/global/vendor/asscrollable/asScrollable.min.css" type="text/css" rel="stylesheet">
  26. <link href="/assets/global/vendor/slidepanel/slidePanel.min.css" type="text/css" rel="stylesheet">
  27. <link href="/assets/global/vendor/flag-icon-css/flag-icon.min.css" type="text/css" rel="stylesheet">
  28. @yield('css')
  29. <link href="/assets/custom/Plugin/sweetalert2/sweetalert2.min.css" type="text/css" rel="stylesheet">
  30. <!-- 字体/Fonts -->
  31. <link href="/assets/global/fonts/web-icons/web-icons.min.css" type="text/css" rel="stylesheet">
  32. <link href="//fonts.loli.net/css?family=Roboto:300,400,500,300italic" type="text/css" rel="stylesheet">
  33. <!--[if lt IE 9]>
  34. <script src="/assets/global/vendor/html5shiv/html5shiv.min.js" type="text/javascript"></script>
  35. <![endif]-->
  36. <!--[if lt IE 10]>
  37. <script src="/assets/global/vendor/media-match/media.match.min.js" type="text/javascript"></script>
  38. <script src="/assets/global/vendor/respond/respond.min.js" type="text/javascript"></script>
  39. <![endif]-->
  40. <!-- Scripts -->
  41. <script src="/assets/global/vendor/breakpoints/breakpoints.min.js" type="text/javascript"></script>
  42. <script type="text/javascript">
  43. Breakpoints();
  44. </script>
  45. </head>
  46. <body class="animsition dashboard">
  47. <nav class="site-navbar navbar navbar-default navbar-fixed-top navbar-mega navbar-inverse bg-indigo-600" role="navigation">
  48. <div class="navbar-header">
  49. <button type="button" class="navbar-toggler hamburger hamburger-close navbar-toggler-left hided" data-toggle="menubar">
  50. <span class="sr-only">Toggle navigation</span>
  51. <span class="hamburger-bar"></span>
  52. </button>
  53. <button type="button" class="navbar-toggler collapsed" data-target="#site-navbar-collapse" data-toggle="collapse">
  54. <i class="icon wb-more-horizontal" aria-hidden="true"></i>
  55. </button>
  56. <div class="navbar-brand navbar-brand-center">
  57. <img src="{{\App\Components\Helpers::systemConfig()['website_logo']? :'/assets/images/logo64.png'}}" class="navbar-brand-logo" alt="logo"/>
  58. <span class="navbar-brand-text hidden-xs-down"> {{\App\Components\Helpers::systemConfig()['website_name']}}</span>
  59. </div>
  60. </div>
  61. <div class="navbar-container container-fluid">
  62. <div class="collapse navbar-collapse navbar-collapse-toolbar" id="site-navbar-collapse">
  63. <ul class="nav navbar-toolbar">
  64. <li class="nav-item hidden-float" id="toggleMenubar">
  65. <a class="nav-link" data-toggle="menubar" href="#" role="button">
  66. <i class="icon hamburger hamburger-arrow-left">
  67. <span class="sr-only">菜单</span>
  68. <span class="hamburger-bar"></span>
  69. </i>
  70. </a>
  71. </li>
  72. <li class="nav-item hidden-sm-down">
  73. <a class="nav-link icon icon-fullscreen" data-toggle="fullscreen" href="#" role="button">
  74. <span class="sr-only">全屏</span>
  75. </a>
  76. </li>
  77. </ul>
  78. <ul class="nav navbar-toolbar navbar-right navbar-toolbar-right">
  79. <li class="nav-item dropdown">
  80. <a class="nav-link navbar-avatar" data-toggle="dropdown" href="#" aria-expanded="false" data-animation="scale-up" role="button">
  81. <span class="avatar avatar-online">
  82. <img src="/assets/images/astronaut.svg" alt="..."/>
  83. <i></i>
  84. </span>
  85. </a>
  86. <div class="dropdown-menu" role="menu">
  87. <a class="dropdown-item" href="/" role="menuitem">
  88. <i class="icon wb-settings" aria-hidden="true"></i>
  89. 个人中心
  90. </a>
  91. <a class="dropdown-item" href="/admin/profile" role="menuitem">
  92. <i class="icon wb-user" aria-hidden="true"></i>
  93. {{trans('home.profile')}}
  94. </a>
  95. <div class="dropdown-divider" role="presentation"></div>
  96. <a class="dropdown-item" href="/logout" role="menuitem">
  97. <i class="icon wb-power" aria-hidden="true"></i>
  98. {{trans('home.logout')}}
  99. </a>
  100. </div>
  101. </li>
  102. </ul>
  103. </div>
  104. </div>
  105. </nav>
  106. <div class="site-menubar site-menubar-light">
  107. <div class="site-menubar-body">
  108. <ul class="site-menu" data-plugin="menu">
  109. <li class="site-menu-item {{in_array(Request::path(), ['admin']) ? 'active open' : ''}}">
  110. <a href="/admin">
  111. <i class="site-menu-icon wb-dashboard" aria-hidden="true"></i>
  112. <span class="site-menu-title">管理中心</span>
  113. </a>
  114. </li>
  115. <li class="site-menu-item has-sub {{in_array(Request::path(), ['admin/userList', 'admin/addUser', 'admin/editUser', 'admin/export', 'admin/userMonitor', 'subscribe/subscribeList', 'subscribe/deviceList', 'admin/userBanLogList', 'admin/userOnlineIPList', 'admin/onlineIPMonitor', 'admin/userBalanceLogList', 'admin/userTrafficLogList']) ? 'active open' : ''}}">
  116. <a href="javascript:void(0)">
  117. <i class="site-menu-icon wb-user" aria-hidden="true"></i>
  118. <span class="site-menu-title">用户系统</span>
  119. </a>
  120. <ul class="site-menu-sub">
  121. <li class="site-menu-item {{in_array(Request::path(), ['admin/userList', 'admin/addUser', 'admin/editUser', 'admin/export', 'admin/userMonitor']) ? 'active open' : ''}}">
  122. <a href="/admin/userList" class="animsition-link">
  123. <span class="site-menu-title">用户管理</span>
  124. </a>
  125. </li>
  126. <li class="site-menu-item {{in_array(Request::path(), ['subscribe/subscribeList']) ? 'active open' : ''}}">
  127. <a href="/subscribe/subscribeList" class="animsition-link">
  128. <span class="site-menu-title">订阅管理</span>
  129. </a>
  130. </li>
  131. <li class="site-menu-item {{in_array(Request::path(), ['subscribe/deviceList']) ? 'active open' : ''}}">
  132. <a href="/subscribe/deviceList" class="animsition-link">
  133. <span class="site-menu-title">订阅设备</span>
  134. </a>
  135. </li>
  136. <li class="site-menu-item {{in_array(Request::path(), ['admin/userBanLogList']) ? 'active open' : ''}}">
  137. <a href="/admin/userBanLogList" class="animsition-link">
  138. <span class="site-menu-title">封禁记录</span>
  139. </a>
  140. </li>
  141. <li class="site-menu-item {{in_array(Request::path(), ['admin/userOnlineIPList']) ? 'active open' : ''}}">
  142. <a href="/admin/userOnlineIPList" class="animsition-link">
  143. <span class="site-menu-title">在线记录</span>
  144. </a>
  145. </li>
  146. <li class="site-menu-item {{in_array(Request::path(), ['admin/onlineIPMonitor']) ? 'active open' : ''}}">
  147. <a href="/admin/onlineIPMonitor" class="animsition-link">
  148. <span class="site-menu-title">在线监控</span>
  149. </a>
  150. </li>
  151. <li class="site-menu-item {{in_array(Request::path(), ['admin/userBalanceLogList']) ? 'active open' : ''}}">
  152. <a href="/admin/userBalanceLogList" class="animsition-link">
  153. <span class="site-menu-title">余额变动</span>
  154. </a>
  155. </li>
  156. <li class="site-menu-item {{in_array(Request::path(), ['admin/userTrafficLogList']) ? 'active open' : ''}}">
  157. <a href="/admin/userTrafficLogList" class="animsition-link">
  158. <span class="site-menu-title">流量变动</span>
  159. </a>
  160. </li>
  161. </ul>
  162. </li>
  163. <li class="site-menu-item has-sub {{in_array(Request::path(), ['ticket/ticketList', 'ticket/replyTicket', 'admin/articleList', 'admin/addArticle', 'admin/editArticle', 'marketing/pushList', 'marketing/emailList']) ? 'active open' : ''}}">
  164. <a href="javascript:void(0)">
  165. <i class="site-menu-icon wb-chat-working" aria-hidden="true"></i>
  166. <span class="site-menu-title">客服系统</span>
  167. </a>
  168. <ul class="site-menu-sub">
  169. <li class="site-menu-item {{in_array(Request::path(), ['ticket/ticketList', 'ticket/replyTicket']) ? 'active open' : ''}}">
  170. <a href="/ticket/ticketList" class="animsition-link">
  171. <span class="site-menu-title">服务工单</span>
  172. </a>
  173. </li>
  174. <li class="site-menu-item {{in_array(Request::path(), ['admin/articleList', 'admin/addArticle', 'admin/editArticle']) ? 'active open' : ''}}">
  175. <a href="/admin/articleList" class="animsition-link">
  176. <span class="site-menu-title">文章管理</span>
  177. </a>
  178. </li>
  179. <li class="site-menu-item {{in_array(Request::path(), ['marketing/pushList']) ? 'active open' : ''}}">
  180. <a href="/marketing/pushList" class="animsition-link">
  181. <span class="site-menu-title">消息推送</span>
  182. </a>
  183. </li>
  184. <li class="site-menu-item {{in_array(Request::path(), ['marketing/emailList']) ? 'active open' : ''}}">
  185. <a href="/marketing/emailList" class="animsition-link">
  186. <span class="site-menu-title">邮件群发</span>
  187. </a>
  188. </li>
  189. </ul>
  190. </li>
  191. <li class="site-menu-item has-sub {{in_array(Request::path(), ['admin/nodeList', 'admin/addNode', 'admin/editNode', 'admin/nodeMonitor', 'admin/labelList', 'admin/addLabel', 'admin/editLabel', 'admin/groupList', 'admin/addGroup', 'admin/editGroup']) ? 'active open' : ''}}">
  192. <a href="javascript:void(0)">
  193. <i class="site-menu-icon wb-grid-4" aria-hidden="true"></i>
  194. <span class="site-menu-title">线路系统</span>
  195. </a>
  196. <ul class="site-menu-sub">
  197. <li class="site-menu-item {{in_array(Request::path(), ['admin/nodeList', 'admin/addNode', 'admin/editNode', 'admin/nodeMonitor']) ? 'active open' : ''}}">
  198. <a href="/admin/nodeList" class="animsition-link">
  199. <span class="site-menu-title">线路管理</span>
  200. </a>
  201. </li>
  202. <li class="site-menu-item {{in_array(Request::path(), ['admin/labelList', 'admin/addLabel', 'admin/editLabel']) ? 'active open' : ''}}">
  203. <a href="/admin/labelList">
  204. <span class="site-menu-title">标签管理</span>
  205. </a>
  206. </li>
  207. <li class="site-menu-item {{in_array(Request::path(), ['admin/groupList', 'admin/addGroup', 'admin/editGroup']) ? 'active open' : ''}}">
  208. <a href="/admin/groupList" class="animsition-link">
  209. <span class="site-menu-title">分组管理</span>
  210. </a>
  211. </li>
  212. </ul>
  213. </li>
  214. <li class="site-menu-item has-sub {{in_array(Request::path(), ['shop/goodsList', 'shop/addGoods', 'shop/editGoods', 'coupon/couponList', 'coupon/addCoupon']) ? 'active open' : ''}}">
  215. <a href="javascript:void(0)">
  216. <i class="site-menu-icon wb-shopping-cart" aria-hidden="true"></i>
  217. <span class="site-menu-title">商品系统</span>
  218. </a>
  219. <ul class="site-menu-sub">
  220. <li class="site-menu-item {{in_array(Request::path(), ['shop/goodsList', 'shop/addGoods', 'shop/editGoods']) ? 'active open' : ''}}">
  221. <a href="/shop/goodsList" class="animsition-link">
  222. <span class="site-menu-title">商品管理</span>
  223. </a>
  224. </li>
  225. <li class="site-menu-item {{in_array(Request::path(), ['coupon/couponList', 'coupon/addCoupon']) ? 'active open' : ''}}">
  226. <a href="/coupon/couponList" class="animsition-link">
  227. <span class="site-menu-title">卡券管理</span>
  228. </a>
  229. </li>
  230. </ul>
  231. </li>
  232. <li class="site-menu-item has-sub {{in_array(Request::path(), ['admin/inviteList', 'admin/applyList', 'admin/applyDetail', 'admin/userRebateList']) ? 'active open' : ''}}">
  233. <a href="javascript:void(0)">
  234. <i class="site-menu-icon wb-thumb-up" aria-hidden="true"></i>
  235. <span class="site-menu-title">推广系统</span>
  236. </a>
  237. <ul class="site-menu-sub">
  238. <li class="site-menu-item {{in_array(Request::path(), ['admin/inviteList']) ? 'active open' : ''}}">
  239. <a href="/admin/inviteList" class="animsition-link">
  240. <span class="site-menu-title">邀请管理</span>
  241. </a>
  242. </li>
  243. <li class="site-menu-item {{in_array(Request::path(), ['admin/applyList', 'admin/applyDetail']) ? 'active open' : ''}}">
  244. <a href="/admin/applyList" class="animsition-link">
  245. <span class="site-menu-title">提现管理</span>
  246. </a>
  247. </li>
  248. <li class="site-menu-item {{in_array(Request::path(), ['admin/userRebateList']) ? 'active open' : ''}}">
  249. <a href="/admin/userRebateList" class="animsition-link">
  250. <span class="site-menu-title">返利流水</span>
  251. </a>
  252. </li>
  253. </ul>
  254. </li>
  255. <li class="site-menu-item has-sub {{in_array(Request::path(), ['admin/orderList', 'admin/trafficLog', 'admin/emailLog', 'payment/callbackList', 'logs']) ? 'active open' : ''}}">
  256. <a href="javascript:void(0)">
  257. <i class="site-menu-icon wb-calendar" aria-hidden="true"></i>
  258. <span class="site-menu-title">日志系统</span>
  259. </a>
  260. <ul class="site-menu-sub">
  261. <li class="site-menu-item {{in_array(Request::path(), ['admin/orderList']) ? 'active open' : ''}}">
  262. <a href="/admin/orderList" class="animsition-link">
  263. <span class="site-menu-title">商品订单</span>
  264. </a>
  265. </li>
  266. <li class="site-menu-item {{in_array(Request::path(), ['admin/trafficLog']) ? 'active open' : ''}}">
  267. <a href="/admin/trafficLog" class="animsition-link">
  268. <span class="site-menu-title">流量使用</span>
  269. </a>
  270. </li>
  271. <li class="site-menu-item {{in_array(Request::path(), ['admin/emailLog']) ? 'active open' : ''}}">
  272. <a href="/admin/emailLog" class="animsition-link">
  273. <span class="site-menu-title">邮件投递</span>
  274. </a>
  275. </li>
  276. <li class="site-menu-item {{in_array(Request::path(), ['payment/callbackList']) ? 'active open' : ''}}">
  277. <a href="/payment/callbackList" class="animsition-link">
  278. <span class="site-menu-title">支付回调</span>
  279. </a>
  280. </li>
  281. <li class="site-menu-item {{in_array(Request::path(), ['logs']) ? 'active open' : ''}}">
  282. <a href="/logs" class="animsition-link">
  283. <span class="site-menu-title">系统运行</span>
  284. </a>
  285. </li>
  286. </ul>
  287. </li>
  288. <li class="site-menu-item has-sub {{in_array(Request::path(), ['admin/decompile', 'admin/convert', 'admin/import', 'admin/analysis', 'sensitiveWords/list', 'sensitiveWords/add']) ? 'active open' : ''}}">
  289. <a href="javascript:void(0)">
  290. <i class="site-menu-icon wb-briefcase" aria-hidden="true"></i>
  291. <span class="site-menu-title">工具箱</span>
  292. </a>
  293. <ul class="site-menu-sub">
  294. <li class="site-menu-item {{in_array(Request::path(), ['admin/decompile']) ? 'active open' : ''}}">
  295. <a href="/admin/decompile" class="animsition-link">
  296. <span class="site-menu-title">反解析</span>
  297. </a>
  298. </li>
  299. <li class="site-menu-item {{in_array(Request::path(), ['admin/convert']) ? 'active open' : ''}}">
  300. <a href="/admin/convert" class="animsition-link">
  301. <span class="site-menu-title">格式转换</span>
  302. </a>
  303. </li>
  304. <li class="site-menu-item {{in_array(Request::path(), ['admin/import']) ? 'active open' : ''}}">
  305. <a href="/admin/import" class="animsition-link">
  306. <span class="site-menu-title">数据导入</span>
  307. </a>
  308. </li>
  309. <li class="site-menu-item {{in_array(Request::path(), ['admin/analysis']) ? 'active open' : ''}}">
  310. <a href="/admin/analysis" class="animsition-link">
  311. <span class="site-menu-title">日志分析</span>
  312. </a>
  313. </li>
  314. <li class="site-menu-item {{in_array(Request::path(), ['sensitiveWords/list', 'sensitiveWords/add']) ? 'active open' : ''}}">
  315. <a href="/sensitiveWords/list" class="animsition-link">
  316. <span class="site-menu-title">敏感词管理</span>
  317. </a>
  318. </li>
  319. </ul>
  320. </li>
  321. <li class="site-menu-item has-sub {{in_array(Request::path(), ['admin/config', 'admin/system']) ? 'active open' : ''}}">
  322. <a href="javascript:void(0)">
  323. <i class="site-menu-icon wb-settings" aria-hidden="true"></i>
  324. <span class="site-menu-title">设置</span>
  325. </a>
  326. <ul class="site-menu-sub">
  327. <li class="site-menu-item {{in_array(Request::path(), ['admin/config']) ? 'active open' : ''}}">
  328. <a href="/admin/config" class="animsition-link">
  329. <span class="site-menu-title">通用配置</span>
  330. </a>
  331. </li>
  332. <li class="site-menu-item {{in_array(Request::path(), ['admin/system']) ? 'active open' : ''}}">
  333. <a href="/admin/system" class="animsition-link">
  334. <span class="site-menu-title">系统设置</span>
  335. </a>
  336. </li>
  337. </ul>
  338. </li>
  339. </ul>
  340. </div>
  341. </div>
  342. <div class="page">
  343. <!--[if lt IE 8]> <p class="browserupgrade">您正在使用 <strong>过时/老旧</strong> 的浏览器。 为了您的使用体验,请
  344. <a href="http://browsehappy.com/">升级您的浏览器</a> </br>You are using an <strong>outdated</strong> browser. Please
  345. <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  346. <![endif]-->
  347. @yield('content')
  348. </div>
  349. <!-- 核心/Core -->
  350. <script src="/assets/global/vendor/babel-external-helpers/babel-external-helpers.js" type="text/javascript"></script>
  351. <script src="/assets/global/vendor/jquery/jquery.min.js" type="text/javascript"></script>
  352. <script src="/assets/global/vendor/popper-js/umd/popper.min.js" type="text/javascript"></script>
  353. <script src="/assets/global/vendor/bootstrap/bootstrap.min.js" type="text/javascript"></script>
  354. <script src="/assets/global/vendor/animsition/animsition.min.js" type="text/javascript"></script>
  355. <script src="/assets/global/vendor/mousewheel/jquery.mousewheel.js" type="text/javascript"></script>
  356. <script src="/assets/global/vendor/asscrollbar/jquery-asScrollbar.min.js" type="text/javascript"></script>
  357. <script src="/assets/global/vendor/asscrollable/jquery-asScrollable.min.js" type="text/javascript"></script>
  358. <script src="/assets/global/vendor/ashoverscroll/jquery-asHoverScroll.min.js" type="text/javascript"></script>
  359. <!-- 插件/Plugins -->
  360. <script src="/assets/global/vendor/screenfull/screenfull.js" type="text/javascript"></script>
  361. <script src="/assets/global/vendor/slidepanel/jquery-slidePanel.min.js" type="text/javascript"></script>
  362. <!--[if lt IE 11]>
  363. <script src="/assets/custom/Plugin/sweetalert2/polyfill.min.js" type="text/javascript"></script>
  364. <![endif]-->
  365. <script src="/assets/custom/Plugin/sweetalert2/sweetalert2.min.js" type="text/javascript"></script>
  366. <!-- 脚本/Scripts -->
  367. <script src="/assets/global/js/Component.js" type="text/javascript"></script>
  368. <script src="/assets/global/js/Plugin.js" type="text/javascript"></script>
  369. <script src="/assets/global/js/Base.js" type="text/javascript"></script>
  370. <script src="/assets/global/js/Config.js" type="text/javascript"></script>
  371. <script src="/assets/js/Section/Menubar.js" type="text/javascript"></script>
  372. <script src="/assets/js/Section/Sidebar.js" type="text/javascript"></script>
  373. <script src="/assets/js/Section/PageAside.js" type="text/javascript"></script>
  374. <script src="/assets/js/Plugin/menu.js" type="text/javascript"></script>
  375. <!-- 设置/Config -->
  376. <script src="/assets/global/js/config/colors.js" type="text/javascript"></script>
  377. <script type="text/javascript">
  378. Config.set('assets', '/assets');
  379. </script>
  380. <!-- 页面/Page -->
  381. <script src="/assets/js/Site.js" type="text/javascript"></script>
  382. <script src="/assets/global/js/Plugin/asscrollable.js" type="text/javascript"></script>
  383. <script src="/assets/global/js/Plugin/slidepanel.js" type="text/javascript"></script>
  384. <script src="/assets/custom/Plugin/js-cookie/js.cookie.min.js" type="text/javascript"></script>
  385. <script type="text/javascript">
  386. (function (document, window, $) {
  387. 'use strict';
  388. const Site = window.Site;
  389. $(document).ready(function () {
  390. Site.run();
  391. });
  392. })(document, window, jQuery);
  393. </script>
  394. @yield('script')
  395. </body>
  396. </html>