Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Accounts Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Accounts Web
Commits
cc273a06
Commit
cc273a06
authored
Jan 17, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better looking
parent
fc513784
Pipeline
#19642
passed with stages
in 2 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/routes/Profiles.js
src/routes/Profiles.js
+5
-6
No files found.
src/routes/Profiles.js
View file @
cc273a06
...
...
@@ -124,15 +124,14 @@ class Profiles extends React.Component {
style
=
{{
height
:
'
300px
'
,
width
:
'
300px
'
,
display
:
!
isUpload
?
'
block
'
:
'
none
'
}}
src
=
{
avatar
||
imageUrl
||
defaultAvatar
}
/
>
<
br
/>
<
Button
type
=
"
primary
"
onClick
=
{
this
.
handleUpload
}
style
=
{{
display
:
isUpload
?
'
inline-block
'
:
'
none
'
}}
>
<
Button
type
=
"
primary
"
onClick
=
{
this
.
handleUpload
}
style
=
{{
display
:
isUpload
?
'
inline-block
'
:
'
none
'
,
marginTop
:
'
2em
'
}}
>
<
Icon
type
=
"
check
"
/>
<
Format
id
=
"
Upload-Avatar
"
/>
<
/Button
>
<
br
/>
<
Button
type
=
"
default
"
>
<
Button
type
=
"
default
"
style
=
{{
marginTop
:
'
2em
'
}}
>
<
label
style
=
{{
display
:
'
flex
'
,
flex
:
1
,
justifyContent
:
'
center
'
,
alignItems
:
'
center
'
}}
>
<
Icon
type
=
"
plus
"
/>
<
Format
id
=
"
Change-Avatar
"
style
=
{{
display
:
isUpload
?
'
flex
'
:
'
none
'
}}
/
>
<
Icon
type
=
"
plus
"
style
=
{{
marginRight
:
'
0.5em
'
}}
/
>
{(
!
isUpload
)
&&
<
Format
id
=
"
Change-Avatar
"
/>
}
{
isUpload
&&
<
Format
id
=
"
Reselect-Avatar
"
/>
}
<
input
type
=
"
file
"
onChange
=
{
this
.
onGetFile
}
ref
=
{(
file
)
=>
{
this
.
file
=
file
;
...
...
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