<style>
    [data-layout=horizontal] .navbar-menu .navbar-nav .nav-link.active {
    color: #495057;
}

</style>
<div id="scrollbar">
    <div class="container-fluid">
        <div id="two-column-menu">
        </div>

        <ul class="navbar-nav " id="navbar-nav">
            <li class="menu-title">

                <i class="ri-more-fill"></i>
                <span data-key="t-OPERATION" class="text-white-50">Operation
                    MENU</span>
            </li>



            <li class="nav-item" menu_title="Home">
                <a class="nav-link menu-link @if (Request::url() == url('home')) active @endif"
                    href="{{ url('home') }}" title="Home">
                    <i class="bx bx-home" @if (Request::url() == url('home')) style="color:#245788" @endif></i>
                    <span class="menu-hover" @if (Request::url() == url('home')) style="color:#245788" @endif>Home</span>
                </a>
            </li>

            <li class="nav-item" menu_title="Case History">
                <a class="nav-link menu-link @if (Request::segment(1) == 'casehistory') active @endif"
                    href="{{ url('casehistory') }}" title="Case History">
                    <i class="ri-folder-history-line" @if (Request::url() == url('casehistory')) style="color:#245788" @endif></i>
                    <span class="menu-hover" @if (Request::url() == url('casehistory')) style="color:#245788" @endif>Case History</span>
                </a>
            </li>



            <li class="menu-title"><i class="ri-more-fill"></i>
                <span data-key="t-MANAGEMENT" class="text-white-50">MANAGEMENT
                    MENU</span>
            </li>



                <li class="nav-item" menu_title="Data Analyze">
                    <a class="nav-link menu-link @if (Request::segment(1) == 'allanalysis') active @endif"
                        href="{{ url('allanalysis') }}" title="Data Analyze">
                        <i class="ri-bar-chart-box-line"@if (Request::url() == url('allanalysis')) style="color:#245788" @endif></i>
                        <span class="menu-hover"@if (Request::url() == url('allanalysis')) style="color:#245788" @endif>Analysis</span>
                    </a>
                </li>


                <li class="nav-item" menu_title="Export">
                    <a class="nav-link menu-link @if (Request::segment(1) == 'exportindex') active @endif"
                        href="{{ url('exportdata') }}" title="Export">
                        <i class="ri-external-link-fill"@if (Request::url() == url('exportdata')) style="color:#245788" @endif></i>
                        <span class="menu-hover"@if (Request::url() == url('exportdata')) style="color:#245788" @endif>Export Data</span>
                    </a>
                </li>


            @if (in_array(@uget('user_type'), ['admin']))
                @include('capture.adminmenu')
            @endif
        </ul>
    </div>
</div>
<!-- Left Menu -->
