add link to create of many tasks from project page (#5002)
* add link to create of many tasks from project page * add dropdown for task actions * add return to project after multi tasks creatingmain
parent
20bf2883f0
commit
5f44603db2
@ -0,0 +1,30 @@
|
|||||||
|
// Copyright (C) 2022 Intel Corporation
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
@import '../../../base.scss';
|
||||||
|
|
||||||
|
.cvat-dropdown-menu-paper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background: $background-color-1;
|
||||||
|
padding: $grid-unit-size;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: $box-shadow-base;
|
||||||
|
|
||||||
|
> * {
|
||||||
|
&:not(:first-child) {
|
||||||
|
margin-top: $grid-unit-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.ant-upload {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
// Copyright (C) 2022 Intel Corporation
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
import React from 'react';
|
||||||
|
import './index.scss';
|
||||||
|
|
||||||
|
export default function DropdownMenuPaper({ children }: { children: React.ReactNode }): JSX.Element {
|
||||||
|
return (
|
||||||
|
<div className='cvat-dropdown-menu-paper'>{children}</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue