Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
duanledexianxianxian
ant-design-pro
Commits
9da8cb53
Commit
9da8cb53
authored
Jun 06, 2018
by
jim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve accessibility
parent
344c9f74
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
src/components/GlobalFooter/index.js
src/components/GlobalFooter/index.js
+6
-1
src/components/GlobalHeader/RightContent.js
src/components/GlobalHeader/RightContent.js
+6
-1
src/components/HeaderSearch/index.js
src/components/HeaderSearch/index.js
+1
-0
src/layouts/Footer.js
src/layouts/Footer.js
+0
-1
No files found.
src/components/GlobalFooter/index.js
View file @
9da8cb53
...
...
@@ -9,7 +9,12 @@ const GlobalFooter = ({ className, links, copyright }) => {
{
links
&&
(
<
div
className
=
{
styles
.
links
}
>
{
links
.
map
(
link
=>
(
<
a
key
=
{
link
.
key
}
target
=
{
link
.
blankTarget
?
'
_blank
'
:
'
_self
'
}
href
=
{
link
.
href
}
>
<
a
key
=
{
link
.
key
}
title
=
{
link
.
key
}
target
=
{
link
.
blankTarget
?
'
_blank
'
:
'
_self
'
}
href
=
{
link
.
href
}
>
{
link
.
title
}
<
/a
>
))}
...
...
src/components/GlobalHeader/RightContent.js
View file @
9da8cb53
...
...
@@ -125,7 +125,12 @@ export default class GlobalHeaderRight extends PureComponent {
{
currentUser
.
name
?
(
<
Dropdown
overlay
=
{
menu
}
>
<
span
className
=
{
`
${
styles
.
action
}
${
styles
.
account
}
`
}
>
<
Avatar
size
=
"
small
"
className
=
{
styles
.
avatar
}
src
=
{
currentUser
.
avatar
}
/
>
<
Avatar
size
=
"
small
"
className
=
{
styles
.
avatar
}
src
=
{
currentUser
.
avatar
}
alt
=
"
avatar
"
/>
<
span
className
=
{
styles
.
name
}
>
{
currentUser
.
name
}
<
/span
>
<
/span
>
<
/Dropdown
>
...
...
src/components/HeaderSearch/index.js
View file @
9da8cb53
...
...
@@ -78,6 +78,7 @@ export default class HeaderSearch extends PureComponent {
ref
=
{
node
=>
{
this
.
input
=
node
;
}}
aria
-
label
=
{
placeholder
}
placeholder
=
{
placeholder
}
onKeyDown
=
{
this
.
onKeyDown
}
onBlur
=
{
this
.
leaveSearchMode
}
...
...
src/layouts/Footer.js
View file @
9da8cb53
import
React
,
{
Fragment
}
from
'
react
'
;
import
{
Layout
,
Icon
}
from
'
antd
'
;
import
GlobalFooter
from
'
../components/GlobalFooter
'
;
...
...
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