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
69da2353
Commit
69da2353
authored
Oct 10, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render EE trial expiration banner under nav
parent
42b6dbb7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
app/assets/stylesheets/pages/ee_start_trial.scss
app/assets/stylesheets/pages/ee_start_trial.scss
+3
-9
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
No files found.
app/assets/stylesheets/pages/ee_start_trial.scss
View file @
69da2353
...
...
@@ -17,17 +17,11 @@
/* Trial Banner */
.gitlab-ee-license-banner.alert
{
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
padding
:
15px
35px
;
position
:
fixed
;
top
:
0
;
width
:
100%
;
position
:
relative
;
background
:
$red-400
;
color
:
$white-light
;
text-align
:
center
;
z-index
:
400
;
@media
(
max-width
:
$screen-md-min
)
{
padding
:
10px
35px
;
...
...
@@ -54,8 +48,8 @@
.close
{
position
:
absolute
;
top
:
1
5%
;
right
:
10px
;
top
:
1
2px
;
right
:
$gl-padding
;
}
}
...
...
app/views/layouts/_page.html.haml
View file @
69da2353
...
...
@@ -4,6 +4,7 @@
.content-wrapper.page-with-new-nav
.mobile-overlay
.alert-wrapper
=
render
"layouts/header/ee_license_banner"
=
render
"layouts/broadcast"
=
yield
:flash_message
-
unless
@hide_breadcrumbs
...
...
app/views/layouts/header/_default.html.haml
View file @
69da2353
=
render
"layouts/header/ee_license_banner"
%header
.navbar.navbar-gitlab.navbar-gitlab-new
%a
.sr-only.gl-accessibility
{
href:
"#content-body"
,
tabindex:
"1"
}
Skip to content
.container-fluid
...
...
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