dashboard.blade.php_230124 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. @extends('layouts.master')
  2. @section('title', 'Dashboard')
  3. @section('content')
  4. <!-- Global stylesheets -->
  5. <link href="{{ csset('/css/dashboard/components.min.css') }}" rel="stylesheet" type="text/css">
  6. <!-- /global stylesheets -->
  7. <script src="{{ csset('/js/dashboard/echarts.min.js') }}"></script>
  8. {{-- <script src="/js/dashboard/dashboard.js"></script> --}}
  9. <script src="{{ csset('/js/dashboard/streamgraph.js') }}"></script>
  10. <script src="{{ csset('/js/dashboard/sparklines.js') }}"></script>
  11. <script src="{{ csset('/js/dashboard/lines.js') }}"></script>
  12. <script src="{{ csset('/js/dashboard/areas.js') }}"></script>
  13. <script src="{{ csset('/js/dashboard/donuts.js') }}"></script>
  14. <script src="{{ csset('/js/dashboard/bars.js') }}"></script>
  15. <script src="{{ csset('/js/dashboard/progress.js') }}"></script>
  16. <script src="{{ csset('/js/dashboard/heatmaps.js') }}"></script>
  17. <script src="{{ csset('/js/dashboard/pies.js') }}"></script>
  18. <script src="{{ csset('/js/dashboard/bullets.js') }}"></script>
  19. <style>
  20. .content {
  21. padding: 0;
  22. }
  23. .content>.content {
  24. padding: 0.5rem;
  25. }
  26. </style>
  27. <!-- Page header -->
  28. <div class="page-header page-header-light">
  29. <div class="page-header-content header-elements-md-inline">
  30. <div class="page-title d-flex">
  31. <h4><i class="icon-arrow-left52 mr-2"></i> <span class="font-weight-semibold">홈</span> - 대시보드</h4>
  32. <!--<a href="#" class="header-elements-toggle text-default d-md-none"><i class="icon-more"></i></a>-->
  33. </div>
  34. <div class="header-elements">
  35. <!-- 서치박스 시작 -->
  36. <div class="m_searchbox">
  37. <div>
  38. <input type="text" id="user-menu-search" placeholder="User Menu Search And Move">
  39. <button type="button" onclick="user_menu_search_and_move($('#user-menu-search').val())"><i class="fas fa-search"></i></button>
  40. </div>
  41. {{-- <div class="collapse" id="collapseExample">--}}
  42. {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
  43. {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
  44. {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
  45. {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
  46. {{-- </div>--}}
  47. </div>
  48. <!--// 서치박스 끝 -->
  49. <!--
  50. <div class="d-flex justify-content-center">
  51. <a href="#" class="btn btn-link btn-float text-default"><i
  52. class="icon-bars-alt text-primary"></i><span>접속통계</span></a>
  53. <a href="#" class="btn btn-link btn-float text-default"><i class="icon-calculator text-primary"></i>
  54. <span>공지사항</span></a>
  55. <a href="#" class="btn btn-link btn-float text-default"><i class="icon-calendar5 text-primary"></i>
  56. <span>문의사항</span></a>
  57. </div>
  58. -->
  59. </div>
  60. </div>
  61. <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
  62. <div class="d-flex">
  63. <div class="breadcrumb">
  64. <a href="index.html" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> 홈</a>
  65. <span class="breadcrumb-item active">대시보드</span>
  66. </div>
  67. <a href="#" class="header-elements-toggle text-default d-md-none"><i class="icon-more"></i></a>
  68. </div>
  69. <div class="header-elements d-none">
  70. <div class="breadcrumb justify-content-center">
  71. <a href="#" class="breadcrumb-elements-item">
  72. <i class="icon-comment-discussion mr-2"></i>
  73. 문의사항
  74. </a>
  75. <div class="breadcrumb-elements-item dropdown p-0">
  76. <a href="#" class="breadcrumb-elements-item dropdown-toggle" data-toggle="dropdown">
  77. <i class="icon-gear mr-2"></i>
  78. 설정
  79. </a>
  80. <div class="dropdown-menu dropdown-menu-right">
  81. <a href="#" class="dropdown-item"><i class="icon-user-lock"></i> Account security</a>
  82. <a href="#" class="dropdown-item"><i class="icon-statistics"></i> Analytics</a>
  83. <a href="#" class="dropdown-item"><i class="icon-accessibility"></i> Accessibility</a>
  84. <div class="dropdown-divider"></div>
  85. <a href="#" class="dropdown-item"><i class="icon-gear"></i> All settings</a>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <!-- /page header -->
  93. <div class="content">
  94. <!-- Main charts -->
  95. <div class="row">
  96. <div class="col-xl-7">
  97. <!-- Traffic sources -->
  98. <div class="card">
  99. <div class="card-header header-elements-inline">
  100. <h6 class="card-title">접속 소스</h6>
  101. <div class="header-elements">
  102. <div class="form-check form-check-right form-check-switchery form-check-switchery-sm">
  103. <label class="form-check-label">
  104. Live update:
  105. <input type="checkbox" class="form-input-switchery" checked data-fouc>
  106. </label>
  107. </div>
  108. </div>
  109. </div>
  110. <div class="card-body py-0">
  111. <div class="row">
  112. <div class="col-sm-4">
  113. <div class="d-flex align-items-center justify-content-center mb-2">
  114. <a href="#"
  115. class="btn bg-transparent border-teal text-teal rounded-round border-2 btn-icon mr-3">
  116. <i class="icon-plus3"></i>
  117. </a>
  118. <div>
  119. <div class="font-weight-semibold">New visitors</div>
  120. <span class="text-muted">2,349 avg</span>
  121. </div>
  122. </div>
  123. <div class="w-75 mx-auto mb-3" id="new-visitors"></div>
  124. </div>
  125. <div class="col-sm-4">
  126. <div class="d-flex align-items-center justify-content-center mb-2">
  127. <a href="#"
  128. class="btn bg-transparent border-warning-400 text-warning-400 rounded-round border-2 btn-icon mr-3">
  129. <i class="icon-watch2"></i>
  130. </a>
  131. <div>
  132. <div class="font-weight-semibold">New sessions</div>
  133. <span class="text-muted">08:20 avg</span>
  134. </div>
  135. </div>
  136. <div class="w-75 mx-auto mb-3" id="new-sessions"></div>
  137. </div>
  138. <div class="col-sm-4">
  139. <div class="d-flex align-items-center justify-content-center mb-2">
  140. <a href="#"
  141. class="btn bg-transparent border-indigo-400 text-indigo-400 rounded-round border-2 btn-icon mr-3">
  142. <i class="icon-people"></i>
  143. </a>
  144. <div>
  145. <div class="font-weight-semibold">Total online</div>
  146. <span class="text-muted"><span class="badge badge-mark border-success mr-2"></span>
  147. 5,378 avg</span>
  148. </div>
  149. </div>
  150. <div class="w-75 mx-auto mb-3" id="total-online"></div>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="chart position-relative" id="traffic-sources"></div>
  155. </div>
  156. <!-- /traffic sources -->
  157. </div>
  158. <div class="col-xl-5">
  159. <!-- Sales stats -->
  160. <div class="card">
  161. <div class="card-header header-elements-inline">
  162. <h6 class="card-title">접속 통계</h6>
  163. <div class="header-elements">
  164. <select class="form-control custom-select" id="select_date">
  165. <option value="val1">June, 29 - July, 5</option>
  166. <option value="val2">June, 22 - June 28</option>
  167. <option value="val3" selected>June, 15 - June, 21</option>
  168. <option value="val4">June, 8 - June, 14</option>
  169. </select>
  170. </div>
  171. </div>
  172. <div class="card-body py-0">
  173. <div class="row text-center">
  174. <div class="col-4">
  175. <div class="mb-3">
  176. <h5 class="font-weight-semibold mb-0">5,689</h5>
  177. <span class="text-muted font-size-sm">new orders</span>
  178. </div>
  179. </div>
  180. <div class="col-4">
  181. <div class="mb-3">
  182. <h5 class="font-weight-semibold mb-0">32,568</h5>
  183. <span class="text-muted font-size-sm">this month</span>
  184. </div>
  185. </div>
  186. <div class="col-4">
  187. <div class="mb-3">
  188. <h5 class="font-weight-semibold mb-0">$23,464</h5>
  189. <span class="text-muted font-size-sm">expected profit</span>
  190. </div>
  191. </div>
  192. </div>
  193. </div>
  194. <div class="chart mb-2" id="app_sales"></div>
  195. <div class="chart" id="monthly-sales-stats"></div>
  196. </div>
  197. <!-- /sales stats -->
  198. </div>
  199. </div>
  200. <!-- /main charts -->
  201. <div class="row">
  202. <!-- 오른쪽 시작 -->
  203. <div class="col-xl-8">
  204. <!-- Marketing campaigns -->
  205. <div class="card">
  206. <div class="card-header header-elements-sm-inline">
  207. <h6 class="card-title">총 회원수</h6>
  208. <div class="header-elements"> <span class="badge bg-success badge-pill">28 active</span>
  209. <div class="list-icons ml-3">
  210. <div class="dropdown"> <a href="#" class="list-icons-item dropdown-toggle"
  211. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  212. <div class="dropdown-menu"> <a href="#" class="dropdown-item"><i class="icon-sync"></i>
  213. Update data</a> <a href="#" class="dropdown-item"><i
  214. class="icon-list-unordered"></i> Detailed log</a> <a href="#"
  215. class="dropdown-item"><i class="icon-pie5"></i> Statistics</a>
  216. <div class="dropdown-divider"></div>
  217. <a href="#" class="dropdown-item"><i class="icon-cross3"></i> Clear list</a>
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. <div class="card-body d-sm-flex align-items-sm-center justify-content-sm-between flex-sm-wrap">
  224. <div class="d-flex align-items-center mb-3 mb-sm-0">
  225. <div id="campaigns-donut"></div>
  226. <div class="ml-3">
  227. <h5 class="font-weight-semibold mb-0">38,289 <span
  228. class="text-success font-size-sm font-weight-normal"><i class="icon-arrow-up12"></i>
  229. (+16.2%)</span></h5>
  230. <span class="badge badge-mark border-success mr-1"></span> <span class="text-muted">May 12,
  231. 12:30 am</span>
  232. </div>
  233. </div>
  234. <div class="d-flex align-items-center mb-3 mb-sm-0">
  235. <div id="campaign-status-pie"></div>
  236. <div class="ml-3">
  237. <h5 class="font-weight-semibold mb-0">2,458 <span
  238. class="text-danger font-size-sm font-weight-normal"><i
  239. class="icon-arrow-down12"></i> (-4.9%)</span></h5>
  240. <span class="badge badge-mark border-danger mr-1"></span> <span class="text-muted">Jun 4,
  241. 4:00 am</span>
  242. </div>
  243. </div>
  244. <div> <a href="#" class="btn bg-indigo-300"><i class="icon-statistics mr-2"></i> View report</a>
  245. </div>
  246. </div>
  247. <div class="table-responsive">
  248. <table class="table text-nowrap">
  249. <thead>
  250. <tr>
  251. <th>Campaign</th>
  252. <th>Client</th>
  253. <th>Changes</th>
  254. <th>Budget</th>
  255. <th>Status</th>
  256. <th class="text-center" style="width: 20px;"><i class="icon-arrow-down12"></i></th>
  257. </tr>
  258. </thead>
  259. <tbody>
  260. <tr class="table-active table-border-double">
  261. <td colspan="5">Today</td>
  262. <td class="text-right"><span class="progress-meter" id="today-progress"
  263. data-progress="30"></span></td>
  264. </tr>
  265. <tr>
  266. <td>
  267. <div class="d-flex align-items-center">
  268. <div class="mr-3"> <a href="#"> <img src="../images/facebook.png"
  269. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  270. <div> <a href="#" class="text-default font-weight-semibold">Facebook</a>
  271. <div class="text-muted font-size-sm"> <span
  272. class="badge badge-mark border-blue mr-1"></span> 02:00 - 03:00
  273. </div>
  274. </div>
  275. </div>
  276. </td>
  277. <td><span class="text-muted">Mintlime</span></td>
  278. <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.43%</span>
  279. </td>
  280. <td>
  281. <h6 class="font-weight-semibold mb-0">$5,489</h6>
  282. </td>
  283. <td><span class="badge bg-blue">Active</span></td>
  284. <td class="text-center">
  285. <div class="list-icons">
  286. <div class="dropdown"> <a href="#"
  287. class="list-icons-item dropdown-toggle caret-0"
  288. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  289. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  290. class="dropdown-item"><i class="icon-file-stats"></i> View
  291. statement</a> <a href="#" class="dropdown-item"><i
  292. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  293. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  294. campaign</a>
  295. <div class="dropdown-divider"></div>
  296. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  297. </div>
  298. </div>
  299. </div>
  300. </td>
  301. </tr>
  302. <tr>
  303. <td>
  304. <div class="d-flex align-items-center">
  305. <div class="mr-3"> <a href="#"> <img src="../images/youtube.png"
  306. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  307. <div> <a href="#" class="text-default font-weight-semibold">Youtube videos</a>
  308. <div class="text-muted font-size-sm"> <span
  309. class="badge badge-mark border-danger mr-1"></span> 13:00 - 14:00
  310. </div>
  311. </div>
  312. </div>
  313. </td>
  314. <td><span class="text-muted">CDsoft</span></td>
  315. <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 3.12%</span>
  316. </td>
  317. <td>
  318. <h6 class="font-weight-semibold mb-0">$2,592</h6>
  319. </td>
  320. <td><span class="badge bg-danger">Closed</span></td>
  321. <td class="text-center">
  322. <div class="list-icons">
  323. <div class="dropdown"> <a href="#"
  324. class="list-icons-item dropdown-toggle caret-0"
  325. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  326. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  327. class="dropdown-item"><i class="icon-file-stats"></i> View
  328. statement</a> <a href="#" class="dropdown-item"><i
  329. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  330. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  331. campaign</a>
  332. <div class="dropdown-divider"></div>
  333. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  334. </div>
  335. </div>
  336. </div>
  337. </td>
  338. </tr>
  339. <tr>
  340. <td>
  341. <div class="d-flex align-items-center">
  342. <div class="mr-3"> <a href="#"> <img src="../images/spotify.png"
  343. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  344. <div> <a href="#" class="text-default font-weight-semibold">Spotify ads</a>
  345. <div class="text-muted font-size-sm"> <span
  346. class="badge badge-mark border-grey-400 mr-1"></span> 10:00 - 11:00
  347. </div>
  348. </div>
  349. </div>
  350. </td>
  351. <td><span class="text-muted">Diligence</span></td>
  352. <td><span class="text-danger"><i class="icon-stats-decline2 mr-2"></i> - 8.02%</span>
  353. </td>
  354. <td>
  355. <h6 class="font-weight-semibold mb-0">$1,268</h6>
  356. </td>
  357. <td><span class="badge bg-grey-400">On hold</span></td>
  358. <td class="text-center">
  359. <div class="list-icons">
  360. <div class="dropdown"> <a href="#"
  361. class="list-icons-item dropdown-toggle caret-0"
  362. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  363. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  364. class="dropdown-item"><i class="icon-file-stats"></i> View
  365. statement</a> <a href="#" class="dropdown-item"><i
  366. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  367. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  368. campaign</a>
  369. <div class="dropdown-divider"></div>
  370. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  371. </div>
  372. </div>
  373. </div>
  374. </td>
  375. </tr>
  376. <tr>
  377. <td>
  378. <div class="d-flex align-items-center">
  379. <div class="mr-3"> <a href="#"> <img src="../images/twitter.png"
  380. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  381. <div> <a href="#" class="text-default font-weight-semibold">Twitter ads</a>
  382. <div class="text-muted font-size-sm"> <span
  383. class="badge badge-mark border-grey-400 mr-1"></span> 04:00 - 05:00
  384. </div>
  385. </div>
  386. </div>
  387. </td>
  388. <td><span class="text-muted">Deluxe</span></td>
  389. <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.78%</span>
  390. </td>
  391. <td>
  392. <h6 class="font-weight-semibold mb-0">$7,467</h6>
  393. </td>
  394. <td><span class="badge bg-grey-400">On hold</span></td>
  395. <td class="text-center">
  396. <div class="list-icons">
  397. <div class="dropdown"> <a href="#"
  398. class="list-icons-item dropdown-toggle caret-0"
  399. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  400. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  401. class="dropdown-item"><i class="icon-file-stats"></i> View
  402. statement</a> <a href="#" class="dropdown-item"><i
  403. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  404. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  405. campaign</a>
  406. <div class="dropdown-divider"></div>
  407. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  408. </div>
  409. </div>
  410. </div>
  411. </td>
  412. </tr>
  413. <tr>
  414. <td>
  415. <div class="d-flex align-items-center">
  416. <div class="mr-3"> <a href="#"> <img src="../images/spotify.png"
  417. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  418. <div> <a href="#" class="text-default font-weight-semibold">Spotify ads</a>
  419. <div class="text-muted font-size-sm"> <span
  420. class="badge badge-mark border-grey-400 mr-1"></span> 10:00 - 11:00
  421. </div>
  422. </div>
  423. </div>
  424. </td>
  425. <td><span class="text-muted">Diligence</span></td>
  426. <td><span class="text-danger"><i class="icon-stats-decline2 mr-2"></i> - 8.02%</span>
  427. </td>
  428. <td>
  429. <h6 class="font-weight-semibold mb-0">$1,268</h6>
  430. </td>
  431. <td><span class="badge bg-grey-400">On hold</span></td>
  432. <td class="text-center">
  433. <div class="list-icons">
  434. <div class="dropdown"> <a href="#"
  435. class="list-icons-item dropdown-toggle caret-0"
  436. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  437. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  438. class="dropdown-item"><i class="icon-file-stats"></i> View
  439. statement</a> <a href="#" class="dropdown-item"><i
  440. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  441. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  442. campaign</a>
  443. <div class="dropdown-divider"></div>
  444. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  445. </div>
  446. </div>
  447. </div>
  448. </td>
  449. </tr>
  450. <tr>
  451. <td>
  452. <div class="d-flex align-items-center">
  453. <div class="mr-3"> <a href="#"> <img src="../images/twitter.png"
  454. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  455. <div> <a href="#" class="text-default font-weight-semibold">Twitter ads</a>
  456. <div class="text-muted font-size-sm"> <span
  457. class="badge badge-mark border-grey-400 mr-1"></span> 04:00 - 05:00
  458. </div>
  459. </div>
  460. </div>
  461. </td>
  462. <td><span class="text-muted">Deluxe</span></td>
  463. <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.78%</span>
  464. </td>
  465. <td>
  466. <h6 class="font-weight-semibold mb-0">$7,467</h6>
  467. </td>
  468. <td><span class="badge bg-grey-400">On hold</span></td>
  469. <td class="text-center">
  470. <div class="list-icons">
  471. <div class="dropdown"> <a href="#"
  472. class="list-icons-item dropdown-toggle caret-0"
  473. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  474. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  475. class="dropdown-item"><i class="icon-file-stats"></i> View
  476. statement</a> <a href="#" class="dropdown-item"><i
  477. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  478. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  479. campaign</a>
  480. <div class="dropdown-divider"></div>
  481. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  482. </div>
  483. </div>
  484. </div>
  485. </td>
  486. </tr>
  487. <tr>
  488. <td>
  489. <div class="d-flex align-items-center">
  490. <div class="mr-3"> <a href="#"> <img src="../images/twitter.png"
  491. class="rounded-circle" width="32" height="32" alt=""> </a> </div>
  492. <div> <a href="#" class="text-default font-weight-semibold">Twitter ads</a>
  493. <div class="text-muted font-size-sm"> <span
  494. class="badge badge-mark border-grey-400 mr-1"></span> 04:00 - 05:00
  495. </div>
  496. </div>
  497. </div>
  498. </td>
  499. <td><span class="text-muted">Deluxe</span></td>
  500. <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.78%</span>
  501. </td>
  502. <td>
  503. <h6 class="font-weight-semibold mb-0">$7,467</h6>
  504. </td>
  505. <td><span class="badge bg-grey-400">On hold</span></td>
  506. <td class="text-center">
  507. <div class="list-icons">
  508. <div class="dropdown"> <a href="#"
  509. class="list-icons-item dropdown-toggle caret-0"
  510. data-toggle="dropdown"><i class="icon-menu7"></i></a>
  511. <div class="dropdown-menu dropdown-menu-right"> <a href="#"
  512. class="dropdown-item"><i class="icon-file-stats"></i> View
  513. statement</a> <a href="#" class="dropdown-item"><i
  514. class="icon-file-text2"></i> Edit campaign</a> <a href="#"
  515. class="dropdown-item"><i class="icon-file-locked"></i> Disable
  516. campaign</a>
  517. <div class="dropdown-divider"></div>
  518. <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
  519. </div>
  520. </div>
  521. </div>
  522. </td>
  523. </tr>
  524. </tbody>
  525. </table>
  526. </div>
  527. </div>
  528. <!-- /marketing campaigns -->
  529. </div>
  530. <!--// 오른쪽 끝 -->
  531. <!--왼쪽 시작 -->
  532. <div class="col-xl-4">
  533. <!-- Progress counters -->
  534. <div class="row">
  535. <div class="col-sm-6">
  536. <!-- Available hours -->
  537. <div class="card text-center">
  538. <div class="card-body">
  539. <!-- Progress counter -->
  540. <div class="svg-center position-relative" id="hours-available-progress"></div>
  541. <!-- /progress counter -->
  542. <!-- Bars -->
  543. <div id="hours-available-bars"></div>
  544. <!-- /bars -->
  545. </div>
  546. </div>
  547. <!-- /available hours -->
  548. </div>
  549. <div class="col-sm-6">
  550. <!-- Productivity goal -->
  551. <div class="card text-center">
  552. <div class="card-body">
  553. <!-- Progress counter -->
  554. <div class="svg-center position-relative" id="goal-progress"></div>
  555. <!-- /progress counter -->
  556. <!-- Bars -->
  557. <div id="goal-bars"></div>
  558. <!-- /bars -->
  559. </div>
  560. </div>
  561. <!-- /productivity goal -->
  562. </div>
  563. </div>
  564. <!-- /progress counters -->
  565. <!-- Daily sales -->
  566. <div class="card">
  567. <div class="card-header header-elements-inline">
  568. <h6 class="card-title">Daily sales stats</h6>
  569. <div class="header-elements">
  570. <span class="font-weight-bold text-danger-600 ml-2">$4,378</span>
  571. <div class="list-icons ml-3">
  572. <div class="dropdown">
  573. <a href="#" class="list-icons-item dropdown-toggle" data-toggle="dropdown"><i
  574. class="icon-cog3"></i></a>
  575. <div class="dropdown-menu dropdown-menu-right">
  576. <a href="#" class="dropdown-item"><i class="icon-sync"></i> Update data</a>
  577. <a href="#" class="dropdown-item"><i class="icon-list-unordered"></i> Detailed
  578. log</a>
  579. <a href="#" class="dropdown-item"><i class="icon-pie5"></i> Statistics</a>
  580. <div class="dropdown-divider"></div>
  581. <a href="#" class="dropdown-item"><i class="icon-cross3"></i> Clear list</a>
  582. </div>
  583. </div>
  584. </div>
  585. </div>
  586. </div>
  587. <div class="card-body">
  588. <div class="chart" id="sales-heatmap"></div>
  589. </div>
  590. </div>
  591. <!-- /daily sales -->
  592. </div>
  593. <!--// 왼쪽 끝 -->
  594. </div>
  595. </div>
  596. @endsection
  597. @push('js')
  598. <script>
  599. $(document).ready(function () {
  600. $('#user-menu-search').on('keyup',function(key){
  601. if(key.keyCode === 13) {
  602. user_menu_search_and_move($(this).val())
  603. this.blur()
  604. }
  605. });
  606. $('#user-menu-search').autocomplete({
  607. source: menuPages
  608. .filter(menu => menu['PageUri'])
  609. .map(menu => {
  610. return { code: menu['MenuCode'], value: menu['MenuName'] }
  611. }),
  612. focus: function (event, ui) {
  613. return false;
  614. },
  615. select: function (event, ui) {
  616. user_menu_search_and_move(ui['item']['value'])
  617. },
  618. minLength: 1,
  619. delay: 100,
  620. autoFocus: false,
  621. });
  622. });
  623. function user_menu_search_and_move(menu_name) {
  624. const search_menu = menuPages.filter(menu => menu['MenuName'] === menu_name)
  625. if (isEmpty(search_menu)) {
  626. return iziToast.error({
  627. title: 'Error', message: '존재하지 않는 메뉴명',
  628. });
  629. }
  630. const menu = search_menu[0]
  631. const url = menu['PageUri'] + '?bpa=' + menu['bpa']
  632. return window.location = url
  633. }
  634. </script>
  635. @endpush