+
{localize(
- 'create_new_app.button',
- 'Create New App'
+ 'create_new_app.or_select_from',
+ 'Or select from'
)}
-
-
- ) : (
-
- self.setState({
- appName: e.target.value,
- })
- }
- onSearch={(value) => self.onCreateNewAppClicked()}
- />
- )}
-
-
- {self.createProjectInApp()}
-
-
-
- self.setState({
- hasPersistency: !!e.target.checked,
- })
- }
- >
- {localize(
- 'create_new_app.has_persistent_data',
- 'Has Persistent Data'
- )}{' '}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/containers/apps/compose/DockerComposeEntry.tsx b/src/containers/apps/compose/DockerComposeEntry.tsx
new file mode 100644
index 00000000..5474087b
--- /dev/null
+++ b/src/containers/apps/compose/DockerComposeEntry.tsx
@@ -0,0 +1,48 @@
+import { Card, Col, Row } from 'antd'
+import { RouteComponentProps } from 'react-router'
+import ApiComponent from '../../global/ApiComponent'
+import CodeEdit from '../../global/CodeEdit'
+
+export const TEMPLATE_ONE_CLICK_APP = 'TEMPLATE_ONE_CLICK_APP'
+export const ONE_CLICK_APP_STRINGIFIED_KEY = 'oneClickAppStringifiedData'
+
+export default class OneClickAppSelector extends ApiComponent<
+ RouteComponentProps
,
+ {
+ templateOneClickAppData: string
+ }
+> {
+ constructor(props: any) {
+ super(props)
+ this.state = {
+ templateOneClickAppData: '',
+ }
+ }
+
+ componentDidMount() {
+ // const self = this
+ }
+
+ render() {
+ const self = this
+
+ return (
+
+
+
+
+
+ Testing Docker Compose
+ {
+ // self.setState({ templateOneClickAppData: newValue })
+ }}
+ />
+
+
+
+
+
+ )
+ }
+}