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
Jérome Perrin
gitlab-ce
Commits
cabc87a4
Commit
cabc87a4
authored
Dec 06, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed outdated browser banner positioning
Closes #40824
parent
68360783
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
21 deletions
+13
-21
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+0
-13
app/views/layouts/_page.html.haml
app/views/layouts/_page.html.haml
+1
-0
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+0
-2
app/views/shared/_outdated_browser.html.haml
app/views/shared/_outdated_browser.html.haml
+7
-6
changelogs/unreleased/outdated-browser-position-fix.yml
changelogs/unreleased/outdated-browser-position-fix.yml
+5
-0
No files found.
app/assets/stylesheets/framework/common.scss
View file @
cabc87a4
...
@@ -237,19 +237,6 @@ li.note {
...
@@ -237,19 +237,6 @@ li.note {
}
}
}
}
.browser-alert
{
padding
:
10px
;
text-align
:
center
;
background
:
$error-bg
;
color
:
$white-light
;
font-weight
:
$gl-font-weight-bold
;
a
{
color
:
$white-light
;
text-decoration
:
underline
;
}
}
.warning_message
{
.warning_message
{
border-left
:
4px
solid
$warning-message-border
;
border-left
:
4px
solid
$warning-message-border
;
color
:
$warning-message-color
;
color
:
$warning-message-color
;
...
...
app/views/layouts/_page.html.haml
View file @
cabc87a4
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
-
if
defined?
(
nav
)
&&
nav
-
if
defined?
(
nav
)
&&
nav
=
render
"layouts/nav/sidebar/
#{
nav
}
"
=
render
"layouts/nav/sidebar/
#{
nav
}
"
.content-wrapper.page-with-new-nav
.content-wrapper.page-with-new-nav
=
render
'shared/outdated_browser'
.mobile-overlay
.mobile-overlay
.alert-wrapper
.alert-wrapper
=
render
"layouts/broadcast"
=
render
"layouts/broadcast"
...
...
app/views/layouts/header/_default.html.haml
View file @
cabc87a4
...
@@ -75,5 +75,3 @@
...
@@ -75,5 +75,3 @@
%span
.sr-only
Toggle navigation
%span
.sr-only
Toggle navigation
=
sprite_icon
(
'more'
,
size:
12
,
css_class:
'more-icon js-navbar-toggle-right'
)
=
sprite_icon
(
'more'
,
size:
12
,
css_class:
'more-icon js-navbar-toggle-right'
)
=
sprite_icon
(
'close'
,
size:
12
,
css_class:
'close-icon js-navbar-toggle-left'
)
=
sprite_icon
(
'close'
,
size:
12
,
css_class:
'close-icon js-navbar-toggle-left'
)
=
render
'shared/outdated_browser'
app/views/shared/_outdated_browser.html.haml
View file @
cabc87a4
-
if
outdated_browser?
-
if
outdated_browser?
.browser-alert
.flash-container
GitLab may not work properly because you are using an outdated web browser.
.flash-alert.text-center
%br
GitLab may not work properly because you are using an outdated web browser.
Please install a
%br
=
link_to
'supported web browser'
,
help_page_url
(
'install/requirements'
,
anchor:
'supported-web-browsers'
)
Please install a
for a better experience.
=
link_to
'supported web browser'
,
help_page_url
(
'install/requirements'
,
anchor:
'supported-web-browsers'
)
for a better experience.
changelogs/unreleased/outdated-browser-position-fix.yml
0 → 100644
View file @
cabc87a4
---
title
:
Fixed outdated browser flash positioning
merge_request
:
author
:
type
:
fixed
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