Commit f2c541a4 authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Alain Takoudjou

NXD Show "about" footer on every page

We show in small font size the same info that is shown on sign_in page:

    "GitLab Nexedi Edition", "About GitLab" and "About Nexedi"

This is good to have and hereby-introduced about-footer area will be
also used in the next patch for ICP too.

XXX placement of .about-footer to be near bottom is done not very
correctly.
parent c023c9e6
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
} }
} }
// TODO adjust .page-with-sidebar .about-footer
@media (max-width: $screen-sm-max) { @media (max-width: $screen-sm-max) {
.issues-filters { .issues-filters {
.milestone-filter { .milestone-filter {
......
.content-wrapper { .content-wrapper {
width: 100%; width: 100%;
transition: padding $sidebar-transition-duration; transition: padding $sidebar-transition-duration;
// XXX hack for .about-footer to be near bottom, if not enough content in .container-fluid
min-height: 85vh;
.container-fluid { .container-fluid {
background: $white-light; background: $white-light;
...@@ -14,6 +16,8 @@ ...@@ -14,6 +16,8 @@
} }
} }
.nav-header-btn { .nav-header-btn {
padding: 10px $gl-sidebar-padding; padding: 10px $gl-sidebar-padding;
color: inherit; color: inherit;
...@@ -83,3 +87,14 @@ ...@@ -83,3 +87,14 @@
top: 0; top: 0;
} }
} }
.about-footer {
text-align: center;
padding: 10px;
padding-top: 14px; // increased: e.g. new_note form can overlap with only 10px top padding
a {
margin-left: 3px;
margin-right: 3px;
}
font-size: small
}
...@@ -13,3 +13,10 @@ ...@@ -13,3 +13,10 @@
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" } %div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
.content{ id: "content-body" } .content{ id: "content-body" }
= yield = yield
.about-footer
= link_to "GitLab Nexedi Edition", "https://lab.nexedi.com/nexedi/slapos/blob/master/software/gitlab/software.cfg"
|
= link_to "About GitLab", "https://about.gitlab.com/"
|
= link_to "About Nexedi", "http://www.nexedi.com/"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment