X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9ec32d73b78aeb92b842aa8cf08bc859e084dcb1..486b1bf637827063cdedef283907da2dcc63ad22:/src/views/process-panel/process-details-attributes.tsx diff --git a/src/views/process-panel/process-details-attributes.tsx b/src/views/process-panel/process-details-attributes.tsx new file mode 100644 index 00000000..4f26a71f --- /dev/null +++ b/src/views/process-panel/process-details-attributes.tsx @@ -0,0 +1,65 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + +import React from "react"; +import { Grid } from "@material-ui/core"; +import { formatDate } from "common/formatters"; +import { resourceLabel } from "common/labels"; +import { DetailsAttribute } from "components/details-attribute/details-attribute"; +import { ProcessResource } from "models/process"; +import { ResourceKind } from "models/resource"; +import { ResourceOwnerWithName } from "views-components/data-explorer/renderers"; + +type CssRules = 'label' | 'value'; + +export const ProcessDetailsAttributes = (props: { item: ProcessResource, twoCol?: boolean, classes?: Record }) => { + const item = props.item; + const classes = props.classes || { label: '', value: '', button: '' }; + const mdSize = props.twoCol ? 6 : 12; + return + + + + + } /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; +};