Remove icons from tables; remove timestamp from pipelines, remove info block at top of pipelines

This commit is contained in:
Annabel Dunstone 2016-05-24 12:16:37 -05:00
parent b2c411710d
commit 4c058fc429
7 changed files with 3 additions and 32 deletions

View file

@ -281,7 +281,7 @@
}
.page-with-layout-nav {
margin-top: 50px;
margin-top: $header-height + 2;
&.controls-dropdown-visible {
@media (max-width: $screen-xs-min) {

View file

@ -280,11 +280,5 @@
background-color: $white-light;
color: $gl-placeholder-color;
}
th,
td {
padding: 16px;
}
}
}

View file

@ -1,6 +1,6 @@
.pipelines {
.stage {
max-width: 80px;
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View file

@ -57,14 +57,10 @@
%td.duration
- if build.duration
= icon("clock-o")
 
#{duration_in_words(build.finished_at, build.started_at)}
%td.timestamp
- if build.finished_at
= icon("calendar")
 
%span #{time_ago_with_tooltip(build.finished_at)}
- if defined?(coverage) && coverage

View file

@ -45,14 +45,7 @@
%td
- if commit.started_at && commit.finished_at
%p.duration
= icon("clock-o")
 
#{duration_in_words(commit.finished_at, commit.started_at)}
- if commit.finished_at
%p.finished_at
= icon("calendar")
 
#{time_ago_with_tooltip(commit.finished_at)}
%td
.controls.hidden-xs.pull-right

View file

@ -50,14 +50,10 @@
%td.duration
- if generic_commit_status.duration
= icon("clock-o")
 
#{duration_in_words(generic_commit_status.finished_at, generic_commit_status.started_at)}
%td.timestamp
- if generic_commit_status.finished_at
= icon("calendar")
 
%span #{time_ago_with_tooltip(generic_commit_status.finished_at)}
- if defined?(coverage) && coverage

View file

@ -36,14 +36,6 @@
= icon('wrench')
%span CI Lint
.row-content-block
- if @scope == 'running'
Running pipelines for this project
- elsif @scope.nil?
Pipelines for this project
- else
#{@scope.titleize} for this project
%ul.content-list.pipelines
- stages = @pipelines.stages
- if @pipelines.blank?
@ -59,7 +51,7 @@
%th.stage
%span.has-tooltip{ title: "#{stage.titleize}" }
= stage.titleize.pluralize
%th
%th Duration
%th
= render @pipelines, commit_sha: true, stage: true, allow_retry: true, stages: stages