Add unclickable state to running build artifacts

This commit is contained in:
Annabel Dunstone 2016-08-15 19:07:42 -05:00
parent 1501b1abc4
commit ad32057759
5 changed files with 10 additions and 4 deletions

View file

@ -176,6 +176,12 @@
.separator + .dropdown-header {
padding-top: 2px;
}
.unclickable {
cursor: not-allowed;
padding: 5px 8px;
color: $dropdown-header-color;
}
}
.dropdown-menu-large {

View file

@ -42,7 +42,7 @@
- unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(branch.name)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li

View file

@ -22,7 +22,7 @@
- unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(@ref)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li

View file

@ -33,7 +33,7 @@
- unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(ref)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li

View file

@ -20,7 +20,7 @@
- unless pipeline.latest?
- latest_pipeline = project.pipeline_for(ref)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li