add role
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user