Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2020-08-20 14:40:34 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-08-20 14:40:34 +0300
commit57448091ce891154110ad51e418a82b26eb3921a (patch)
treec0d84fd4f9aaaefa1e016b637fab4a7f528f377e /layouts
parentcde1b70285c3d32af4a4fe4a4642a2a9951dd8d5 (diff)
parent374e2255ab85c889091afd2b96ff2f4445829fa6 (diff)
Merge branch 'survey-poc' into 'master'
Add survey banner Closes technical-writing#181 See merge request gitlab-org/gitlab-docs!1040
Diffstat (limited to 'layouts')
-rw-r--r--layouts/banner.html10
-rw-r--r--layouts/default.html3
2 files changed, 13 insertions, 0 deletions
diff --git a/layouts/banner.html b/layouts/banner.html
new file mode 100644
index 00000000..823b4396
--- /dev/null
+++ b/layouts/banner.html
@@ -0,0 +1,10 @@
+<div class="admonition-wrapper note">
+ <div class="admonition alert alert-banner center-align-text">
+ <i class="fa fa-gitlab fa-fw" style="color:rgb(107,79,187); font-size:.85em" aria-hidden="true"></i>
+ Help us understand your experience with GitLab documentation.
+ <a href="https://gitlab.fra1.qualtrics.com/jfe/form/SV_eGaifkfVJ335st7?source=banner" target="_blank" rel="noopener noreferrer">
+ Take our 5 minute survey!
+ </a>
+ <i class="fa fa-gitlab fa-fw" style="color:rgb(107,79,187); font-size:.85em" aria-hidden="true"></i>
+ </div>
+</div>
diff --git a/layouts/default.html b/layouts/default.html
index 84e8d063..44b8ab83 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -19,6 +19,9 @@
<div id="js-nav-toggle"></div>
</div>
<div class="main class js-main-wrapper">
+ <div class="d-lg-block">
+ <%= render '/banner.*' %>
+ </div>
<div class="d-none d-lg-block">
<%= render '/breadcrumbs.*' %>
</div>