'+ 메뉴 추가' 버튼 위치 변경

This commit is contained in:
2026-01-13 20:38:45 +09:00
parent 5d8189ccf1
commit 1947d15497

View File

@@ -415,53 +415,54 @@ const AdminMenuManagement: React.FC = () => {
<CCard className="mb-4"> <CCard className="mb-4">
<CCardHeader> <CCardHeader>
<strong> </strong> <strong> </strong>
<CButton
color="primary"
size="sm"
className="float-end"
onClick={handleAddClick}
>
<CIcon icon={cilPlus} className="me-1" />
</CButton>
</CCardHeader> </CCardHeader>
<CCardBody> <CCardBody>
{/* 브레드크럼 네비게이션 */} {/* 브레드크럼 네비게이션 */}
<nav aria-label="breadcrumb" className="mb-3"> <div className="d-flex justify-content-between align-items-center mb-3">
<ol className="breadcrumb mb-0"> <nav aria-label="breadcrumb">
<li className={`breadcrumb-item ${breadcrumb.length === 0 ? 'active' : ''}`}> <ol className="breadcrumb mb-0">
{breadcrumb.length === 0 ? ( <li className={`breadcrumb-item ${breadcrumb.length === 0 ? 'active' : ''}`}>
<span><CIcon icon={cilHome} className="me-1" /> </span> {breadcrumb.length === 0 ? (
) : ( <span><CIcon icon={cilHome} className="me-1" /> </span>
<a
href="#"
onClick={(e) => { e.preventDefault(); handleBreadcrumbClick(-1); }}
style={{ textDecoration: 'none' }}
>
<CIcon icon={cilHome} className="me-1" />
</a>
)}
</li>
{breadcrumb.map((item, index) => (
<li
key={item.adminMenuSeq}
className={`breadcrumb-item ${index === breadcrumb.length - 1 ? 'active' : ''}`}
>
{index === breadcrumb.length - 1 ? (
<span>{item.menuName}</span>
) : ( ) : (
<a <a
href="#" href="#"
onClick={(e) => { e.preventDefault(); handleBreadcrumbClick(index); }} onClick={(e) => { e.preventDefault(); handleBreadcrumbClick(-1); }}
style={{ textDecoration: 'none' }} style={{ textDecoration: 'none' }}
> >
{item.menuName} <CIcon icon={cilHome} className="me-1" />
</a> </a>
)} )}
</li> </li>
))} {breadcrumb.map((item, index) => (
</ol> <li
</nav> key={item.adminMenuSeq}
className={`breadcrumb-item ${index === breadcrumb.length - 1 ? 'active' : ''}`}
>
{index === breadcrumb.length - 1 ? (
<span>{item.menuName}</span>
) : (
<a
href="#"
onClick={(e) => { e.preventDefault(); handleBreadcrumbClick(index); }}
style={{ textDecoration: 'none' }}
>
{item.menuName}
</a>
)}
</li>
))}
</ol>
</nav>
<CButton
color="primary"
size="sm"
onClick={handleAddClick}
>
<CIcon icon={cilPlus} className="me-1" />
</CButton>
</div>
<CTable align="middle" className="mb-0 border" hover responsive style={{ tableLayout: 'fixed', minWidth: isCompact ? '400px' : '650px' }}> <CTable align="middle" className="mb-0 border" hover responsive style={{ tableLayout: 'fixed', minWidth: isCompact ? '400px' : '650px' }}>
<CTableHead className="text-nowrap"> <CTableHead className="text-nowrap">