1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { ExpansionPanel, ExpansionPanelDetails, ExpansionPanelSummary } from '@material-ui/core';
7 import { reduxForm, Field } from 'redux-form';
8 import { Grid } from '@material-ui/core';
9 import { TextField } from '~/components/text-field/text-field';
10 import { ExpandIcon } from '~/components/icon/icon';
12 export const RUN_PROCESS_ADVANCED_FORM = 'runProcessAdvancedForm';
14 export interface RunProcessAdvancedFormData {
19 export const RunProcessAdvancedForm =
20 reduxForm<RunProcessAdvancedFormData>({
21 form: RUN_PROCESS_ADVANCED_FORM
24 <ExpansionPanel elevation={0}>
25 <ExpansionPanelSummary style={{ padding: 0 }} expandIcon={<ExpandIcon />}>
27 </ExpansionPanelSummary>
28 <ExpansionPanelDetails style={{ padding: 0 }}>
29 <Grid container spacing={32}>
30 <Grid item xs={12} md={6}>
34 label="Output name" />
36 <Grid item xs={12} md={6}>
40 label="Runtime limit (hh)" />
43 </ExpansionPanelDetails>