diff --git a/src/components/Common/Table/index.tsx b/src/components/Common/Table/index.tsx new file mode 100644 index 000000000..50b3e4929 --- /dev/null +++ b/src/components/Common/Table/index.tsx @@ -0,0 +1,81 @@ +import React, { HTMLAttributes, AllHTMLAttributes } from 'react'; +import { withProperties } from '../../../utils/typeHelpers'; + +const TBody: React.FC = ({ children }) => { + return ( +
{children} + ); +}; + +const TH: React.FC- {intl.formatMessage(messages.jobname)} - | -- {intl.formatMessage(messages.nextexecution)} - | -- |
---|---|---|
-
- {job.name}
-
- |
-
-
-
- |
- - - | -
- {intl.formatMessage(messages.username)} - | -- {intl.formatMessage(messages.totalrequests)} - | -- {intl.formatMessage(messages.usertype)} - | -- {intl.formatMessage(messages.role)} - | -- {intl.formatMessage(messages.created)} - | -- {intl.formatMessage(messages.lastupdated)} - | -- |
---|---|---|---|---|---|---|
-
-
-
-
-
-
-
-
- {user.username}
-
-
- {user.email}
-
- |
-
-
- {user.requestCount}
-
- |
-
- |
- - {hasPermission(Permission.ADMIN, user.permissions) - ? intl.formatMessage(messages.admin) - : intl.formatMessage(messages.user)} - | -
- |
-
- |
- - - - | -