diff --git a/cvat-ui/package.json b/cvat-ui/package.json index 59b3196f..84c8c2da 100644 --- a/cvat-ui/package.json +++ b/cvat-ui/package.json @@ -41,6 +41,7 @@ "@types/react-router-dom": "^5.1.0", "@types/react-share": "^3.0.1", "antd": "^3.25.2", + "copy-to-clipboard": "^3.2.0", "dotenv-webpack": "^1.7.0", "moment": "^2.24.0", "prop-types": "^15.7.2", diff --git a/cvat-ui/src/components/cvat-app.tsx b/cvat-ui/src/components/cvat-app.tsx index d9dcc8a3..4da7a460 100644 --- a/cvat-ui/src/components/cvat-app.tsx +++ b/cvat-ui/src/components/cvat-app.tsx @@ -139,7 +139,7 @@ export default class CVATApplication extends React.PureComponent { /> ), duration: null, - description: error.length > 200 ? '' : error, + description: error.length > 200 ? 'Open the Browser Console to get details' : error, }); console.error(error); diff --git a/cvat-ui/src/components/task-page/job-list.tsx b/cvat-ui/src/components/task-page/job-list.tsx index ad13707d..bf2d1a88 100644 --- a/cvat-ui/src/components/task-page/job-list.tsx +++ b/cvat-ui/src/components/task-page/job-list.tsx @@ -3,17 +3,21 @@ import React from 'react'; import { Row, Col, + Icon, Table, + Button, + Tooltip, } from 'antd'; import Text from 'antd/lib/typography/Text'; -import Title from 'antd/lib/typography/Title'; import moment from 'moment'; +import copy from 'copy-to-clipboard'; import UserSelector from './user-selector'; import getCore from '../../core'; + const core = getCore(); const baseURL = core.config.backendAPI.slice(0, -7); @@ -123,7 +127,32 @@ export default function JobListComponent(props: Props): JSX.Element {
- Jobs + Jobs + + + diff --git a/cvat-ui/src/stylesheet.css b/cvat-ui/src/stylesheet.css index 4c3c2b34..e8772391 100644 --- a/cvat-ui/src/stylesheet.css +++ b/cvat-ui/src/stylesheet.css @@ -435,6 +435,12 @@ background: white; } +.cvat-task-job-list > div:nth-child(1) > div:nth-child(1) { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + .cvat-task-top-bar { margin-top: 20px; margin-bottom: 10px; @@ -590,6 +596,8 @@ textarea.ant-input.cvat-raw-labels-viewer { .ant-typography.cvat-jobs-header { margin-bottom: 0px; + font-size: 20px; + font-weight: bold; } /* Pagination in center */