<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<nav id="sidebar" class="sidebar">
    <div class="sidebar-content ">
        <a class="sidebar-brand" href="/patient/list"> <i
            class="align-middle" data-feather="box"></i> <span
            class="align-middle">생활치료센터 의료진 시스템</span>
        </a>

        <ul class="sidebar-nav">
            <li class="sidebar-header">관리자</li>
            <li class="sidebar-item active">
                <ul id="dashboards"
                    class="sidebar-dropdown list-unstyled collapse show"
                    data-parent="#sidebar">
                    <li class="sidebar-item <c:if test='${data._MENUPATH eq "patient"}'>active</c:if>">
                        <a class="sidebar-link" href="/patient/list">환자관리</a>
                    </li>
                    <li class="sidebar-item <c:if test='${data._MENUPATH eq "clinic"}'>active</c:if>">
                        <a class="sidebar-link" href="/clinic/state">진료관리</a>
                    </li>
                    <li class="sidebar-item <c:if test='${data._MENUPATH eq "staff"}'>active</c:if>">
                        <a class="sidebar-link" href="/staff/list">의료진관리</a>
                    </li>
                    <li class="sidebar-item <c:if test='${data._MENUPATH eq "center"}'>active</c:if>">
                        <a class="sidebar-link" href="/center/list">생활치료센터 관리</a>
                    </li>
                </ul>
            </li>
        </ul>

        <div class="sidebar-bottom d-none d-lg-block">
            <div class="media">
                <div class="media-body">
                    <h5 class="mb-1"><c:out value="${data._SES_NAME}(${data._SES_ID})"/></h5>
                    <div>
                        <i class="fas fa-circle text-success"></i>
                        Online
                    </div>
                </div>
            </div>
        </div>

    </div>
</nav>