Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
ec5dae98
Commit
ec5dae98
authored
Mar 25, 2018
by
Fabian Schneider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix personal access token clipboard button style
parent
391732a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+1
-6
app/views/profiles/personal_access_tokens/index.html.haml
app/views/profiles/personal_access_tokens/index.html.haml
+4
-2
changelogs/unreleased/43976-fix-access-token-clipboard-button-style.yml
...eleased/43976-fix-access-token-clipboard-button-style.yml
+5
-0
No files found.
app/assets/stylesheets/pages/profile.scss
View file @
ec5dae98
...
...
@@ -210,13 +210,8 @@
}
.created-personal-access-token-container
{
#created-personal-access-token
{
width
:
90%
;
display
:
inline
;
}
.btn-clipboard
{
margin-left
:
5px
;
border
:
1px
solid
$border-color
;
}
}
...
...
app/views/profiles/personal_access_tokens/index.html.haml
View file @
ec5dae98
...
...
@@ -19,8 +19,10 @@
%h5
.prepend-top-0
Your New Personal Access Token
.form-group
=
text_field_tag
'created-personal-access-token'
,
@new_personal_access_token
,
readonly:
true
,
class:
"form-control js-select-on-focus"
,
'aria-describedby'
=>
"created-personal-access-token-help-block"
=
clipboard_button
(
text:
@new_personal_access_token
,
title:
"Copy personal access token to clipboard"
,
placement:
"left"
)
.input-group
=
text_field_tag
'created-personal-access-token'
,
@new_personal_access_token
,
readonly:
true
,
class:
"form-control js-select-on-focus"
,
'aria-describedby'
=>
"created-personal-access-token-help-block"
%span
.input-group-btn
=
clipboard_button
(
text:
@new_personal_access_token
,
title:
"Copy personal access token to clipboard"
,
placement:
"left"
,
class:
"btn-default btn-clipboard"
)
%span
#created-personal-access-token-help-block
.help-block.text-danger
Make sure you save it - you won't be able to access it again.
%hr
...
...
changelogs/unreleased/43976-fix-access-token-clipboard-button-style.yml
0 → 100644
View file @
ec5dae98
---
title
:
Fix personal access token clipboard button style
merge_request
:
17978
author
:
Fabian Schneider
type
:
fixed
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