Commit 0a79e5cd authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Replace generic table with

parent 5196f602
...@@ -52,13 +52,13 @@ ...@@ -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;
......
...@@ -264,7 +264,7 @@ ...@@ -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 @@ ...@@ -357,7 +357,7 @@
} }
.table-holder { .table-holder {
.builds { .ci-table {
th { th {
background-color: $white-light; background-color: $white-light;
......
...@@ -20,7 +20,7 @@ ...@@ -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 @@ ...@@ -44,7 +44,7 @@
overflow: auto; overflow: auto;
} }
.table.builds { .table.ci-table {
min-width: 900px; min-width: 900px;
&.pipeline { &.pipeline {
......
...@@ -71,7 +71,7 @@ ...@@ -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
......
...@@ -5,7 +5,7 @@ ...@@ -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
......
...@@ -55,7 +55,7 @@ ...@@ -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
......
...@@ -4,7 +4,7 @@ ...@@ -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
......
...@@ -24,7 +24,7 @@ ...@@ -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
......
...@@ -24,7 +24,7 @@ ...@@ -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
......
...@@ -43,7 +43,7 @@ ...@@ -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
......
...@@ -45,7 +45,7 @@ feature 'Merge request created from fork' do ...@@ -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
......
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