summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_banner.html.haml
blob: b7d1aa6f9441e26ee4fb7b1631a61e5ab50d4e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.hidden.js-cluster-error.bs-callout.bs-callout-danger{ role: 'alert' }
  = s_('ClusterIntegration|Something went wrong while creating your Kubernetes cluster')
  %p.js-error-reason

.hidden.js-cluster-creating.bs-callout.bs-callout-info{ role: 'alert' }
  %span.gl-spinner.gl-spinner-dark{ 'aria-label': 'Loading' }
  %span.gl-ml-2= s_('ClusterIntegration|Kubernetes cluster is being created...')

= render Pajamas::AlertComponent.new(variant: :warning,
  alert_class: 'hidden js-cluster-api-unreachable') do
  .gl-alert-body
    = s_('ClusterIntegration|Your cluster API is unreachable. Please ensure your API URL is correct.')

= render Pajamas::AlertComponent.new(variant: :warning,
  alert_class: 'hidden js-cluster-authentication-failure js-cluster-api-unreachable') do
  .gl-alert-body
    = s_('ClusterIntegration|There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid.')

.hidden.js-cluster-success.bs-callout.bs-callout-success{ role: 'alert' }
  = s_("ClusterIntegration|Kubernetes cluster was successfully created.")