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
a2af7790
Commit
a2af7790
authored
Sep 29, 2016
by
Annabel Dunstone Gray
Committed by
Fatih Acet
Oct 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flash containers and broadcast messages below subnav
parent
502c53b5
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
180 additions
and
159 deletions
+180
-159
CHANGELOG
CHANGELOG
+1
-0
app/assets/stylesheets/framework/flash.scss
app/assets/stylesheets/framework/flash.scss
+8
-0
app/views/admin/background_jobs/_head.html.haml
app/views/admin/background_jobs/_head.html.haml
+25
-24
app/views/admin/dashboard/_head.html.haml
app/views/admin/dashboard/_head.html.haml
+29
-28
app/views/layouts/_flash.html.haml
app/views/layouts/_flash.html.haml
+4
-2
app/views/layouts/_page.html.haml
app/views/layouts/_page.html.haml
+1
-0
app/views/projects/commits/_head.html.haml
app/views/projects/commits/_head.html.haml
+23
-22
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+2
-1
app/views/projects/graphs/_head.html.haml
app/views/projects/graphs/_head.html.haml
+18
-17
app/views/projects/issues/_head.html.haml
app/views/projects/issues/_head.html.haml
+29
-28
app/views/projects/issues/index.html.haml
app/views/projects/issues/index.html.haml
+2
-1
app/views/projects/pipelines/_head.html.haml
app/views/projects/pipelines/_head.html.haml
+25
-24
app/views/projects/wikis/_nav.html.haml
app/views/projects/wikis/_nav.html.haml
+13
-12
No files found.
CHANGELOG
View file @
a2af7790
...
@@ -20,6 +20,7 @@ v 8.13.0 (unreleased)
...
@@ -20,6 +20,7 @@ v 8.13.0 (unreleased)
- Add missing values to linter !6276 (Katarzyna Kobierska Ula Budziszewska)
- Add missing values to linter !6276 (Katarzyna Kobierska Ula Budziszewska)
- Fix Long commit messages overflow viewport in file tree
- Fix Long commit messages overflow viewport in file tree
- Revert avoid touching file system on Build#artifacts?
- Revert avoid touching file system on Build#artifacts?
- Add broadcast messages and alerts below sub-nav
- Update ruby-prof to 0.16.2. !6026 (Elan Ruusamäe)
- Update ruby-prof to 0.16.2. !6026 (Elan Ruusamäe)
- Fix unnecessary escaping of reserved HTML characters in milestone title. !6533
- Fix unnecessary escaping of reserved HTML characters in milestone title. !6533
- Add organization field to user profile
- Add organization field to user profile
...
...
app/assets/stylesheets/framework/flash.scss
View file @
a2af7790
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
margin
:
0
;
margin
:
0
;
margin-bottom
:
$gl-padding
;
margin-bottom
:
$gl-padding
;
font-size
:
14px
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
;
.flash-notice
{
.flash-notice
{
@extend
.alert
;
@extend
.alert
;
...
@@ -33,6 +35,12 @@
...
@@ -33,6 +35,12 @@
}
}
}
}
.content-wrapper
{
.flash-notice
.container-fluid
{
background-color
:
transparent
;
}
}
@media
(
max-width
:
$screen-md-min
)
{
@media
(
max-width
:
$screen-md-min
)
{
ul
.notes
{
ul
.notes
{
.flash-container.timeline-content
{
.flash-container.timeline-content
{
...
...
app/views/admin/background_jobs/_head.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
app/views/admin/dashboard/_head.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
app/views/layouts/_flash.html.haml
View file @
a2af7790
.flash-container.flash-container-page
.flash-container.flash-container-page
-
if
alert
-
if
alert
.flash-alert
.flash-alert
=
alert
%div
{
class:
(
container_class
)
}
%span
=
alert
-
elsif
notice
-
elsif
notice
.flash-notice
.flash-notice
=
notice
%div
{
class:
(
container_class
)
}
%span
=
notice
app/views/layouts/_page.html.haml
View file @
a2af7790
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
.container-fluid
.container-fluid
=
render
"layouts/nav/
#{
nav
}
"
=
render
"layouts/nav/
#{
nav
}
"
.content-wrapper
{
class:
"#{layout_nav_class}"
}
.content-wrapper
{
class:
"#{layout_nav_class}"
}
=
yield
:sub_nav
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
=
render
"layouts/flash"
=
render
"layouts/flash"
=
yield
:flash_message
=
yield
:flash_message
...
...
app/views/projects/commits/_head.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
app/views/projects/commits/show.html.haml
View file @
a2af7790
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
-
if
current_user
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
=
render
"head"
=
content_for
:sub_nav
do
=
render
"head"
%div
{
class:
container_class
}
%div
{
class:
container_class
}
.row-content-block.second-block.content-component-block
.row-content-block.second-block.content-component-block
...
...
app/views/projects/graphs/_head.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
app/views/projects/issues/_head.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
app/views/projects/issues/index.html.haml
View file @
a2af7790
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
-
page_title
"Issues"
-
page_title
"Issues"
-
new_issue_email
=
@project
.
new_issue_address
(
current_user
)
-
new_issue_email
=
@project
.
new_issue_address
(
current_user
)
=
render
"projects/issues/head"
=
content_for
:sub_nav
do
=
render
"projects/issues/head"
=
content_for
:meta_tags
do
=
content_for
:meta_tags
do
-
if
current_user
-
if
current_user
...
...
app/views/projects/pipelines/_head.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
app/views/projects/wikis/_nav.html.haml
View file @
a2af7790
.scrolling-tabs-container.sub-nav-scroll
=
content_for
:sub_nav
do
.scrolling-tabs-container.sub-nav-scroll
=
render
'shared/nav_scroll'
=
render
'shared/nav_scroll'
.nav-links.sub-nav.scrolling-tabs
.nav-links.sub-nav.scrolling-tabs
%ul
{
class:
(
container_class
)
}
%ul
{
class:
(
container_class
)
}
...
...
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