Commit 4c058fc4 authored by Annabel Dunstone's avatar Annabel Dunstone

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

parent b2c41171
......@@ -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) {
......
......@@ -280,11 +280,5 @@
background-color: $white-light;
color: $gl-placeholder-color;
}
th,
td {
padding: 16px;
}
}
}
.pipelines {
.stage {
max-width: 80px;
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment