Commit 948961fe authored by Kirill Smelkov's avatar Kirill Smelkov

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 c400f222
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,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, .labels-filter { .milestone-filter, .labels-filter {
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
.content-wrapper { .content-wrapper {
width: 100%; width: 100%;
// XXX hack for .about-footer to be near bottom, if not enough content in .container-fluid
min-height: 85vh;
.container-fluid { .container-fluid {
background: #FFF; background: #FFF;
...@@ -38,6 +40,17 @@ ...@@ -38,6 +40,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
}
.sidebar-wrapper { .sidebar-wrapper {
.header-logo { .header-logo {
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
......
...@@ -29,3 +29,9 @@ ...@@ -29,3 +29,9 @@
.content .content
.clearfix .clearfix
= 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://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