diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-05 18:58:01 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-05 18:58:01 +0000 |
commit | 9caa7e7a54a5e3d261f77765868b07117a282a68 (patch) | |
tree | ca3c6b9de47499fde1f02aa39edef00deaafcaaa /app/assets | |
parent | 240400152242924e75ea81918b5cfdcf2441549c (diff) | |
parent | 9f3f22c8959b430811102fb790895e7edd61d3f9 (diff) | |
download | gitlab-ce-9caa7e7a54a5e3d261f77765868b07117a282a68.tar.gz |
Merge branch '24883-build-failure-summary-page' into 'master'
Build failures summary page for pipelines
Closes #24883
See merge request !10719
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/pipelines.scss | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index b87c57c38fe..b16ff2a0221 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -252,6 +252,7 @@ const ShortcutsBlob = require('./shortcuts_blob'); } break; case 'projects:pipelines:builds': + case 'projects:pipelines:failures': case 'projects:pipelines:show': const { controllerAction } = document.querySelector('.js-pipeline-container').dataset; const pipelineStatusUrl = `${document.querySelector('.js-pipeline-tab-link a').getAttribute('href')}/status.json`; diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index 9115d26c779..5cca77b5bf3 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -316,6 +316,32 @@ } } +.build-failures { + .build-state { + padding: 20px 2px; + + .build-name { + float: right; + font-weight: 500; + } + + .ci-status-icon-failed svg { + vertical-align: middle; + } + + .stage { + color: $gl-text-color-secondary; + font-weight: 500; + vertical-align: middle; + } + } + + .build-log { + border: none; + line-height: initial; + } +} + // Pipeline graph .pipeline-graph { width: 100%; |