summaryrefslogtreecommitdiff
path: root/app/views/clusters/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/clusters/index.html.haml')
-rw-r--r--app/views/clusters/index.html.haml24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/views/clusters/index.html.haml b/app/views/clusters/index.html.haml
new file mode 100644
index 00000000000..a55de84b5cd
--- /dev/null
+++ b/app/views/clusters/index.html.haml
@@ -0,0 +1,24 @@
+- breadcrumb_title 'Kubernetes'
+- page_title "Kubernetes Clusters"
+
+= render_gcp_signup_offer
+
+.clusters-container
+ - if @clusters.empty?
+ = render "empty_state"
+ - else
+ .top-area.adjust
+ .nav-text
+ = s_("ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project")
+ .ci-table.js-clusters-list
+ .gl-responsive-table-row.table-row-header{ role: "row" }
+ .table-section.section-30{ role: "rowheader" }
+ = s_("ClusterIntegration|Kubernetes cluster")
+ .table-section.section-30{ role: "rowheader" }
+ = s_("ClusterIntegration|Environment scope")
+ .table-section.section-30{ role: "rowheader" }
+ = s_("ClusterIntegration|Project namespace")
+ .table-section.section-10{ role: "rowheader" }
+ - @clusters.each do |cluster|
+ = render "cluster", cluster: cluster.present(current_user: current_user)
+ = paginate @clusters, theme: "gitlab"