summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_cluster.html.haml
blob: f11117ea5c4b54cd113761dabb875bd307ce8636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.card
  .card-body.gl-responsive-table-row
    .table-section.section-60
      .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
      .table-mobile-content.gl-display-flex.gl-align-items-center.gl-justify-content-end.gl-justify-content-md-start
        .gl-w-6.gl-h-6.gl-mr-3.gl-display-flex.gl-align-items-center= provider_icon(cluster.provider_type)
        = cluster.item_link(clusterable, html_options: { data: { qa_selector: 'cluster', qa_cluster_name: cluster.name } })
        - if cluster.status_name == :creating
          .spinner.ml-2.align-middle.has-tooltip{ title: s_("ClusterIntegration|Cluster being created") }
        - unless cluster.enabled?
          %span.badge.badge-danger Connection disabled
    .table-section.section-25
      .table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Environment scope")
      .table-mobile-content= cluster.environment_scope
    .table-section.section-15.text-right
      .table-mobile-header{ role: "rowheader" }
      .table-mobile-content
        %span.badge.badge-light
          = cluster.cluster_type_description