Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
cloud
Merge requests
!820
Issue
#3271378
: Refactor the CxUD forms in Cloud Dashboard
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3271378
: Refactor the CxUD forms in Cloud Dashboard
issue/cloud-3271378:3271378-refactor-code-of-cxud-forms-in-spa-2
into
5.x
Overview
1
Commits
2
Pipelines
0
Changes
3
Closed
Ryo Yamashita
requested to merge
issue/cloud-3271378:3271378-refactor-code-of-cxud-forms-in-spa-2
into
5.x
3 years ago
Overview
1
Commits
2
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Compare
5.x
version 1
e387dd1a
3 years ago
5.x (base)
and
latest version
latest version
b7853053
2 commits,
3 years ago
version 1
e387dd1a
3 commits,
3 years ago
3 files
+
0
−
136
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
modules/cloud_dashboard/cloud_dashboard/src/pages/openstack/OpenstackCreatePage.tsx deleted
100644 → 0
+
0
−
42
Options
import
PanelWrapper
from
'
atoms/PanelWrapper
'
;
import
Button
from
'
bootstrap3-components/Button
'
;
import
Col
from
'
bootstrap3-components/Col
'
;
import
FluidContainer
from
'
bootstrap3-components/FluidContainer
'
;
import
Form
from
'
bootstrap3-components/Form
'
;
import
GlyphIcon
from
'
bootstrap3-components/GlyphIcon
'
;
import
Row
from
'
bootstrap3-components/Row
'
;
import
KeyValueBlock
from
'
molecules/KeyValueBlock
'
;
import
MenuBar
from
'
organisms/MenuBar
'
;
import
{
useContext
}
from
'
react
'
;
import
{
useTranslation
}
from
'
react-i18next
'
;
import
{
AppContext
}
from
'
service/state
'
;
/**
* Page of entity creator.
*/
const
OpenStackCreatePage
=
()
=>
{
const
{
cloudContext
}
=
useContext
(
AppContext
);
const
{
t
}
=
useTranslation
();
return
<>
<
MenuBar
/>
<
FluidContainer
className
=
"px-0"
>
<
Row
className
=
"mx-0"
>
<
Col
>
<
Form
>
<
PanelWrapper
titleKey
=
{
cloudContext
.
name
}
title
=
{
cloudContext
.
name
}
>
<
KeyValueBlock
record
=
{
{
type
:
'
div
'
,
key
:
'
Cloud service provider
'
,
value
:
cloudContext
.
cloudServiceProvider
}
}
/>
<
KeyValueBlock
record
=
{
{
type
:
'
div
'
,
key
:
'
Cloud context
'
,
value
:
cloudContext
.
name
}
}
/>
</
PanelWrapper
>
<
Button
className
=
"icon-before btn-success"
>
<
GlyphIcon
iconName
=
"ok"
/>
{
'
'
+
t
(
'
Save
'
)
}
</
Button
>
</
Form
>
</
Col
>
</
Row
>
</
FluidContainer
>
</>;
}
export
default
OpenStackCreatePage
;
Loading