Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
19efacef
Unverified
Commit
19efacef
authored
Feb 18, 2023
by
Zeng1998
Committed by
GitHub
Feb 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add desc for storage form (#1112)
parent
0f57629d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CreateStorageServiceDialog.tsx
web/src/components/CreateStorageServiceDialog.tsx
+7
-0
No files found.
web/src/components/CreateStorageServiceDialog.tsx
View file @
19efacef
...
@@ -158,30 +158,37 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
...
@@ -158,30 +158,37 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
<
div
className=
"dialog-content-container"
>
<
div
className=
"dialog-content-container"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
Name
Name
<
span
className=
"text-sm text-gray-400 ml-1"
>
(Unique identifier)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"Name"
value=
{
storageCreate
.
name
}
onChange=
{
handleNameChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"Name"
value=
{
storageCreate
.
name
}
onChange=
{
handleNameChange
}
fullWidth
/>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
EndPoint
EndPoint
<
span
className=
"text-sm text-gray-400 ml-1"
>
(S3-compatible server URL)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"EndPoint"
value=
{
storageCreate
.
endPoint
}
onChange=
{
handleEndPointChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"EndPoint"
value=
{
storageCreate
.
endPoint
}
onChange=
{
handleEndPointChange
}
fullWidth
/>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
Region
Region
<
span
className=
"text-sm text-gray-400 ml-1"
>
(Region name)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"Region"
value=
{
storageCreate
.
region
}
onChange=
{
handleRegionChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"Region"
value=
{
storageCreate
.
region
}
onChange=
{
handleRegionChange
}
fullWidth
/>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
AccessKey
AccessKey
<
span
className=
"text-sm text-gray-400 ml-1"
>
(Access Key / Access ID)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"AccessKey"
value=
{
storageCreate
.
accessKey
}
onChange=
{
handleAccessKeyChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"AccessKey"
value=
{
storageCreate
.
accessKey
}
onChange=
{
handleAccessKeyChange
}
fullWidth
/>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
SecretKey
SecretKey
<
span
className=
"text-sm text-gray-400 ml-1"
>
(Secret Key / Secret Access Key)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"SecretKey"
value=
{
storageCreate
.
secretKey
}
onChange=
{
handleSecretKeyChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"SecretKey"
value=
{
storageCreate
.
secretKey
}
onChange=
{
handleSecretKeyChange
}
fullWidth
/>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
Bucket
Bucket
<
span
className=
"text-sm text-gray-400 ml-1"
>
(Bucket name)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"Bucket"
value=
{
storageCreate
.
bucket
}
onChange=
{
handleBucketChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"Bucket"
value=
{
storageCreate
.
bucket
}
onChange=
{
handleBucketChange
}
fullWidth
/>
<
Typography
className=
"!mb-1"
level=
"body2"
>
<
Typography
className=
"!mb-1"
level=
"body2"
>
URLPrefix
URLPrefix
<
span
className=
"text-sm text-gray-400 ml-1"
>
(Custom URL prefix; Optional)
</
span
>
</
Typography
>
</
Typography
>
<
Input
className=
"mb-2"
placeholder=
"URLPrefix"
value=
{
storageCreate
.
urlPrefix
}
onChange=
{
handleURLPrefixChange
}
fullWidth
/>
<
Input
className=
"mb-2"
placeholder=
"URLPrefix"
value=
{
storageCreate
.
urlPrefix
}
onChange=
{
handleURLPrefixChange
}
fullWidth
/>
<
div
className=
"mt-2 w-full flex flex-row justify-end items-center space-x-1"
>
<
div
className=
"mt-2 w-full flex flex-row justify-end items-center space-x-1"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment