Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Discuss Data Project
Discuss Data
Commits
362cb681
Commit
362cb681
authored
Dec 02, 2020
by
felix.herrmann
Browse files
feat(beta): add beta badge to top header
parent
37f7ee6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
discuss_data/static/sass/project.scss
View file @
362cb681
...
...
@@ -569,6 +569,11 @@ a:hover
font-size
:
larger
;
}
.badge-middle
{
padding
:
0
.3rem
;
font-size
:
0
.9rem
;
}
/*
* User image avatar sizes
*/
...
...
discuss_data/templates/nav-top.html
View file @
362cb681
{% load static i18n wagtailcore_tags compress %}
<nav
class=
"navbar navbar-light fixed-top flex-md-nowrap p-0 border-bottom navbar-expand-sm"
id=
"navbar-top"
>
<a
class=
"navbar-brand px-3"
href=
"{% url 'core.landing_page' %}"
><img
class=
"navbar-logo"
src=
"{% static 'images/logo-primary.svg' %}"
/></a>
<a
class=
"navbar-brand px-3"
href=
"{% url 'core.landing_page' %}"
><img
class=
"navbar-logo"
src=
"{% static 'images/logo-primary.svg' %}"
/></a>
<a
class=
"badge badge-primary badge-middle"
href=
"{% slugurl 'beta-version' %}"
>
BETA
</a>
<button
class=
"navbar-toggler navbar-toggler-right"
type=
"button"
data-toggle=
"collapse"
data-target=
"#navbarSupportedContent"
aria-controls=
"navbarSupportedContent"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
...
...
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