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-07-29 19:35:42 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-08-20 11:43:39 +0300
commit0b0ede1a3b85c2a9b6d9fee117695239d01c99a7 (patch)
tree200b7ccf766b09d331583466b368f079dd28bdc0
parent7ca8164901bcf07e9c4a9ff4ce028cc93098ef66 (diff)
Add survey banner
-rw-r--r--layouts/banner.html6
-rw-r--r--layouts/default.html3
2 files changed, 9 insertions, 0 deletions
diff --git a/layouts/banner.html b/layouts/banner.html
new file mode 100644
index 00000000..c1b3fdec
--- /dev/null
+++ b/layouts/banner.html
@@ -0,0 +1,6 @@
+<div class="admonition-wrapper note">
+ <div class="admonition alert alert-info">
+ <i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
+ Take the survey.
+ </div>
+</div>
diff --git a/layouts/default.html b/layouts/default.html
index ebe5fb4e..30402638 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -20,6 +20,9 @@
</div>
<div class="main class js-main-wrapper">
<div class="d-none d-lg-block">
+ <%= render '/banner.*' %>
+ </div>
+ <div class="d-none d-lg-block">
<%= render '/breadcrumbs.*' %>
</div>
<% if @item[:title] %>