Replace generic table with

This commit is contained in:
Annabel Dunstone Gray 2016-10-10 16:21:08 -05:00
parent 5196f6028c
commit 0a79e5cd44
11 changed files with 14 additions and 14 deletions

View File

@ -52,13 +52,13 @@
} }
} }
.table.builds.environments { .table.ci-table.environments {
.icon-container { .icon-container {
width: 20px; width: 20px;
text-align: center; text-align: center;
} }
.branch-commit { .branch-commit {
.commit-id { .commit-id {
margin-right: 0; margin-right: 0;

View File

@ -264,7 +264,7 @@
line-height: 31px; line-height: 31px;
} }
.builds { .ci-table {
.table-holder { .table-holder {
overflow-x: auto; overflow-x: auto;
} }
@ -357,7 +357,7 @@
} }
.table-holder { .table-holder {
.builds { .ci-table {
th { th {
background-color: $white-light; background-color: $white-light;

View File

@ -20,7 +20,7 @@
margin: 4px; margin: 4px;
} }
.table.builds { .table.ci-table {
min-width: 1200px; min-width: 1200px;
.branch-commit { .branch-commit {
@ -44,7 +44,7 @@
overflow: auto; overflow: auto;
} }
.table.builds { .table.ci-table {
min-width: 900px; min-width: 900px;
&.pipeline { &.pipeline {

View File

@ -71,7 +71,7 @@
.col-md-6 .col-md-6
%h4 Recent builds served by this Runner %h4 Recent builds served by this Runner
%table.table.builds.runner-builds %table.table.ci-table.runner-builds
%thead %thead
%tr %tr
%th Build %th Build

View File

@ -5,7 +5,7 @@
.nothing-here-block No builds to show .nothing-here-block No builds to show
- else - else
.table-holder .table-holder
%table.table.builds %table.table.ci-table
%thead %thead
%tr %tr
%th Status %th Status

View File

@ -55,7 +55,7 @@
\.gitlab-ci.yml not found in this commit \.gitlab-ci.yml not found in this commit
.table-holder.pipeline-holder .table-holder.pipeline-holder
%table.table.builds.pipeline %table.table.ci-table.pipeline
%thead %thead
%tr %tr
%th Status %th Status

View File

@ -4,7 +4,7 @@
.nothing-here-block No pipelines to show .nothing-here-block No pipelines to show
- else - else
.table-holder .table-holder
%table.table.builds %table.table.ci-table
%tbody %tbody
%th Status %th Status
%th Pipeline %th Pipeline

View File

@ -24,7 +24,7 @@
New environment New environment
- else - else
.table-holder .table-holder
%table.table.builds.environments %table.table.ci-table.environments
%tbody %tbody
%th Environment %th Environment
%th Last Deployment %th Last Deployment

View File

@ -24,7 +24,7 @@
= link_to "Read more", help_page_path("ci/environments"), class: "btn btn-success" = link_to "Read more", help_page_path("ci/environments"), class: "btn btn-success"
- else - else
.table-holder .table-holder
%table.table.builds.environments %table.table.ci-table.environments
%thead %thead
%tr %tr
%th ID %th ID

View File

@ -43,7 +43,7 @@
.nothing-here-block No pipelines to show .nothing-here-block No pipelines to show
- else - else
.table-holder .table-holder
%table.table.builds %table.table.ci-table
%thead %thead
%th.col-xs-1.col-sm-1 Status %th.col-xs-1.col-sm-1 Status
%th.col-xs-2.col-sm-4 Pipeline %th.col-xs-2.col-sm-4 Pipeline

View File

@ -45,7 +45,7 @@ feature 'Merge request created from fork' do
page.within('.merge-request-tabs') { click_link 'Builds' } page.within('.merge-request-tabs') { click_link 'Builds' }
wait_for_ajax wait_for_ajax
page.within('table.builds') do page.within('table.ci-table') do
expect(page).to have_content 'rspec' expect(page).to have_content 'rspec'
expect(page).to have_content 'spinach' expect(page).to have_content 'spinach'
end end