Commit 10a29b7b 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 6e3c30ff
.content-wrapper {
width: 100%;
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 {
padding: 0 $gl-padding;
......@@ -13,6 +15,17 @@
}
}
.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
}
.nav-header-btn {
padding: 10px $gl-sidebar-padding;
color: inherit;
......
......@@ -17,3 +17,9 @@
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
.content{ id: "content-body" }
= 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/"
  • @alain in /admin/appearance gitlab allows to configure footer message, so eventually we don't need to patch

    image

  • @jerome I saw it on https://softinst90376.host.vifib.net/ it's great but not so beautiful :)

    If possible to remove actual gitlab footer, it will be great to use this feature.

  • ahah yes, not so beautiful :) by changing the colors to black on white it was a better. I tried again to use not #000 black but something a bit lighter, also for the links. Maybe not better, but now that gitlab supports it if we can use gitlab builtin way it should make updates a little bit easier.

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