123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693 |
- @extends('layouts.master')
- @section('title', 'Dashboard')
- @section('content')
- <!-- Global stylesheets -->
- <link href="{{ csset('/css/dashboard/components.min.css') }}" rel="stylesheet" type="text/css">
- <!-- /global stylesheets -->
- <script src="{{ csset('/js/dashboard/echarts.min.js') }}"></script>
- {{-- <script src="/js/dashboard/dashboard.js"></script> --}}
- <script src="{{ csset('/js/dashboard/streamgraph.js') }}"></script>
- <script src="{{ csset('/js/dashboard/sparklines.js') }}"></script>
- <script src="{{ csset('/js/dashboard/lines.js') }}"></script>
- <script src="{{ csset('/js/dashboard/areas.js') }}"></script>
- <script src="{{ csset('/js/dashboard/donuts.js') }}"></script>
- <script src="{{ csset('/js/dashboard/bars.js') }}"></script>
- <script src="{{ csset('/js/dashboard/progress.js') }}"></script>
- <script src="{{ csset('/js/dashboard/heatmaps.js') }}"></script>
- <script src="{{ csset('/js/dashboard/pies.js') }}"></script>
- <script src="{{ csset('/js/dashboard/bullets.js') }}"></script>
- <style>
- .content {
- padding: 0;
- }
- .content>.content {
- padding: 0.5rem;
- }
- </style>
- <!-- Page header -->
- <div class="page-header page-header-light">
- <div class="page-header-content header-elements-md-inline">
- <div class="page-title d-flex">
- <h4><i class="icon-arrow-left52 mr-2"></i> <span class="font-weight-semibold">홈</span> - 대시보드</h4>
- <!--<a href="#" class="header-elements-toggle text-default d-md-none"><i class="icon-more"></i></a>-->
- </div>
- <div class="header-elements">
- <!-- 서치박스 시작 -->
- <div class="m_searchbox">
- <div>
- <input type="text" id="user-menu-search" placeholder="User Menu Search And Move">
- <button type="button" onclick="user_menu_search_and_move($('#user-menu-search').val())"><i class="fas fa-search"></i></button>
- </div>
- {{-- <div class="collapse" id="collapseExample">--}}
- {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
- {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
- {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
- {{-- <a href="#">검색 결과가 나옵니다. 검색 결과가 나옵니다.</a>--}}
- {{-- </div>--}}
- </div>
- <!--// 서치박스 끝 -->
- <!--
- <div class="d-flex justify-content-center">
- <a href="#" class="btn btn-link btn-float text-default"><i
- class="icon-bars-alt text-primary"></i><span>접속통계</span></a>
- <a href="#" class="btn btn-link btn-float text-default"><i class="icon-calculator text-primary"></i>
- <span>공지사항</span></a>
- <a href="#" class="btn btn-link btn-float text-default"><i class="icon-calendar5 text-primary"></i>
- <span>문의사항</span></a>
- </div>
- -->
- </div>
- </div>
- <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
- <div class="d-flex">
- <div class="breadcrumb">
- <a href="index.html" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> 홈</a>
- <span class="breadcrumb-item active">대시보드</span>
- </div>
- <a href="#" class="header-elements-toggle text-default d-md-none"><i class="icon-more"></i></a>
- </div>
- <div class="header-elements d-none">
- <div class="breadcrumb justify-content-center">
- <a href="#" class="breadcrumb-elements-item">
- <i class="icon-comment-discussion mr-2"></i>
- 문의사항
- </a>
- <div class="breadcrumb-elements-item dropdown p-0">
- <a href="#" class="breadcrumb-elements-item dropdown-toggle" data-toggle="dropdown">
- <i class="icon-gear mr-2"></i>
- 설정
- </a>
- <div class="dropdown-menu dropdown-menu-right">
- <a href="#" class="dropdown-item"><i class="icon-user-lock"></i> Account security</a>
- <a href="#" class="dropdown-item"><i class="icon-statistics"></i> Analytics</a>
- <a href="#" class="dropdown-item"><i class="icon-accessibility"></i> Accessibility</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> All settings</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- /page header -->
- <div class="content">
- <!-- Main charts -->
- <div class="row">
- <div class="col-xl-7">
- <!-- Traffic sources -->
- <div class="card">
- <div class="card-header header-elements-inline">
- <h6 class="card-title">접속 소스</h6>
- <div class="header-elements">
- <div class="form-check form-check-right form-check-switchery form-check-switchery-sm">
- <label class="form-check-label">
- Live update:
- <input type="checkbox" class="form-input-switchery" checked data-fouc>
- </label>
- </div>
- </div>
- </div>
- <div class="card-body py-0">
- <div class="row">
- <div class="col-sm-4">
- <div class="d-flex align-items-center justify-content-center mb-2">
- <a href="#"
- class="btn bg-transparent border-teal text-teal rounded-round border-2 btn-icon mr-3">
- <i class="icon-plus3"></i>
- </a>
- <div>
- <div class="font-weight-semibold">New visitors</div>
- <span class="text-muted">2,349 avg</span>
- </div>
- </div>
- <div class="w-75 mx-auto mb-3" id="new-visitors"></div>
- </div>
- <div class="col-sm-4">
- <div class="d-flex align-items-center justify-content-center mb-2">
- <a href="#"
- class="btn bg-transparent border-warning-400 text-warning-400 rounded-round border-2 btn-icon mr-3">
- <i class="icon-watch2"></i>
- </a>
- <div>
- <div class="font-weight-semibold">New sessions</div>
- <span class="text-muted">08:20 avg</span>
- </div>
- </div>
- <div class="w-75 mx-auto mb-3" id="new-sessions"></div>
- </div>
- <div class="col-sm-4">
- <div class="d-flex align-items-center justify-content-center mb-2">
- <a href="#"
- class="btn bg-transparent border-indigo-400 text-indigo-400 rounded-round border-2 btn-icon mr-3">
- <i class="icon-people"></i>
- </a>
- <div>
- <div class="font-weight-semibold">Total online</div>
- <span class="text-muted"><span class="badge badge-mark border-success mr-2"></span>
- 5,378 avg</span>
- </div>
- </div>
- <div class="w-75 mx-auto mb-3" id="total-online"></div>
- </div>
- </div>
- </div>
- <div class="chart position-relative" id="traffic-sources"></div>
- </div>
- <!-- /traffic sources -->
- </div>
- <div class="col-xl-5">
- <!-- Sales stats -->
- <div class="card">
- <div class="card-header header-elements-inline">
- <h6 class="card-title">접속 통계</h6>
- <div class="header-elements">
- <select class="form-control custom-select" id="select_date">
- <option value="val1">June, 29 - July, 5</option>
- <option value="val2">June, 22 - June 28</option>
- <option value="val3" selected>June, 15 - June, 21</option>
- <option value="val4">June, 8 - June, 14</option>
- </select>
- </div>
- </div>
- <div class="card-body py-0">
- <div class="row text-center">
- <div class="col-4">
- <div class="mb-3">
- <h5 class="font-weight-semibold mb-0">5,689</h5>
- <span class="text-muted font-size-sm">new orders</span>
- </div>
- </div>
- <div class="col-4">
- <div class="mb-3">
- <h5 class="font-weight-semibold mb-0">32,568</h5>
- <span class="text-muted font-size-sm">this month</span>
- </div>
- </div>
- <div class="col-4">
- <div class="mb-3">
- <h5 class="font-weight-semibold mb-0">$23,464</h5>
- <span class="text-muted font-size-sm">expected profit</span>
- </div>
- </div>
- </div>
- </div>
- <div class="chart mb-2" id="app_sales"></div>
- <div class="chart" id="monthly-sales-stats"></div>
- </div>
- <!-- /sales stats -->
- </div>
- </div>
- <!-- /main charts -->
- <div class="row">
- <!-- 오른쪽 시작 -->
- <div class="col-xl-8">
- <!-- Marketing campaigns -->
- <div class="card">
- <div class="card-header header-elements-sm-inline">
- <h6 class="card-title">총 회원수</h6>
- <div class="header-elements"> <span class="badge bg-success badge-pill">28 active</span>
- <div class="list-icons ml-3">
- <div class="dropdown"> <a href="#" class="list-icons-item dropdown-toggle"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu"> <a href="#" class="dropdown-item"><i class="icon-sync"></i>
- Update data</a> <a href="#" class="dropdown-item"><i
- class="icon-list-unordered"></i> Detailed log</a> <a href="#"
- class="dropdown-item"><i class="icon-pie5"></i> Statistics</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-cross3"></i> Clear list</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="card-body d-sm-flex align-items-sm-center justify-content-sm-between flex-sm-wrap">
- <div class="d-flex align-items-center mb-3 mb-sm-0">
- <div id="campaigns-donut"></div>
- <div class="ml-3">
- <h5 class="font-weight-semibold mb-0">38,289 <span
- class="text-success font-size-sm font-weight-normal"><i class="icon-arrow-up12"></i>
- (+16.2%)</span></h5>
- <span class="badge badge-mark border-success mr-1"></span> <span class="text-muted">May 12,
- 12:30 am</span>
- </div>
- </div>
- <div class="d-flex align-items-center mb-3 mb-sm-0">
- <div id="campaign-status-pie"></div>
- <div class="ml-3">
- <h5 class="font-weight-semibold mb-0">2,458 <span
- class="text-danger font-size-sm font-weight-normal"><i
- class="icon-arrow-down12"></i> (-4.9%)</span></h5>
- <span class="badge badge-mark border-danger mr-1"></span> <span class="text-muted">Jun 4,
- 4:00 am</span>
- </div>
- </div>
- <div> <a href="#" class="btn bg-indigo-300"><i class="icon-statistics mr-2"></i> View report</a>
- </div>
- </div>
- <div class="table-responsive">
- <table class="table text-nowrap">
- <thead>
- <tr>
- <th>Campaign</th>
- <th>Client</th>
- <th>Changes</th>
- <th>Budget</th>
- <th>Status</th>
- <th class="text-center" style="width: 20px;"><i class="icon-arrow-down12"></i></th>
- </tr>
- </thead>
- <tbody>
- <tr class="table-active table-border-double">
- <td colspan="5">Today</td>
- <td class="text-right"><span class="progress-meter" id="today-progress"
- data-progress="30"></span></td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/facebook.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Facebook</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-blue mr-1"></span> 02:00 - 03:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">Mintlime</span></td>
- <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.43%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$5,489</h6>
- </td>
- <td><span class="badge bg-blue">Active</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/youtube.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Youtube videos</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-danger mr-1"></span> 13:00 - 14:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">CDsoft</span></td>
- <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 3.12%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$2,592</h6>
- </td>
- <td><span class="badge bg-danger">Closed</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/spotify.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Spotify ads</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-grey-400 mr-1"></span> 10:00 - 11:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">Diligence</span></td>
- <td><span class="text-danger"><i class="icon-stats-decline2 mr-2"></i> - 8.02%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$1,268</h6>
- </td>
- <td><span class="badge bg-grey-400">On hold</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/twitter.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Twitter ads</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-grey-400 mr-1"></span> 04:00 - 05:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">Deluxe</span></td>
- <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.78%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$7,467</h6>
- </td>
- <td><span class="badge bg-grey-400">On hold</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/spotify.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Spotify ads</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-grey-400 mr-1"></span> 10:00 - 11:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">Diligence</span></td>
- <td><span class="text-danger"><i class="icon-stats-decline2 mr-2"></i> - 8.02%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$1,268</h6>
- </td>
- <td><span class="badge bg-grey-400">On hold</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/twitter.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Twitter ads</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-grey-400 mr-1"></span> 04:00 - 05:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">Deluxe</span></td>
- <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.78%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$7,467</h6>
- </td>
- <td><span class="badge bg-grey-400">On hold</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="d-flex align-items-center">
- <div class="mr-3"> <a href="#"> <img src="../images/twitter.png"
- class="rounded-circle" width="32" height="32" alt=""> </a> </div>
- <div> <a href="#" class="text-default font-weight-semibold">Twitter ads</a>
- <div class="text-muted font-size-sm"> <span
- class="badge badge-mark border-grey-400 mr-1"></span> 04:00 - 05:00
- </div>
- </div>
- </div>
- </td>
- <td><span class="text-muted">Deluxe</span></td>
- <td><span class="text-success-600"><i class="icon-stats-growth2 mr-2"></i> 2.78%</span>
- </td>
- <td>
- <h6 class="font-weight-semibold mb-0">$7,467</h6>
- </td>
- <td><span class="badge bg-grey-400">On hold</span></td>
- <td class="text-center">
- <div class="list-icons">
- <div class="dropdown"> <a href="#"
- class="list-icons-item dropdown-toggle caret-0"
- data-toggle="dropdown"><i class="icon-menu7"></i></a>
- <div class="dropdown-menu dropdown-menu-right"> <a href="#"
- class="dropdown-item"><i class="icon-file-stats"></i> View
- statement</a> <a href="#" class="dropdown-item"><i
- class="icon-file-text2"></i> Edit campaign</a> <a href="#"
- class="dropdown-item"><i class="icon-file-locked"></i> Disable
- campaign</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-gear"></i> Settings</a>
- </div>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <!-- /marketing campaigns -->
- </div>
- <!--// 오른쪽 끝 -->
- <!--왼쪽 시작 -->
- <div class="col-xl-4">
- <!-- Progress counters -->
- <div class="row">
- <div class="col-sm-6">
- <!-- Available hours -->
- <div class="card text-center">
- <div class="card-body">
- <!-- Progress counter -->
- <div class="svg-center position-relative" id="hours-available-progress"></div>
- <!-- /progress counter -->
- <!-- Bars -->
- <div id="hours-available-bars"></div>
- <!-- /bars -->
- </div>
- </div>
- <!-- /available hours -->
- </div>
- <div class="col-sm-6">
- <!-- Productivity goal -->
- <div class="card text-center">
- <div class="card-body">
- <!-- Progress counter -->
- <div class="svg-center position-relative" id="goal-progress"></div>
- <!-- /progress counter -->
- <!-- Bars -->
- <div id="goal-bars"></div>
- <!-- /bars -->
- </div>
- </div>
- <!-- /productivity goal -->
- </div>
- </div>
- <!-- /progress counters -->
- <!-- Daily sales -->
- <div class="card">
- <div class="card-header header-elements-inline">
- <h6 class="card-title">Daily sales stats</h6>
- <div class="header-elements">
- <span class="font-weight-bold text-danger-600 ml-2">$4,378</span>
- <div class="list-icons ml-3">
- <div class="dropdown">
- <a href="#" class="list-icons-item dropdown-toggle" data-toggle="dropdown"><i
- class="icon-cog3"></i></a>
- <div class="dropdown-menu dropdown-menu-right">
- <a href="#" class="dropdown-item"><i class="icon-sync"></i> Update data</a>
- <a href="#" class="dropdown-item"><i class="icon-list-unordered"></i> Detailed
- log</a>
- <a href="#" class="dropdown-item"><i class="icon-pie5"></i> Statistics</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item"><i class="icon-cross3"></i> Clear list</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="card-body">
- <div class="chart" id="sales-heatmap"></div>
- </div>
- </div>
- <!-- /daily sales -->
- </div>
- <!--// 왼쪽 끝 -->
- </div>
- </div>
- @endsection
- @push('js')
- <script>
- $(document).ready(function () {
- $('#user-menu-search').on('keyup',function(key){
- if(key.keyCode === 13) {
- user_menu_search_and_move($(this).val())
- this.blur()
- }
- });
- $('#user-menu-search').autocomplete({
- source: menuPages
- .filter(menu => menu['PageUri'])
- .map(menu => {
- return { code: menu['MenuCode'], value: menu['MenuName'] }
- }),
- focus: function (event, ui) {
- return false;
- },
- select: function (event, ui) {
- user_menu_search_and_move(ui['item']['value'])
- },
- minLength: 1,
- delay: 100,
- autoFocus: false,
- });
- });
- function user_menu_search_and_move(menu_name) {
- const search_menu = menuPages.filter(menu => menu['MenuName'] === menu_name)
- if (isEmpty(search_menu)) {
- return iziToast.error({
- title: 'Error', message: '존재하지 않는 메뉴명',
- });
- }
- const menu = search_menu[0]
- const url = menu['PageUri'] + '?bpa=' + menu['bpa']
- return window.location = url
- }
- </script>
- @endpush
|