This commit is contained in:
hamid zarghami
2025-02-03 09:45:30 +03:30
parent a2fdfa8a65
commit 083c5c174b
2 changed files with 49 additions and 4 deletions
+47 -3
View File
@@ -3,6 +3,8 @@ import { useTranslation } from 'react-i18next'
import Button from '../../components/Button'
import { TickCircle } from 'iconsax-react'
import Input from '../../components/Input'
import CheckBoxComponent from '../../components/CheckBoxComponent'
import SwitchComponent from '../../components/Switch'
const RoleCreate: FC = () => {
@@ -41,15 +43,57 @@ const RoleCreate: FC = () => {
{t('user.permissions')}
</div>
<div className='mt-5 flex'>
<div className='mt-5 text-sm flex flex-wrap gap-5'>
<div className='flex flex-1 min-w-[23%] items-center'>
<CheckBoxComponent
checked
onChange={() => { }}
/>
<div>{t('all')}</div>
</div>
<div className='flex flex-1 min-w-[23%] items-center'>
<CheckBoxComponent
checked
onChange={() => { }}
/>
<div>{t('all')}</div>
</div>
<div className='flex flex-1 min-w-[23%] items-center'>
<CheckBoxComponent
checked
onChange={() => { }}
/>
<div>{t('all')}</div>
</div>
<div className='flex flex-1 min-w-[23%] items-center'>
<CheckBoxComponent
checked
onChange={() => { }}
/>
<div>{t('all')}</div>
</div>
<div className='flex flex-1 min-w-[23%] items-center'>
<CheckBoxComponent
checked
onChange={() => { }}
/>
<div>{t('all')}</div>
</div>
</div>
</div>
</div>
<div className='bg-white p-8 w-sidebar hidden xl:block rounded-3xl overflow-hidden relative'>
<div className='flex justify-between items-center'>
<div className='text-sm'>
{t('user.status_role')}
</div>
<SwitchComponent
active
onChange={() => { }}
/>
</div>
</div>
</div>
</div>