summaryrefslogtreecommitdiff
path: root/app/views/projects/clusters/_dropdown.html.haml
blob: 39188c7ca27033fcd82c3b48f8dd37f8380da261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%h4.prepend-top-0= s_('ClusterIntegration|Choose how to set up cluster integration')

.dropdown.clusters-dropdown
  %button.dropdown-menu-toggle.dropdown-menu-full-width{ type: 'button', data: { toggle: 'dropdown' }, 'aria-haspopup': true, 'aria-expanded': false }
    %span.dropdown-toggle-text
      = dropdown_text
    = icon('chevron-down')
  %ul.dropdown-menu.clusters-dropdown-menu.dropdown-menu-full-width
    %li
      = link_to(s_('ClusterIntegration|Create cluster on Google Container Engine'), gcp_new_namespace_project_clusters_path(@project.namespace, @project))
    %li
      = link_to(s_('ClusterIntegration|Add an existing cluster'), user_new_namespace_project_clusters_path(@project.namespace, @project))