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
fcf5e1b4
Commit
fcf5e1b4
authored
Sep 26, 2017
by
Annabel Dunstone Gray
Committed by
Phil Hughes
Sep 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port of remove-old-nav-styles to EE
parent
d537d251
Changes
110
Hide whitespace changes
Inline
Side-by-side
Showing
110 changed files
with
86 additions
and
575 deletions
+86
-575
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+2
-0
app/assets/stylesheets/framework/gitlab-theme.scss
app/assets/stylesheets/framework/gitlab-theme.scss
+4
-0
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+36
-0
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+0
-34
app/assets/stylesheets/framework/new-nav.scss
app/assets/stylesheets/framework/new-nav.scss
+0
-69
app/assets/stylesheets/framework/new-sidebar.scss
app/assets/stylesheets/framework/new-sidebar.scss
+0
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+40
-38
app/views/admin/audit_logs/index.html.haml
app/views/admin/audit_logs/index.html.haml
+0
-1
app/views/admin/background_jobs/show.html.haml
app/views/admin/background_jobs/show.html.haml
+0
-1
app/views/admin/cohorts/index.html.haml
app/views/admin/cohorts/index.html.haml
+0
-1
app/views/admin/conversational_development_index/show.html.haml
...ews/admin/conversational_development_index/show.html.haml
+0
-2
app/views/admin/dashboard/_head.html.haml
app/views/admin/dashboard/_head.html.haml
+0
-37
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+0
-1
app/views/admin/groups/index.html.haml
app/views/admin/groups/index.html.haml
+0
-1
app/views/admin/health_check/show.html.haml
app/views/admin/health_check/show.html.haml
+0
-1
app/views/admin/jobs/index.html.haml
app/views/admin/jobs/index.html.haml
+0
-1
app/views/admin/logs/show.html.haml
app/views/admin/logs/show.html.haml
+0
-1
app/views/admin/monitoring/_head.html.haml
app/views/admin/monitoring/_head.html.haml
+0
-26
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+0
-1
app/views/admin/requests_profiles/index.html.haml
app/views/admin/requests_profiles/index.html.haml
+0
-1
app/views/admin/runners/index.html.haml
app/views/admin/runners/index.html.haml
+0
-1
app/views/admin/system_info/show.html.haml
app/views/admin/system_info/show.html.haml
+0
-1
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+0
-1
app/views/groups/_head.html.haml
app/views/groups/_head.html.haml
+0
-17
app/views/groups/_head_issues.html.haml
app/views/groups/_head_issues.html.haml
+0
-25
app/views/groups/_settings_head.html.haml
app/views/groups/_settings_head.html.haml
+0
-21
app/views/groups/activity.html.haml
app/views/groups/activity.html.haml
+0
-1
app/views/groups/audit_events/index.html.haml
app/views/groups/audit_events/index.html.haml
+0
-1
app/views/groups/billings/index.html.haml
app/views/groups/billings/index.html.haml
+0
-1
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+0
-1
app/views/groups/hooks/index.html.haml
app/views/groups/hooks/index.html.haml
+0
-1
app/views/groups/issues.html.haml
app/views/groups/issues.html.haml
+0
-1
app/views/groups/labels/index.html.haml
app/views/groups/labels/index.html.haml
+0
-3
app/views/groups/milestones/index.html.haml
app/views/groups/milestones/index.html.haml
+0
-2
app/views/groups/pipeline_quota/index.html.haml
app/views/groups/pipeline_quota/index.html.haml
+0
-1
app/views/groups/projects.html.haml
app/views/groups/projects.html.haml
+0
-1
app/views/groups/settings/ci_cd/show.html.haml
app/views/groups/settings/ci_cd/show.html.haml
+0
-1
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+0
-1
app/views/groups/subgroups.html.haml
app/views/groups/subgroups.html.haml
+0
-1
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+0
-4
app/views/projects/_head.html.haml
app/views/projects/_head.html.haml
+0
-17
app/views/projects/activity.html.haml
app/views/projects/activity.html.haml
+0
-2
app/views/projects/artifacts/browse.html.haml
app/views/projects/artifacts/browse.html.haml
+0
-1
app/views/projects/artifacts/file.html.haml
app/views/projects/artifacts/file.html.haml
+0
-1
app/views/projects/audit_events/index.html.haml
app/views/projects/audit_events/index.html.haml
+0
-2
app/views/projects/blame/show.html.haml
app/views/projects/blame/show.html.haml
+0
-1
app/views/projects/blob/edit.html.haml
app/views/projects/blob/edit.html.haml
+0
-1
app/views/projects/blob/show.html.haml
app/views/projects/blob/show.html.haml
+0
-1
app/views/projects/branches/index.html.haml
app/views/projects/branches/index.html.haml
+0
-1
app/views/projects/commit/show.html.haml
app/views/projects/commit/show.html.haml
+0
-1
app/views/projects/commits/_head.html.haml
app/views/projects/commits/_head.html.haml
+0
-41
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+0
-3
app/views/projects/compare/index.html.haml
app/views/projects/compare/index.html.haml
+0
-1
app/views/projects/compare/show.html.haml
app/views/projects/compare/show.html.haml
+0
-1
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+0
-2
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+0
-2
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+0
-1
app/views/projects/environments/edit.html.haml
app/views/projects/environments/edit.html.haml
+0
-1
app/views/projects/environments/folder.html.haml
app/views/projects/environments/folder.html.haml
+0
-1
app/views/projects/environments/index.html.haml
app/views/projects/environments/index.html.haml
+0
-1
app/views/projects/environments/metrics.html.haml
app/views/projects/environments/metrics.html.haml
+0
-2
app/views/projects/environments/new.html.haml
app/views/projects/environments/new.html.haml
+0
-1
app/views/projects/environments/show.html.haml
app/views/projects/environments/show.html.haml
+0
-1
app/views/projects/environments/terminal.html.haml
app/views/projects/environments/terminal.html.haml
+0
-1
app/views/projects/find_file/show.html.haml
app/views/projects/find_file/show.html.haml
+0
-1
app/views/projects/graphs/charts.html.haml
app/views/projects/graphs/charts.html.haml
+0
-1
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+0
-2
app/views/projects/hook_logs/show.html.haml
app/views/projects/hook_logs/show.html.haml
+0
-2
app/views/projects/hooks/edit.html.haml
app/views/projects/hooks/edit.html.haml
+0
-2
app/views/projects/issues/_head.html.haml
app/views/projects/issues/_head.html.haml
+0
-34
app/views/projects/issues/index.html.haml
app/views/projects/issues/index.html.haml
+0
-2
app/views/projects/jobs/index.html.haml
app/views/projects/jobs/index.html.haml
+0
-1
app/views/projects/jobs/show.html.haml
app/views/projects/jobs/show.html.haml
+0
-1
app/views/projects/labels/edit.html.haml
app/views/projects/labels/edit.html.haml
+0
-1
app/views/projects/labels/index.html.haml
app/views/projects/labels/index.html.haml
+0
-2
app/views/projects/labels/new.html.haml
app/views/projects/labels/new.html.haml
+0
-1
app/views/projects/merge_requests/_head.html.haml
app/views/projects/merge_requests/_head.html.haml
+0
-21
app/views/projects/merge_requests/index.html.haml
app/views/projects/merge_requests/index.html.haml
+0
-3
app/views/projects/milestones/edit.html.haml
app/views/projects/milestones/edit.html.haml
+0
-1
app/views/projects/milestones/index.html.haml
app/views/projects/milestones/index.html.haml
+0
-2
app/views/projects/milestones/new.html.haml
app/views/projects/milestones/new.html.haml
+0
-1
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+0
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+0
-1
app/views/projects/pages/show.html.haml
app/views/projects/pages/show.html.haml
+0
-1
app/views/projects/path_locks/index.html.haml
app/views/projects/path_locks/index.html.haml
+0
-1
app/views/projects/pipeline_schedules/index.html.haml
app/views/projects/pipeline_schedules/index.html.haml
+0
-2
app/views/projects/pipelines/_head.html.haml
app/views/projects/pipelines/_head.html.haml
+0
-34
app/views/projects/pipelines/charts.html.haml
app/views/projects/pipelines/charts.html.haml
+0
-1
app/views/projects/pipelines/index.html.haml
app/views/projects/pipelines/index.html.haml
+0
-2
app/views/projects/pipelines/show.html.haml
app/views/projects/pipelines/show.html.haml
+0
-1
app/views/projects/releases/edit.html.haml
app/views/projects/releases/edit.html.haml
+0
-1
app/views/projects/services/edit.html.haml
app/views/projects/services/edit.html.haml
+0
-1
app/views/projects/settings/_head.html.haml
app/views/projects/settings/_head.html.haml
+0
-32
app/views/projects/settings/ci_cd/show.html.haml
app/views/projects/settings/ci_cd/show.html.haml
+0
-2
app/views/projects/settings/integrations/show.html.haml
app/views/projects/settings/integrations/show.html.haml
+0
-1
app/views/projects/settings/members/show.html.haml
app/views/projects/settings/members/show.html.haml
+0
-1
app/views/projects/settings/repository/show.html.haml
app/views/projects/settings/repository/show.html.haml
+0
-2
app/views/projects/settings/slacks/edit.html.haml
app/views/projects/settings/slacks/edit.html.haml
+0
-1
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+0
-1
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+0
-1
app/views/projects/tags/show.html.haml
app/views/projects/tags/show.html.haml
+0
-1
app/views/projects/tree/show.html.haml
app/views/projects/tree/show.html.haml
+0
-2
app/views/shared/_mr_head.html.haml
app/views/shared/_mr_head.html.haml
+0
-4
app/views/shared/_nav_scroll.html.haml
app/views/shared/_nav_scroll.html.haml
+0
-4
app/views/shared/boards/_show.html.haml
app/views/shared/boards/_show.html.haml
+0
-5
config/application.rb
config/application.rb
+0
-2
spec/features/issues/bulk_assignment_labels_spec.rb
spec/features/issues/bulk_assignment_labels_spec.rb
+1
-1
spec/features/issues/update_issues_spec.rb
spec/features/issues/update_issues_spec.rb
+1
-1
spec/features/merge_requests/update_merge_requests_spec.rb
spec/features/merge_requests/update_merge_requests_spec.rb
+1
-1
No files found.
app/assets/stylesheets/framework.scss
View file @
fcf5e1b4
...
...
@@ -31,10 +31,12 @@
@import
"framework/modal"
;
@import
"framework/media_object"
;
@import
"framework/nav"
;
@import
"framework/new-nav"
;
@import
"framework/pagination"
;
@import
"framework/panels"
;
@import
"framework/selects"
;
@import
"framework/sidebar"
;
@import
"framework/new-sidebar"
;
@import
"framework/tables"
;
@import
"framework/notes"
;
@import
"framework/timeline"
;
...
...
app/assets/stylesheets/framework/gitlab-theme.scss
View file @
fcf5e1b4
...
...
@@ -254,6 +254,10 @@ body {
.search-icon
{
color
:
$theme-gray-200
;
}
.search-input
{
color
:
$gl-text-color
;
}
}
.location-badge
{
...
...
app/assets/stylesheets/framework/mixins.scss
View file @
fcf5e1b4
...
...
@@ -144,3 +144,39 @@
@mixin
green-status-color
{
@include
status-color
(
$green-50
,
$green-500
,
$green-700
);
}
@mixin
fade
(
$gradient-direction
,
$gradient-color
)
{
visibility
:
hidden
;
opacity
:
0
;
z-index
:
2
;
position
:
absolute
;
bottom
:
12px
;
width
:
43px
;
height
:
30px
;
transition-duration
:
.3s
;
-webkit-transform
:
translateZ
(
0
);
background
:
linear-gradient
(
to
$gradient-direction
,
$gradient-color
45%
,
rgba
(
$gradient-color
,
0
.4
));
&
.scrolling
{
visibility
:
visible
;
opacity
:
1
;
transition-duration
:
.3s
;
}
.fa
{
position
:
relative
;
top
:
5px
;
font-size
:
18px
;
}
}
@mixin
scrolling-links
()
{
overflow-x
:
auto
;
overflow-y
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
display
:
flex
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
}
}
app/assets/stylesheets/framework/nav.scss
View file @
fcf5e1b4
@mixin
fade
(
$gradient-direction
,
$gradient-color
)
{
visibility
:
hidden
;
opacity
:
0
;
z-index
:
2
;
position
:
absolute
;
bottom
:
12px
;
width
:
43px
;
height
:
30px
;
transition-duration
:
.3s
;
-webkit-transform
:
translateZ
(
0
);
background
:
linear-gradient
(
to
$gradient-direction
,
$gradient-color
45%
,
rgba
(
$gradient-color
,
0
.4
));
&
.scrolling
{
visibility
:
visible
;
opacity
:
1
;
transition-duration
:
.3s
;
}
.fa
{
position
:
relative
;
top
:
5px
;
font-size
:
18px
;
}
}
@mixin
scrolling-links
()
{
overflow-x
:
auto
;
overflow-y
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
display
:
flex
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
}
}
.nav-links
{
display
:
flex
;
...
...
app/assets/stylesheets/
new_
nav.scss
→
app/assets/stylesheets/
framework/new-
nav.scss
View file @
fcf5e1b4
...
...
@@ -295,75 +295,6 @@ header.navbar-gitlab-new {
margin-top
:
4px
;
}
.search
{
margin
:
4px
8px
0
;
form
{
height
:
32px
;
border
:
0
;
border-radius
:
$border-radius-default
;
transition
:
border-color
ease-in-out
0
.15s
,
background-color
ease-in-out
0
.15s
;
&
:hover
{
box-shadow
:
none
;
}
}
&
.search-active
form
{
box-shadow
:
none
;
.search-input
{
color
:
$gl-text-color
;
transition
:
color
ease-in-out
0
.15s
;
}
.
search-input
:
:
placeholder
{
color
:
$gl-text-color-tertiary
;
}
.search-input-wrap
{
.search-icon
,
.clear-icon
{
color
:
$gl-text-color-tertiary
;
transition
:
color
ease-in-out
0
.15s
;
}
}
}
.search-input
{
color
:
$white-light
;
background
:
none
;
transition
:
color
ease-in-out
0
.15s
;
}
.
search-input
:
:
placeholder
{
transition
:
color
ease-in-out
0
.15s
;
}
.location-badge
{
font-size
:
12px
;
margin
:
-4px
4px
-4px
-4px
;
line-height
:
25px
;
padding
:
4px
8px
;
border-radius
:
2px
0
0
2px
;
height
:
32px
;
transition
:
border-color
ease-in-out
0
.15s
;
}
&
.search-active
{
.location-badge
{
background-color
:
$nav-badge-bg
;
border-color
:
$border-color
;
}
.search-input-wrap
{
.clear-icon
{
color
:
$white-light
;
}
}
}
}
.breadcrumbs
{
display
:
flex
;
min-height
:
48px
;
...
...
app/assets/stylesheets/
new_
sidebar.scss
→
app/assets/stylesheets/
framework/new-
sidebar.scss
View file @
fcf5e1b4
File moved
app/assets/stylesheets/framework/variables.scss
View file @
fcf5e1b4
...
...
@@ -6,6 +6,7 @@ $gutter_width: 290px;
$gutter_inner_width
:
250px
;
$sidebar-transition-duration
:
.15s
;
$sidebar-breakpoint
:
1024px
;
$default-transition-duration
:
.15s
;
/*
* Color schema
...
...
app/assets/stylesheets/pages/search.scss
View file @
fcf5e1b4
...
...
@@ -28,9 +28,7 @@ input[type="checkbox"]:hover {
}
.search
{
margin-right
:
10px
;
margin-left
:
10px
;
margin-top
:
(
$header-height
-
35
)
/
2
;
margin
:
4px
8px
0
;
form
{
@extend
.form-control
;
...
...
@@ -38,15 +36,23 @@ input[type="checkbox"]:hover {
padding
:
4px
;
width
:
$search-input-width
;
line-height
:
24px
;
height
:
32px
;
border
:
0
;
border-radius
:
$border-radius-default
;
transition
:
border-color
ease-in-out
$default-transition-duration
,
background-color
ease-in-out
$default-transition-duration
;
&
:hover
{
border-color
:
lighten
(
$dropdown-input-focus-border
,
20%
);
box-shadow
:
0
0
4px
lighten
(
$search-input-focus-shadow-color
,
20%
);
box-shadow
:
none
;
}
}
.location-text
{
font-style
:
normal
;
.location-badge
{
font-size
:
12px
;
margin
:
-4px
4px
-4px
-4px
;
line-height
:
25px
;
padding
:
4px
8px
;
border-radius
:
$border-radius-default
0
0
$border-radius-default
;
transition
:
border-color
ease-in-out
$default-transition-duration
;
}
.search-input
{
...
...
@@ -56,41 +62,26 @@ input[type="checkbox"]:hover {
margin-left
:
5px
;
line-height
:
25px
;
width
:
98%
;
color
:
$white-light
;
background
:
none
;
transition
:
color
ease-in-out
$default-transition-duration
;
}
.location-badge
{
line-height
:
25px
;
padding
:
0
5px
;
border-radius
:
$border-radius-default
;
font-size
:
14px
;
font-style
:
normal
;
color
:
$note-disabled-comment-color
;
display
:
inline-block
;
background-color
:
$gray-normal
;
vertical-align
:
top
;
cursor
:
default
;
.
search-input
:
:
placeholder
{
transition
:
color
ease-in-out
$default-transition-duration
;
}
.search-input-container
{
display
:
-
webkit-flex
;
display
:
flex
;
position
:
relative
;
}
.search-input-wrap
{
// Fallback if flexbox is not supported
display
:
inline-block
;
}
.search-input-wrap
{
width
:
100%
;
.search-icon
,
.clear-icon
{
position
:
absolute
;
right
:
5px
;
top
:
0
;
color
:
$location-icon-color
;
&
:
:
before
{
font-family
:
FontAwesome
;
...
...
@@ -101,7 +92,7 @@ input[type="checkbox"]:hover {
.search-icon
{
@extend
.fa-search
;
transition
:
color
0
.15s
;
transition
:
color
$default-transition-duration
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
...
...
@@ -148,21 +139,32 @@ input[type="checkbox"]:hover {
form
{
@extend
.form-control
:focus
;
border-color
:
$dropdown-input-focus-border
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
}
box-shadow
:
none
;
.search-input-wrap
{
.search-icon
,
.clear-icon
{
color
:
$gl-text-color-tertiary
;
transition
:
color
ease-in-out
$default-transition-duration
;
}
}
.location-badge
{
transition
:
all
0
.15s
;
background-color
:
$location-badge-active-bg
;
color
:
$white-light
;
}
.search-input
{
color
:
$gl-text-color
;
transition
:
color
ease-in-out
$default-transition-duration
;
}
.search-input-wrap
{
i
{
color
:
$layout-link-gray
;
.
search-input
:
:
placeholder
{
color
:
$gl-text-color-tertiary
;
}
}
.location-badge
{
transition
:
all
$default-transition-duration
;
background-color
:
$nav-badge-bg
;
border-color
:
$border-color
;
}
.dropdown-menu
{
transition-duration
:
100ms
,
75ms
;
transition-delay
:
75ms
,
100ms
;
...
...
app/views/admin/audit_logs/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
'Audit Log'
=
render
'admin/monitoring/head'
%div
{
class:
container_class
}
.todos-filters
...
...
app/views/admin/background_jobs/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Background Jobs"
=
render
'admin/monitoring/head'
%div
{
class:
container_class
}
%h3
.page-title
Background Jobs
...
...
app/views/admin/cohorts/index.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"Cohorts"
-
@no_container
=
true
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
-
if
@cohorts
...
...
app/views/admin/conversational_development_index/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
'ConvDev Index'
=
render
'admin/monitoring/head'
.container
-
if
show_callout?
(
'convdev_intro_callout_dismissed'
)
=
render
'callout'
...
...
app/views/admin/dashboard/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
=
nav_link
(
controller: :dashboard
,
html_options:
{
class:
'home'
})
do
=
link_to
admin_root_path
,
title:
'Overview'
do
%span
Overview
=
nav_link
(
controller:
[
:admin
,
:projects
])
do
=
link_to
admin_projects_path
,
title:
'Projects'
do
%span
Projects
=
nav_link
(
controller: :users
)
do
=
link_to
admin_users_path
,
title:
'Users'
do
%span
Users
=
nav_link
(
controller: :groups
)
do
=
link_to
admin_groups_path
,
title:
'Groups'
do
%span
Groups
=
nav_link
path:
'builds#index'
do
=
link_to
admin_jobs_path
,
title:
'Jobs'
do
%span
Jobs
=
nav_link
path:
[
'runners#index'
,
'runners#show'
]
do
=
link_to
admin_runners_path
,
title:
'Runners'
do
%span
Runners
=
nav_link
path:
'cohorts#index'
do
=
link_to
admin_cohorts_path
,
title:
'Cohorts'
do
%span
Cohorts
=
nav_link
(
controller: :conversational_development_index
)
do
=
link_to
admin_conversational_development_index_path
,
title:
'ConvDev Index'
do
%span
ConvDev Index
app/views/admin/dashboard/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
breadcrumb_title
"Dashboard"
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
-
if
@license
...
...
app/views/admin/groups/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Groups"
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
.top-area
...
...
app/views/admin/health_check/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
_
(
'Health Check'
)
-
no_errors
=
@errors
.
blank?
&&
@failing_storage_statuses
.
blank?
=
render
'admin/monitoring/head'
%div
{
class:
container_class
}
%h3
.page-title
=
page_title
...
...
app/views/admin/jobs/index.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"Jobs"
-
@no_container
=
true
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
...
...
app/views/admin/logs/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Logs"
=
render
'admin/monitoring/head'
%div
{
class:
container_class
}
%ul
.nav-links.log-tabs
...
...
app/views/admin/monitoring/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
=
nav_link
(
controller: :system_info
)
do
=
link_to
admin_system_info_path
,
title:
'System Info'
do
%span
System Info
=
nav_link
(
controller: :background_jobs
)
do
=
link_to
admin_background_jobs_path
,
title:
'Background Jobs'
do
%span
Background Jobs
=
nav_link
(
controller: :logs
)
do
=
link_to
admin_logs_path
,
title:
'Logs'
do
%span
Logs
=
nav_link
(
controller: :health_check
)
do
=
link_to
admin_health_check_path
,
title:
'Health Check'
do
%span
Health Check
=
nav_link
(
controller: :requests_profiles
)
do
=
link_to
admin_requests_profiles_path
,
title:
'Requests Profiles'
do
%span
Requests Profiles
=
render
'admin/monitoring/ee/nav'
app/views/admin/projects/index.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
page_title
"Projects"
-
params
[
:visibility_level
]
||=
[]
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
.top-area
...
...
app/views/admin/requests_profiles/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
'Requests Profiles'
=
render
'admin/monitoring/head'
%div
{
class:
container_class
}
%h3
.page-title
...
...
app/views/admin/runners/index.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"Runners"
-
@no_container
=
true
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
.bs-callout
...
...
app/views/admin/system_info/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"System Info"
=
render
'admin/monitoring/head'
%div
{
class:
container_class
}
.prepend-top-default
...
...
app/views/admin/users/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Users"
=
render
"admin/dashboard/head"
%div
{
class:
container_class
}
.prepend-top-default
...
...
app/views/groups/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
container_class
}
=
nav_link
(
path:
[
'groups#show'
,
'groups#subgroups'
],
html_options:
{
class:
'home'
})
do
=
link_to
group_path
(
@group
),
title:
'Group Home'
do
%span
Home
=
nav_link
(
path:
'groups#activity'
)
do
=
link_to
activity_group_path
(
@group
),
title:
'Activity'
do
%span
Activity
.hidden-xs
=
render
"projects/last_push"
app/views/groups/_head_issues.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
container_class
}
=
nav_link
(
path:
'groups#issues'
,
html_options:
{
class:
'home'
})
do
=
link_to
issues_group_path
(
@group
),
title:
'List'
do
%span
List
-
if
@group
.
feature_available?
(
:group_issue_boards
)
=
nav_link
(
path:
'groups#boards'
)
do
=
link_to
group_boards_path
(
@group
),
title:
'Boards'
do
%span
Boards
=
nav_link
(
path:
'labels#index'
)
do
=
link_to
group_labels_path
(
@group
),
title:
'Labels'
do
%span
Labels
=
nav_link
(
path:
'milestones#index'
)
do
=
link_to
group_milestones_path
(
@group
),
title:
'Milestones'
do
%span
Milestones
app/views/groups/_settings_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
container_class
}
=
nav_link
(
path:
'groups#edit'
)
do
=
link_to
edit_group_path
(
@group
),
title:
'General'
do
%span
General
=
nav_link
(
path:
'groups#projects'
)
do
=
link_to
projects_group_path
(
@group
),
title:
'Projects'
do
%span
Projects
=
nav_link
(
controller: :ci_cd
)
do
=
link_to
group_settings_ci_cd_path
(
@group
),
title:
'Pipelines'
do
%span
Pipelines
=
render
'groups/ee/settings_nav'
app/views/groups/activity.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
=
auto_discovery_link_tag
(
:atom
,
group_url
(
@group
,
rss_url_options
),
title:
"
#{
@group
.
name
}
activity"
)
-
page_title
"Activity"
=
render
'groups/head'
%section
.activities
=
render
'activities'
app/views/groups/audit_events/index.html.haml
View file @
fcf5e1b4
-
page_title
"Audit Events"
=
render
"groups/settings_head"
%h3
.page-title
Group Audit Events
%p
.light
Events in
#{
@group
.
name
}
...
...
app/views/groups/billings/index.html.haml
View file @
fcf5e1b4
-
page_title
"Billing"
=
render
"groups/settings_head"
-
if
@top_most_group
-
top_most_group_plan
=
subscription_plan_info
(
@plans_data
,
@top_most_group
.
actual_plan
)
...
...
app/views/groups/edit.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"General Settings"
=
render
"groups/settings_head"
.panel.panel-default.prepend-top-default
.panel-heading
Group settings
...
...
app/views/groups/hooks/index.html.haml
View file @
fcf5e1b4
=
render
"groups/settings_head"
-
if
@group
.
feature_available?
(
:group_webhooks
)
.row.prepend-top-default
.col-lg-3
...
...
app/views/groups/issues.html.haml
View file @
fcf5e1b4
-
page_title
"Issues"
-
group_issues_exists
=
group_issues
(
@group
).
exists?
=
render
"head_issues"
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
params
.
merge
(
rss_url_options
),
title:
"
#{
@group
.
name
}
issues"
)
...
...
app/views/groups/labels/index.html.haml
View file @
fcf5e1b4
-
page_title
'Labels'
=
render
"groups/head_issues"
.top-area.adjust
.nav-text
Labels can be applied to issues and merge requests. Group labels are available for any project within the group.
...
...
app/views/groups/milestones/index.html.haml
View file @
fcf5e1b4
-
page_title
"Milestones"
=
render
"groups/head_issues"
.top-area
=
render
'shared/milestones_filter'
,
counts:
@milestone_states
...
...
app/views/groups/pipeline_quota/index.html.haml
View file @
fcf5e1b4
-
page_title
"Pipelines quota"
=
render
"groups/settings_head"
%h3
.page-title
Group pipelines quota
...
...
app/views/groups/projects.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"Projects"
=
render
"groups/settings_head"
.panel.panel-default.prepend-top-default
.panel-heading
...
...
app/views/groups/settings/ci_cd/show.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"CI / CD Settings"
-
page_title
"CI / CD"
=
render
"groups/settings_head"
=
render
'ci/variables/index'
app/views/groups/show.html.haml
View file @
fcf5e1b4
...
...
@@ -4,7 +4,6 @@
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
group_url
(
@group
,
rss_url_options
),
title:
"
#{
@group
.
name
}
activity"
)
=
render
'groups/head'
=
render
'groups/home_panel'
.groups-header
{
class:
container_class
}
...
...
app/views/groups/subgroups.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
"Details"
-
@no_container
=
true
=
render
'head'
=
render
'groups/home_panel'
.groups-header
{
class:
container_class
}
...
...
app/views/layouts/_head.html.haml
View file @
fcf5e1b4
...
...
@@ -32,10 +32,6 @@
=
stylesheet_link_tag
"test"
,
media:
"all"
if
Rails
.
env
.
test?
=
stylesheet_link_tag
'performance_bar'
if
performance_bar_enabled?
// TODO: Combine these 2 stylesheets into application.scss
=
stylesheet_link_tag
"new_nav"
,
media:
"all"
=
stylesheet_link_tag
"new_sidebar"
,
media:
"all"
=
Gon
::
Base
.
render_data
-
if
content_for?
(
:library_javascripts
)
...
...
app/views/projects/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
container_class
}
=
nav_link
(
path:
'projects#show'
)
do
=
link_to
project_path
(
@project
),
title:
_
(
'Project home'
),
class:
'shortcuts-project'
do
%span
=
_
(
'Home'
)
=
nav_link
(
path:
'projects#activity'
)
do
=
link_to
activity_project_path
(
@project
),
title:
_
(
'Activity'
),
class:
'shortcuts-project-activity'
do
%span
=
_
(
'Activity'
)
-
if
can?
(
current_user
,
:read_cycle_analytics
,
@project
)
=
nav_link
(
path:
'cycle_analytics#show'
)
do
=
link_to
project_cycle_analytics_path
(
@project
),
title:
_
(
'Cycle Analytics'
),
class:
'shortcuts-project-cycle-analytics'
do
%span
=
_
(
'Cycle Analytics'
)
app/views/projects/activity.html.haml
View file @
fcf5e1b4
...
...
@@ -2,8 +2,6 @@
-
page_title
_
(
"Activity"
)
=
render
"projects/head"
=
render
'projects/last_push'
=
render
'projects/activity'
app/views/projects/artifacts/browse.html.haml
View file @
fcf5e1b4
-
breadcrumb_title
_
(
'Artifacts'
)
-
page_title
@path
.
presence
,
'Artifacts'
,
"
#{
@build
.
name
}
(#
#{
@build
.
id
}
)"
,
'Jobs'
=
render
"projects/pipelines/head"
=
render
"projects/jobs/header"
,
show_controls:
false
...
...
app/views/projects/artifacts/file.html.haml
View file @
fcf5e1b4
-
page_title
@path
,
'Artifacts'
,
"
#{
@build
.
name
}
(#
#{
@build
.
id
}
)"
,
'Jobs'
=
render
"projects/pipelines/head"
=
render
"projects/jobs/header"
,
show_controls:
false
...
...
app/views/projects/audit_events/index.html.haml
View file @
fcf5e1b4
-
page_title
"Audit Events"
=
render
"projects/settings/head"
-
if
show_project_feature_promotion?
(
:audit_events
)
=
render
'shared/promotions/promote_audit_events'
...
...
app/views/projects/blame/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
project_duration
=
age_map_duration
(
@blame_groups
,
@project
)
-
page_title
"Blame"
,
@blob
.
path
,
@ref
=
render
"projects/commits/head"
%div
{
class:
container_class
}
#blob-content-holder
.tree-holder
...
...
app/views/projects/blob/edit.html.haml
View file @
fcf5e1b4
...
...
@@ -4,7 +4,6 @@
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_tag
(
'lib/ace.js'
)
=
page_specific_javascript_bundle_tag
(
'blob'
)
=
render
"projects/commits/head"
%div
{
class:
container_class
}
-
if
@conflict
...
...
app/views/projects/blob/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
@no_container
=
true
-
page_title
@blob
.
path
,
@ref
=
render
"projects/commits/head"
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'blob'
...
...
app/views/projects/branches/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
_
(
'Branches'
)
-
add_to_breadcrumbs
(
_
(
'Repository'
),
project_tree_path
(
@project
))
=
render
"projects/commits/head"
%div
{
class:
container_class
}
.top-area.adjust
...
...
app/views/projects/commit/show.html.haml
View file @
fcf5e1b4
...
...
@@ -6,7 +6,6 @@
-
@content_class
=
limited_container_width
-
page_title
"
#{
@commit
.
title
}
(
#{
@commit
.
short_id
}
)"
,
"Commits"
-
page_description
@commit
.
description
=
render
"projects/commits/head"
.container-fluid
{
class:
[
limited_container_width
,
container_class
]
}
=
render
"commit_box"
...
...
app/views/projects/commits/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
=
nav_link
(
controller:
%w(tree blob blame edit_tree new_tree find_file)
)
do
=
link_to
project_tree_path
(
@project
)
do
#{
_
(
'Files'
)
}
=
nav_link
(
controller:
[
:commit
,
:commits
])
do
=
link_to
project_commits_path
(
@project
,
current_ref
)
do
#{
_
(
'Commits'
)
}
=
nav_link
(
html_options:
{
class:
branches_tab_class
})
do
=
link_to
project_branches_path
(
@project
)
do
#{
_
(
'Branches'
)
}
=
nav_link
(
controller:
[
:tags
,
:releases
])
do
=
link_to
project_tags_path
(
@project
)
do
#{
_
(
'Tags'
)
}
=
nav_link
(
path:
'graphs#show'
)
do
=
link_to
project_graph_path
(
@project
,
current_ref
)
do
#{
_
(
'Contributors'
)
}
=
nav_link
(
controller:
%w(network)
)
do
=
link_to
project_network_path
(
@project
,
current_ref
)
do
#{
s_
(
'ProjectNetworkGraph|Graph'
)
}
=
nav_link
(
controller: :compare
)
do
=
link_to
project_compare_index_path
(
@project
,
from:
@repository
.
root_ref
,
to:
current_ref
)
do
#{
_
(
'Compare'
)
}
=
nav_link
(
path:
'graphs#charts'
)
do
=
link_to
charts_project_graph_path
(
@project
,
current_ref
)
do
#{
_
(
'Charts'
)
}
-
if
@project
.
feature_available?
(
:file_locks
)
=
nav_link
(
controller:
[
:path_locks
])
do
=
link_to
project_path_locks_path
(
@project
)
do
Locked Files
app/views/projects/commits/show.html.haml
View file @
fcf5e1b4
...
...
@@ -5,9 +5,6 @@
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
project_commits_url
(
@project
,
@ref
,
rss_url_options
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
=
content_for
:sub_nav
do
=
render
"head"
.js-project-commits-show
{
'data-commits-limit'
=>
@limit
}
%div
{
class:
container_class
}
.tree-holder
...
...
app/views/projects/compare/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
breadcrumb_title
"Compare Revisions"
-
page_title
"Compare"
=
render
"projects/commits/head"
%div
{
class:
container_class
}
.sub-header-block
...
...
app/views/projects/compare/show.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
add_to_breadcrumbs
"Compare Revisions"
,
project_compare_index_path
(
@project
)
-
page_title
"
#{
params
[
:from
]
}
...
#{
params
[
:to
]
}
"
=
render
"projects/commits/head"
%div
{
class:
container_class
}
.sub-header-block.no-bottom-space
...
...
app/views/projects/cycle_analytics/show.html.haml
View file @
fcf5e1b4
...
...
@@ -4,8 +4,6 @@
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
=
page_specific_javascript_bundle_tag
(
'cycle_analytics'
)
=
render
"projects/head"
#cycle-analytics
{
class:
container_class
,
"v-cloak"
=>
"true"
,
data:
{
request_path:
project_cycle_analytics_path
(
@project
)
}
}
-
if
@cycle_analytics_no_data
.landing.content-block
{
"v-if"
=>
"!isOverviewDialogDismissed"
}
...
...
app/views/projects/edit.html.haml
View file @
fcf5e1b4
...
...
@@ -7,8 +7,6 @@
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'service_desk'
)
=
render
"projects/settings/head"
.project-edit-container
%section
.settings.general-settings
.settings-header
...
...
app/views/projects/empty.html.haml
View file @
fcf5e1b4
...
...
@@ -3,7 +3,6 @@
=
render
partial:
'flash_messages'
,
locals:
{
project:
@project
}
=
render
"projects/head"
=
render
"home_panel"
.row-content-block.second-block.center
...
...
app/views/projects/environments/edit.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Edit"
,
@environment
.
name
,
"Environments"
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
%h3
.page-title
...
...
app/views/projects/environments/folder.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Environments"
=
render
"projects/pipelines/head"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
...
...
app/views/projects/environments/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Environments"
-
add_to_breadcrumbs
(
"Pipelines"
,
project_pipelines_path
(
@project
))
=
render
"projects/pipelines/head"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
...
...
app/views/projects/environments/metrics.html.haml
View file @
fcf5e1b4
...
...
@@ -4,7 +4,6 @@
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'common_d3'
=
webpack_bundle_tag
'monitoring'
=
render
"projects/pipelines/head"
.prometheus-container
{
class:
container_class
}
.top-area
...
...
@@ -21,4 +20,3 @@
"empty-unable-to-connect-svg-path"
:
image_path
(
'illustrations/monitoring/unable_to_connect'
),
"additional-metrics"
:
additional_metrics_project_environment_path
(
@project
,
@environment
,
format: :json
),
"has-metrics"
:
"#{@environment.has_metrics?}"
,
deployment_endpoint:
project_environment_deployments_path
(
@project
,
@environment
,
format: :json
)
}
}
app/views/projects/environments/new.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
breadcrumb_title
"Environments"
-
page_title
'New Environment'
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
%h3
.page-title
...
...
app/views/projects/environments/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
add_to_breadcrumbs
"Environments"
,
project_environments_path
(
@project
)
-
breadcrumb_title
@environment
.
name
-
page_title
"Environments"
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
.row.top-area.adjust
...
...
app/views/projects/environments/terminal.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Terminal for environment"
,
@environment
.
name
=
render
"projects/pipelines/head"
-
content_for
:page_specific_javascripts
do
=
stylesheet_link_tag
"xterm/xterm"
...
...
app/views/projects/find_file/show.html.haml
View file @
fcf5e1b4
-
page_title
"Find File"
,
@ref
=
render
"projects/commits/head"
.file-finder-holder.tree-holder.clearfix.js-file-finder
{
'data-file-find-url'
:
"#{escape_javascript(project_files_path(@project, @ref, @options.merge(format: :json)))}"
,
'data-find-tree-url'
:
escape_javascript
(
project_tree_path
(
@project
,
@ref
)),
'data-blob-url-template'
:
escape_javascript
(
project_blob_path
(
@project
,
@id
||
@commit
.
id
))
}
.nav-block
...
...
app/views/projects/graphs/charts.html.haml
View file @
fcf5e1b4
...
...
@@ -4,7 +4,6 @@
=
webpack_bundle_tag
(
'common_d3'
)
=
webpack_bundle_tag
(
'graphs'
)
=
webpack_bundle_tag
(
'graphs_charts'
)
=
render
"projects/commits/head"
.repo-charts
{
class:
container_class
}
%h4
.sub-header
...
...
app/views/projects/graphs/show.html.haml
View file @
fcf5e1b4
...
...
@@ -5,8 +5,6 @@
=
webpack_bundle_tag
(
'graphs'
)
=
webpack_bundle_tag
(
'graphs_show'
)
=
render
'projects/commits/head'
.js-graphs-show
{
class:
container_class
,
'data-project-graph-path'
:
project_graph_path
(
@project
,
current_ref
,
format: :json
)
}
.sub-header-block
.tree-ref-holder
...
...
app/views/projects/hook_logs/show.html.haml
View file @
fcf5e1b4
=
render
'projects/settings/head'
.row.prepend-top-default.append-bottom-default
.col-lg-3
%h4
.prepend-top-0
...
...
app/views/projects/hooks/edit.html.haml
View file @
fcf5e1b4
-
page_title
'Integrations'
=
render
'projects/settings/head'
.row.prepend-top-default
.col-lg-3
...
...
@@ -19,4 +18,3 @@
%hr
=
render
partial:
'projects/hook_logs/index'
,
locals:
{
hook:
@hook
,
hook_logs:
@hook_logs
,
project:
@project
}
app/views/projects/issues/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
-
if
project_nav_tab?
(
:issues
)
&&
!
current_controller?
(
:merge_requests
)
=
nav_link
(
controller: :issues
)
do
=
link_to
project_issues_path
(
@project
),
title:
'Issues'
do
%span
List
=
nav_link
(
controller: :boards
)
do
-# EE should use plural "Boards"
=
link_to
project_boards_path
(
@project
),
title:
'Boards'
do
%span
Boards
-
if
project_nav_tab?
(
:merge_requests
)
&&
current_controller?
(
:merge_requests
)
=
nav_link
(
controller: :merge_requests
)
do
=
link_to
project_merge_requests_path
(
@project
),
title:
'Merge Requests'
do
%span
Merge Requests
-
if
project_nav_tab?
:labels
=
nav_link
(
controller: :labels
)
do
=
link_to
project_labels_path
(
@project
),
title:
'Labels'
do
%span
Labels
-
if
project_nav_tab?
:milestones
=
nav_link
(
controller: :milestones
)
do
=
link_to
project_milestones_path
(
@project
),
title:
'Milestones'
do
%span
Milestones
app/views/projects/issues/index.html.haml
View file @
fcf5e1b4
...
...
@@ -3,8 +3,6 @@
-
page_title
"Issues"
-
new_issue_email
=
@project
.
new_issue_address
(
current_user
)
=
content_for
:sub_nav
do
=
render
"projects/issues/head"
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
...
...
app/views/projects/jobs/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Jobs"
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
.top-area
...
...
app/views/projects/jobs/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
add_to_breadcrumbs
"Jobs"
,
project_jobs_path
(
@project
)
-
breadcrumb_title
"#
#{
@build
.
id
}
"
-
page_title
"
#{
@build
.
name
}
(#
#{
@build
.
id
}
)"
,
"Jobs"
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
.build-page.js-build-page
...
...
app/views/projects/labels/edit.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Edit"
,
@label
.
name
,
"Labels"
=
render
"shared/mr_head"
%div
{
class:
container_class
}
%h3
.page-title
...
...
app/views/projects/labels/index.html.haml
View file @
fcf5e1b4
...
...
@@ -3,8 +3,6 @@
-
hide_class
=
''
-
can_admin_label
=
can?
(
current_user
,
:admin_label
,
@project
)
=
render
"shared/mr_head"
-
if
@labels
.
exists?
||
@prioritized_labels
.
exists?
%div
{
class:
container_class
}
.top-area.adjust
...
...
app/views/projects/labels/new.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
breadcrumb_title
"Labels"
-
page_title
"New Label"
=
render
"shared/mr_head"
%div
{
class:
container_class
}
%h3
.page-title
...
...
app/views/projects/merge_requests/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
=
nav_link
(
controller: :merge_requests
)
do
=
link_to
project_merge_requests_path
(
@project
),
title:
'Merge Requests'
do
%span
List
-
if
project_nav_tab?
:labels
=
nav_link
(
controller: :labels
)
do
=
link_to
project_labels_path
(
@project
),
title:
'Labels'
do
%span
Labels
-
if
project_nav_tab?
:milestones
=
nav_link
(
controller: :milestones
)
do
=
link_to
project_milestones_path
(
@project
),
title:
'Milestones'
do
%span
Milestones
app/views/projects/merge_requests/index.html.haml
View file @
fcf5e1b4
...
...
@@ -4,9 +4,6 @@
-
new_merge_request_path
=
project_new_merge_request_path
(
merge_project
)
if
merge_project
-
page_title
"Merge Requests"
-
unless
@project
.
issues_enabled?
=
content_for
:sub_nav
do
=
render
"projects/merge_requests/head"
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
...
...
app/views/projects/milestones/edit.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"Edit"
,
@milestone
.
title
,
"Milestones"
=
render
"shared/mr_head"
%div
{
class:
container_class
}
...
...
app/views/projects/milestones/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
'Milestones'
=
render
"shared/mr_head"
%div
{
class:
container_class
}
.top-area
=
render
'shared/milestones_filter'
,
counts:
milestone_counts
(
@project
.
milestones
)
...
...
app/views/projects/milestones/new.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
breadcrumb_title
"Milestones"
-
page_title
"New Milestone"
=
render
"shared/mr_head"
%div
{
class:
container_class
}
%h3
.page-title
...
...
app/views/projects/milestones/show.html.haml
View file @
fcf5e1b4
...
...
@@ -3,7 +3,6 @@
-
breadcrumb_title
@milestone
.
title
-
page_title
@milestone
.
title
,
"Milestones"
-
page_description
@milestone
.
description
=
render
"shared/mr_head"
%div
{
class:
container_class
}
.detail-page-header.milestone-page-header
...
...
app/views/projects/network/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
page_title
"Graph"
,
@ref
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'network'
)
=
render
"projects/commits/head"
=
render
"head"
%div
{
class:
container_class
}
.project-network
...
...
app/views/projects/pages/show.html.haml
View file @
fcf5e1b4
-
page_title
'Pages'
=
render
"projects/settings/head"
%h3
.page_title
Pages
...
...
app/views/projects/path_locks/index.html.haml
View file @
fcf5e1b4
-
@no_container
=
true
-
page_title
"File Locks"
=
render
"projects/commits/head"
%div
{
class:
(
container_class
)
}
.top-area
...
...
app/views/projects/pipeline_schedules/index.html.haml
View file @
fcf5e1b4
...
...
@@ -7,8 +7,6 @@
-
@no_container
=
true
-
page_title
_
(
"Pipeline Schedules"
)
=
render
"projects/pipelines/head"
%div
{
class:
container_class
}
#pipeline-schedules-callout
{
data:
{
docs_url:
help_page_path
(
'user/project/pipelines/schedules'
)
}
}
.top-area
...
...
app/views/projects/pipelines/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
-
if
project_nav_tab?
:pipelines
=
nav_link
(
path:
[
'pipelines#index'
,
'pipelines#show'
])
do
=
link_to
project_pipelines_path
(
@project
),
title:
'Pipelines'
,
class:
'shortcuts-pipelines'
do
%span
Pipelines
-
if
project_nav_tab?
:builds
=
nav_link
(
controller:
[
:jobs
,
:artifacts
])
do
=
link_to
project_jobs_path
(
@project
),
title:
'Jobs'
,
class:
'shortcuts-builds'
do
%span
Jobs
-
if
project_nav_tab?
:pipelines
=
nav_link
(
controller: :pipeline_schedules
)
do
=
link_to
pipeline_schedules_path
(
@project
),
title:
'Schedules'
,
class:
'shortcuts-builds'
do
%span
Schedules
-
if
project_nav_tab?
:environments
=
nav_link
(
controller: :environments
)
do
=
link_to
project_environments_path
(
@project
),
title:
'Environments'
,
class:
'shortcuts-environments'
do
%span
Environments
-
if
@project
.
feature_available?
(
:builds
,
current_user
)
&&
!
@project
.
empty_repo?
=
nav_link
(
path:
'pipelines#charts'
)
do
=
link_to
charts_project_pipelines_path
(
@project
),
title:
'Charts'
,
class:
'shortcuts-pipelines-charts'
do
%span
Charts
app/views/projects/pipelines/charts.html.haml
View file @
fcf5e1b4
...
...
@@ -4,7 +4,6 @@
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_d3'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
'head'
%div
{
class:
container_class
}
.sub-header-block
...
...
app/views/projects/pipelines/index.html.haml
View file @
fcf5e1b4
...
...
@@ -4,8 +4,6 @@
=
content_for
:flash_message
do
=
render
'shared/shared_runners_minutes_limit'
,
project:
@project
=
render
"projects/pipelines/head"
%div
{
'class'
=>
container_class
}
-
if
show_auto_devops_callout?
(
@project
)
=
render
'shared/auto_devops_callout'
...
...
app/views/projects/pipelines/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
add_to_breadcrumbs
"Pipelines"
,
project_pipelines_path
(
@project
)
-
breadcrumb_title
"#
#{
@pipeline
.
id
}
"
-
page_title
"Pipeline"
=
render
"projects/pipelines/head"
.js-pipeline-container
{
class:
container_class
,
data:
{
controller_action:
"#{controller.action_name}"
}
}
-
if
@commit
...
...
app/views/projects/releases/edit.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
add_to_breadcrumbs
"Tags"
,
project_tags_path
(
@project
)
-
breadcrumb_title
@tag
.
name
-
page_title
"Edit"
,
@tag
.
name
,
"Tags"
=
render
"projects/commits/head"
%div
{
class:
container_class
}
.sub-header-block.no-bottom-space
...
...
app/views/projects/services/edit.html.haml
View file @
fcf5e1b4
...
...
@@ -2,5 +2,4 @@
-
page_title
@service
.
title
,
"Services"
-
add_to_breadcrumbs
(
"Settings"
,
edit_project_path
(
@project
))
=
render
"projects/settings/head"
=
render
'form'
app/views/projects/settings/_head.html.haml
deleted
100644 → 0
View file @
d537d251
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
container_class
}
-
can_edit
=
can?
(
current_user
,
:admin_project
,
@project
)
-
if
can_edit
=
nav_link
(
controller: :projects
)
do
=
link_to
edit_project_path
(
@project
),
title:
'General'
do
%span
General
-
if
can_edit
=
nav_link
(
controller:
[
:integrations
,
:services
,
:hooks
,
:hook_logs
])
do
=
link_to
project_settings_integrations_path
(
@project
),
title:
'Integrations'
do
%span
Integrations
=
nav_link
(
controller: :repository
)
do
=
link_to
project_settings_repository_path
(
@project
),
title:
'Repository'
do
%span
Repository
-
if
@project
.
feature_available?
(
:builds
,
current_user
)
=
nav_link
(
controller: :ci_cd
)
do
=
link_to
project_settings_ci_cd_path
(
@project
),
title:
'Pipelines'
do
%span
Pipelines
-
if
@project
.
pages_available?
=
nav_link
(
controller: :pages
)
do
=
link_to
project_pages_path
(
@project
),
title:
'Pages'
do
%span
Pages
=
render
'projects/settings/ee/nav'
app/views/projects/settings/ci_cd/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,8 +2,6 @@
-
page_title
"CI / CD Settings"
-
page_title
"CI / CD"
=
render
"projects/settings/head"
-
expanded
=
Rails
.
env
.
test?
%section
.settings
#js-general-pipeline-settings
...
...
app/views/projects/settings/integrations/show.html.haml
View file @
fcf5e1b4
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
breadcrumb_title
"Integrations Settings"
-
page_title
'Integrations'
=
render
"projects/settings/head"
=
render
'projects/hooks/index'
=
render
'projects/services/index'
app/views/projects/settings/members/show.html.haml
View file @
fcf5e1b4
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
page_title
"Members"
=
render
"projects/settings/head"
=
render
"projects/project_members/index"
app/views/projects/settings/repository/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,8 +2,6 @@
-
page_title
"Repository"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
"projects/settings/head"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
=
page_specific_javascript_bundle_tag
(
'deploy_keys'
)
...
...
app/views/projects/settings/slacks/edit.html.haml
View file @
fcf5e1b4
-
page_title
'Edit Slack integration'
=
render
"projects/settings/head"
.row.prepend-top-default.append-bottom-default
.col-lg-3
...
...
app/views/projects/show.html.haml
View file @
fcf5e1b4
...
...
@@ -7,7 +7,6 @@
=
render
partial:
'flash_messages'
,
locals:
{
project:
@project
}
=
render
"projects/head"
=
render
"projects/last_push"
=
render
"home_panel"
...
...
app/views/projects/tags/index.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
@sort
||=
sort_value_recently_updated
-
page_title
"Tags"
-
add_to_breadcrumbs
(
"Repository"
,
project_tree_path
(
@project
))
=
render
"projects/commits/head"
.flex-list
{
class:
container_class
}
.top-area.adjust
...
...
app/views/projects/tags/show.html.haml
View file @
fcf5e1b4
...
...
@@ -2,7 +2,6 @@
-
add_to_breadcrumbs
"Tags"
,
project_tags_path
(
@project
)
-
breadcrumb_title
@tag
.
name
-
page_title
@tag
.
name
,
"Tags"
=
render
"projects/commits/head"
%div
{
class:
container_class
}
.top-area.multi-line
...
...
app/views/projects/tree/show.html.haml
View file @
fcf5e1b4
...
...
@@ -11,8 +11,6 @@
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'repo'
=
render
"projects/commits/head"
%div
{
class:
[
container_class
,
(
"limit-container-width"
unless
fluid_layout
)]
}
-
if
show_auto_devops_callout?
(
@project
)
=
render
'shared/auto_devops_callout'
...
...
app/views/shared/_mr_head.html.haml
deleted
100644 → 0
View file @
d537d251
-
if
@project
.
issues_enabled?
=
render
"projects/issues/head"
-
else
=
render
"projects/merge_requests/head"
app/views/shared/_nav_scroll.html.haml
deleted
100644 → 0
View file @
d537d251
.fade-left
=
icon
(
'angle-left'
)
.fade-right
=
icon
(
'angle-right'
)
app/views/shared/boards/_show.html.haml
View file @
fcf5e1b4
...
...
@@ -14,11 +14,6 @@
%script
#js-board-modal-filter
{
type:
"text/x-template"
}=
render
"shared/issuable/search_bar"
,
type: :boards_modal
%script
#js-board-promotion
{
type:
"text/x-template"
}=
render
"shared/promotions/promote_issue_board"
-
if
@group
=
render
"groups/head_issues"
-
else
=
render
"projects/issues/head"
.hidden-xs.hidden-sm
=
render
'shared/issuable/search_bar'
,
type: :boards
,
board:
board
...
...
config/application.rb
View file @
fcf5e1b4
...
...
@@ -125,8 +125,6 @@ module Gitlab
config
.
assets
.
precompile
<<
"lib/ace.js"
config
.
assets
.
precompile
<<
"vendor/assets/fonts/*"
config
.
assets
.
precompile
<<
"test.css"
config
.
assets
.
precompile
<<
"new_nav.css"
config
.
assets
.
precompile
<<
"new_sidebar.css"
# Version of your assets, change this if you want to expire all your assets
config
.
assets
.
version
=
'1.0'
...
...
spec/features/issues/bulk_assignment_labels_spec.rb
View file @
fcf5e1b4
...
...
@@ -405,7 +405,7 @@ feature 'Issues > Labels bulk assignment' do
end
def
update_issues
click_button
'Update all'
find
(
'.update-selected-issues'
).
trigger
(
'click'
)
wait_for_requests
end
...
...
spec/features/issues/update_issues_spec.rb
View file @
fcf5e1b4
...
...
@@ -118,7 +118,7 @@ feature 'Multiple issue updating from issues#index', :js do
end
def
click_update_issues_button
find
(
'.update-selected-issues'
).
click
find
(
'.update-selected-issues'
).
trigger
(
'click'
)
wait_for_requests
end
end
spec/features/merge_requests/update_merge_requests_spec.rb
View file @
fcf5e1b4
...
...
@@ -127,7 +127,7 @@ feature 'Multiple merge requests updating from merge_requests#index' do
end
def
click_update_merge_requests_button
find
(
'.update-selected-issues'
).
click
find
(
'.update-selected-issues'
).
trigger
(
'click'
)
wait_for_requests
end
end
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