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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
25d779a3
Commit
25d779a3
authored
Mar 22, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove jobs page hack to make subnav 100% width
parent
3f8dbf30
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
+4
-9
app/assets/stylesheets/pages/builds.scss
app/assets/stylesheets/pages/builds.scss
+0
-6
app/views/layouts/_page.html.haml
app/views/layouts/_page.html.haml
+2
-1
app/views/projects/builds/show.html.haml
app/views/projects/builds/show.html.haml
+1
-1
app/views/projects/pipelines/_head.html.haml
app/views/projects/pipelines/_head.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/builds.scss
View file @
25d779a3
...
@@ -366,9 +366,3 @@
...
@@ -366,9 +366,3 @@
right
:
0
;
right
:
0
;
margin-top
:
-17px
;
margin-top
:
-17px
;
}
}
@media
(
min-width
:
$screen-md-min
)
{
.sub-nav.build
{
width
:
calc
(
100%
+
#{
$gutter_width
}
);
}
}
app/views/layouts/_page.html.haml
View file @
25d779a3
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
.layout-nav
.layout-nav
.container-fluid
.container-fluid
=
render
"layouts/nav/
#{
nav
}
"
=
render
"layouts/nav/
#{
nav
}
"
.content-wrapper
{
class:
layout_nav_class
}
-
if
content_for?
(
:sub_nav
)
=
yield
:sub_nav
=
yield
:sub_nav
.content-wrapper
{
class:
layout_nav_class
}
.alert-wrapper
.alert-wrapper
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
=
render
"layouts/flash"
=
render
"layouts/flash"
...
...
app/views/projects/builds/show.html.haml
View file @
25d779a3
-
@no_container
=
true
-
@no_container
=
true
-
page_title
"
#{
@build
.
name
}
(#
#{
@build
.
id
}
)"
,
"Jobs"
-
page_title
"
#{
@build
.
name
}
(#
#{
@build
.
id
}
)"
,
"Jobs"
=
render
"projects/pipelines/head"
,
build_subnav:
true
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
%div
{
class:
container_class
}
.build-page
.build-page
...
...
app/views/projects/pipelines/_head.html.haml
View file @
25d779a3
=
content_for
:sub_nav
do
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
{
class:
(
'build'
if
local_assigns
.
fetch
(
:build_subnav
,
false
))
}
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
-
if
project_nav_tab?
:pipelines
-
if
project_nav_tab?
:pipelines
=
nav_link
(
path:
'pipelines#index'
,
controller: :pipelines
)
do
=
nav_link
(
path:
'pipelines#index'
,
controller: :pipelines
)
do
...
...
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