Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
5c3b0c1f
Commit
5c3b0c1f
authored
7 years ago
by
Annabel Gray
Committed by
Clement Ho
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Resolve "Active tab for new project doesn't change properly"
parent
e04b38ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
app/assets/stylesheets/bootstrap_migration.scss
app/assets/stylesheets/bootstrap_migration.scss
+3
-1
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+6
-6
No files found.
app/assets/stylesheets/bootstrap_migration.scss
View file @
5c3b0c1f
...
...
@@ -183,7 +183,9 @@ table {
.nav-tabs
{
.nav-link
{
border
:
0
;
border-top
:
0
;
border-left
:
0
;
border-right
:
0
;
}
.nav-item
{
...
...
This diff is collapsed.
Click to expand it.
app/views/projects/new.html.haml
View file @
5c3b0c1f
...
...
@@ -29,16 +29,16 @@
.col-lg-9.js-toggle-container
%ul
.nav.nav-tabs.nav-links.gitlab-tabs
{
role:
'tablist'
}
%li
{
class:
active_when
(
active_tab
==
'blank'
),
role:
'presentation'
}
%a
{
href:
'#blank-project-pane'
,
id:
'blank-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%li
.nav-item
{
role:
'presentation'
}
%a
.nav-link.active
{
href:
'#blank-project-pane'
,
id:
'blank-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
.d-none.d-sm-block
Blank project
%span
.d-block.d-sm-none
Blank
%li
{
class:
active_when
(
active_tab
==
'template'
),
role:
'presentation'
}
%a
{
href:
'#create-from-template-pane'
,
id:
'create-from-template-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%li
.nav-item
{
role:
'presentation'
}
%a
.nav-link
{
href:
'#create-from-template-pane'
,
id:
'create-from-template-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
.d-none.d-sm-block
Create from template
%span
.d-block.d-sm-none
Template
%li
{
class:
active_when
(
active_tab
==
'import'
),
role:
'presentation'
}
%a
{
href:
'#import-project-pane'
,
id:
'import-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%li
.nav-item
{
role:
'presentation'
}
%a
.nav-link
{
href:
'#import-project-pane'
,
id:
'import-project-tab'
,
data:
{
toggle:
'tab'
},
role:
'tab'
}
%span
.d-none.d-sm-block
Import project
%span
.d-block.d-sm-none
Import
...
...
This diff is collapsed.
Click to expand it.
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