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
Tatuya Kamada
gitlab-ce
Commits
19b36862
Commit
19b36862
authored
Oct 28, 2016
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change retry button color
parent
7c977e10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+5
-1
app/views/projects/builds/_header.html.haml
app/views/projects/builds/_header.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/builds.scss
View file @
19b36862
...
@@ -57,10 +57,14 @@
...
@@ -57,10 +57,14 @@
min-height
:
58px
;
min-height
:
58px
;
align-items
:
center
;
align-items
:
center
;
.btn-inverted
{
@include
btn-outline
(
$white-light
,
$blue-normal
,
$blue-normal
,
$blue-light
,
$white-light
,
$blue-light
);
}
@media
(
max-width
:
$screen-sm-max
)
{
@media
(
max-width
:
$screen-sm-max
)
{
padding-right
:
40px
;
padding-right
:
40px
;
.btn-
primary
{
.btn-
inverted
{
display
:
none
;
display
:
none
;
}
}
}
}
...
...
app/views/projects/builds/_header.html.haml
View file @
19b36862
...
@@ -14,6 +14,6 @@
...
@@ -14,6 +14,6 @@
=
render
"user"
=
render
"user"
=
time_ago_with_tooltip
(
@build
.
created_at
)
=
time_ago_with_tooltip
(
@build
.
created_at
)
-
if
can?
(
current_user
,
:update_build
,
@build
)
&&
@build
.
retryable?
-
if
can?
(
current_user
,
:update_build
,
@build
)
&&
@build
.
retryable?
=
link_to
"Retry build"
,
retry_namespace_project_build_path
(
@project
.
namespace
,
@project
,
@build
),
class:
'btn btn-
primary
pull-right'
,
method: :post
=
link_to
"Retry build"
,
retry_namespace_project_build_path
(
@project
.
namespace
,
@project
,
@build
),
class:
'btn btn-
inverted
pull-right'
,
method: :post
%button
.btn.btn-default.pull-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle
{
role:
"button"
,
type:
"button"
}
%button
.btn.btn-default.pull-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle
{
role:
"button"
,
type:
"button"
}
=
icon
(
'angle-double-left'
)
=
icon
(
'angle-double-left'
)
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