Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
772490c8
Commit
772490c8
authored
May 26, 2018
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tabs for bootstrap 4
parent
82430b2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
app/views/projects/clusters/new.html.haml
app/views/projects/clusters/new.html.haml
+5
-6
No files found.
app/views/projects/clusters/new.html.haml
View file @
772490c8
...
@@ -3,19 +3,18 @@
...
@@ -3,19 +3,18 @@
-
active_tab
=
local_assigns
.
fetch
(
:active_tab
,
'new'
)
-
active_tab
=
local_assigns
.
fetch
(
:active_tab
,
'new'
)
=
javascript_include_tag
'https://apis.google.com/js/api.js'
=
javascript_include_tag
'https://apis.google.com/js/api.js'
=
render_gcp_signup_offer
=
render_gcp_signup_offer
.row.prepend-top-default
.row.prepend-top-default
.col-sm-3
.col-sm-3
=
render
'sidebar'
=
render
'sidebar'
.col-lg-9.js-toggle-container
.col-lg-9.js-toggle-container
%ul
.nav-links.
gitlab-tabs
{
role:
'tablist'
}
%ul
.nav-links.
nav-tabs.gitlab-tabs.nav
{
role:
'tablist'
}
%li
{
class:
active_when
(
active_tab
==
'new'
),
role:
'presentation'
}
%li
.nav-item
{
role:
'presentation'
}
%a
{
href:
'#create-new-cluster-pane'
,
id:
'create-new-cluster-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%a
.nav-link
{
href:
'#create-new-cluster-pane'
,
id:
'create-new-cluster-tab'
,
class:
active_when
(
active_tab
==
'new'
)
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
Create new Cluster on GKE
%span
Create new Cluster on GKE
%li
{
class:
active_when
(
active_tab
==
'existing'
),
role:
'presentation'
}
%li
.nav-item
{
role:
'presentation'
}
%a
{
href:
'#add-existing-cluster-pane'
,
id:
'add-existing-cluster-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%a
.nav-link
{
href:
'#add-existing-cluster-pane'
,
id:
'add-existing-cluster-tab'
,
class:
active_when
(
active_tab
==
'existing'
)
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
Add existing cluster
%span
Add existing cluster
.tab-content.gitlab-tab-content
.tab-content.gitlab-tab-content
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment