Commit 8ef500a5 authored by Mike Greiling's avatar Mike Greiling Committed by Thong Kuah

Redesign cluster index

parent 236a0cb4
...@@ -86,6 +86,31 @@ ...@@ -86,6 +86,31 @@
.top-area .nav-controls > .btn.btn-add-cluster { .top-area .nav-controls > .btn.btn-add-cluster {
margin-right: 0; margin-right: 0;
} }
.clusters-table {
background-color: $gray-light;
padding: $gl-padding-8;
}
.badge-light {
background-color: $white-normal;
}
.gl-responsive-table-row {
padding: $gl-padding;
border: 0;
&.table-row-header {
background-color: none;
border: 0;
font-weight: bold;
color: $gl-gray-500;
}
}
}
.cluster-warning {
@include alert-variant(theme-color-level('warning', $alert-bg-level), theme-color-level('warning', $alert-border-level), theme-color-level('warning', $alert-color-level));
} }
.gcp-signup-offer { .gcp-signup-offer {
......
.gl-responsive-table-row .card
.table-section.section-60 .card-body.gl-responsive-table-row
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster") .table-section.section-60
.table-mobile-content .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
= link_to cluster.name, cluster.show_path .table-mobile-content
.table-section.section-25 = link_to cluster.name, cluster.show_path
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope") .table-section.section-25
.table-mobile-content= cluster.environment_scope .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope")
.table-section.section-15.text-right .table-mobile-content= cluster.environment_scope
.table-mobile-header{ role: "rowheader" } .table-section.section-15.text-right
.table-mobile-content .table-mobile-header{ role: "rowheader" }
%span.badge.badge-light .table-mobile-content
= cluster.project_type? ? s_("ClusterIntegration|Project cluster") : s_("ClusterIntegration|Group cluster") %span.badge.badge-light
= cluster.project_type? ? s_("ClusterIntegration|Project cluster") : s_("ClusterIntegration|Group cluster")
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
.nav-text .nav-text
= s_("ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project") = s_("ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project")
= render 'clusters/clusters/buttons' = render 'clusters/clusters/buttons'
.ci-table.js-clusters-list .clusters-table.js-clusters-list
.gl-responsive-table-row.table-row-header{ role: "row" } .gl-responsive-table-row.table-row-header{ role: "row" }
.table-section.section-60{ role: "rowheader" } .table-section.section-60{ role: "rowheader" }
= s_("ClusterIntegration|Kubernetes cluster") = s_("ClusterIntegration|Kubernetes cluster")
......
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