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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f1e6a9c8
Commit
f1e6a9c8
authored
Jul 11, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use svg icons for gpg popovers
parent
e5c9c714
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
app/assets/stylesheets/pages/commits.scss
app/assets/stylesheets/pages/commits.scss
+17
-3
app/views/projects/commit/_invalid_signature_badge.html.haml
app/views/projects/commit/_invalid_signature_badge.html.haml
+2
-1
app/views/projects/commit/_valid_signature_badge.html.haml
app/views/projects/commit/_valid_signature_badge.html.haml
+2
-1
No files found.
app/assets/stylesheets/pages/commits.scss
View file @
f1e6a9c8
...
@@ -304,16 +304,30 @@
...
@@ -304,16 +304,30 @@
}
}
.gpg-popover-icon
{
.gpg-popover-icon
{
font-size
:
35px
;
// same margin as .s32.avatar
// same margin as .s32.avatar
margin-right
:
$btn-side-margin
;
margin-right
:
$btn-side-margin
;
&
.valid
{
&
.valid
{
color
:
$brand-success
;
svg
{
border
:
1px
solid
$brand-success
;
fill
:
$brand-success
;
}
}
}
&
.invalid
{
&
.invalid
{
color
:
$gray
;
svg
{
border
:
1px
solid
$gray
;
fill
:
$gray
;
}
}
svg
{
width
:
32px
;
height
:
32px
;
border-radius
:
50%
;
vertical-align
:
middle
;
}
}
}
}
...
...
app/views/projects/commit/_invalid_signature_badge.html.haml
View file @
f1e6a9c8
-
title
=
capture
do
-
title
=
capture
do
%i
{
class:
'fa fa-question-circle gpg-popover-icon invalid'
,
'aria-hidden'
=>
'true'
}
.gpg-popover-icon.invalid
=
render
'shared/icons/icon_status_notfound_borderless.svg'
%div
%div
This commit was signed with an
<strong>
unverified
</strong>
signature.
This commit was signed with an
<strong>
unverified
</strong>
signature.
...
...
app/views/projects/commit/_valid_signature_badge.html.haml
View file @
f1e6a9c8
-
title
=
capture
do
-
title
=
capture
do
%i
{
class:
'fa fa-check-circle gpg-popover-icon valid'
,
'aria-hidden'
=>
'true'
}
.gpg-popover-icon.valid
=
render
'shared/icons/icon_status_success_borderless.svg'
%div
%div
This commit was signed with a
<strong>
verified
</strong>
signature.
This commit was signed with a
<strong>
verified
</strong>
signature.
...
...
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