This commit is contained in:
Wissam 2022-12-19 13:01:50 +02:00
Родитель 4769982b9a
Коммит fe579ca868
2 изменённых файлов: 12 добавлений и 20 удалений

Просмотреть файл

@ -35,8 +35,8 @@ export const EditDialog = (props) => {
onChange={handleInputChange}
/>
<DialogActionsBar>
<Button value={'rename'} className='k-button k-selected' onClick={handleDialogClick}>Rename</Button>
<Button value={'cancel'} className='k-button' onClick={handleDialogClick}>Cancel</Button>
<Button value={'rename'} themeColor='primary' onClick={handleDialogClick}>Rename</Button>
<Button value={'cancel'} themeColor='base' onClick={handleDialogClick}>Cancel</Button>
</DialogActionsBar>
</DialogComponent>
);
@ -58,8 +58,8 @@ export const DeleteDialog = (props) => {
<DialogComponent title={'Please confirm'} onClose={handleDialogClose}>
<p style={{ width: '350px', margin: '25px', textAlign: 'center' }}>Are you sure you want to delete the selected file? You cannot undo this action.</p>
<DialogActionsBar>
<Button value={'delete'} className='k-button k-selected' onClick={handleDialogClick}>Delete</Button>
<Button value={'cancel'} className='k-button' onClick={handleDialogClick}>Cancel</Button>
<Button value={'delete'} themeColor='primary' onClick={handleDialogClick}>Delete</Button>
<Button value={'cancel'} themeColor='base' onClick={handleDialogClick}>Cancel</Button>
</DialogActionsBar>
</DialogComponent>
);

Просмотреть файл

@ -129,21 +129,17 @@ export const FileManagerToolbar = (props) => {
}
<ButtonGroup>
<Button
className="k-toggle-button k-button-icon k-group-start"
togglable={true}
icon="k-icon k-i-sort-asc-sm"
selected={props.sort[0].dir === 'asc'}
onClick={handleAscBtnClick}
>
<span className="k-icon k-i-sort-asc-sm"></span>
</Button>
/>
<Button
className="k-toggle-button k-button k-button-icon k-group-end"
togglable={true}
icon="k-icon k-i-sort-desc-sm"
selected={props.sort[0].dir === 'desc'}
onClick={handleDescSortBtnClick}
>
<span className="k-icon k-i-sort-desc-sm"></span>
</Button>
/>
</ButtonGroup>
<SplitButton
text={'Sort By'}
@ -153,21 +149,17 @@ export const FileManagerToolbar = (props) => {
</SplitButton>
<ButtonGroup>
<Button
className={"k-toggle-button k-button-icon k-group-start"}
togglable={true}
icon="k-icon k-i-grid-layout"
selected={viewBtnGroup.gridView}
onClick={handleGridViewChange}
>
<span className="k-icon k-i-grid-layout"></span>
</Button>
/>
<Button
className={"k-toggle-button k-button-icon k-group-end"}
togglable={true}
icon="k-icon k-i-grid"
selected={viewBtnGroup.listView}
onClick={handleListViewChange}
>
<span className="k-icon k-i-grid"></span>
</Button>
/>
</ButtonGroup>
<div className="k-spacer">&nbsp;</div>
<div className="k-filemanager-details-toggle">