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

footer.html « layouts - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aaa139f7213eaa90d78210d6bee42b3426a878d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<footer class="pl-4 pr-3 border-top footer">
  <div class="row py-2">
    <div class="col-9">
      <% if production? && ENV['CI_COMMIT_REF_NAME'] == ENV['CI_DEFAULT_BRANCH'] %>
      <%# Show Edit button only in production and on the default branch (hide archives) %>
        <a href="<%= edit_on_gitlab(@item) %>" target="_blank" rel="noopener noreferrer"><span class="text-decoration-underline">Edit this page</span></a>
        <a href="<%= edit_on_gitlab(@item, editor: :webide) %>" target="_blank" rel="noopener noreferrer">(<span class="text-decoration-underline">Web IDE</span>)</a>
      <% end %>
    </div>
    <div class="col-3 p-0 m-0">
      <div class="d-none d-md-flex justify-content-end">
        <ul class="list-unstyled list-inline my-0 d-flex flex-wrap social-icons">
          <li>
            <a href="https://twitter.com/gitlab" target="_blank" class="pr-3 text-decoration-none gitlab-social"><i class='fa fa-twitter'></i> <span class=sr-only>Twitter</span></a>
          </li>
          <li>
            <a href="https://www.facebook.com/gitlab" target="_blank" class="pr-3 text-decoration-none gitlab-social"><i class='fa fa-facebook-square'></i> <span class=sr-only>Facebook</span> </a>
          </li>
          <li>
            <a href="https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg" target="_blank" class="pr-3 text-decoration-none gitlab-social"><i class='fa fa-youtube-play'></i> <span class=sr-only>YouTube</span> </a>
          </li>
          <li>
            <a href="https://www.linkedin.com/company/gitlab-com" target="_blank" class="text-decoration-none gitlab-social"><i class='fa fa-linkedin-square'></i> <span class=sr-only>LinkedIn</span> </a>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <div class="row py-2">
    <div class="col-12 py-3">
      <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>" class="m-0" width="24" height="24" />
    </div>
    <div class="col-12 py-1">
      <ul class="list-unstyled list-inline my-0 d-flex flex-wrap">
        <% if production? %>
          <% @config[:products].each do |name, product| %>
            <% if product[:expose] == true %>
              <li>
                <a href='<%= @items["/#{product[:slug]}/#{product[:index_file]}"].path %>' target='_blank' class="text-dark font-weight-bold text-decoration-none <% if product[:short_name] == 'GitLab' %> pr-2 <% else %> px-2 <% end %>"><%= product[:short_name] %></a>
              </li>
             <% end %>
            <% end %>
        <% else %>
          <% @config[:products].each do |name, product| %>
            <% if Dir.exist?("#{@config[:content_dir]}/#{product[:slug]}")%>
              <li>
                <a href='<%= @items["/#{product[:slug]}/#{product[:index_file]}"].path %>' target='_blank' class="text-dark font-weight-bold text-decoration-none <% if product[:short_name] == 'GitLab' %> pr-2 <% else %> px-2 <% end %>"><%= product[:short_name] %></a>
              </li>
            <% end %>
          <% end %>
        <% end %>
      </ul>
    </div>
    <div class="col-12 py-1">
      <ul class="list-unstyled list-group list-group-horizontal flex-wrap">
        <li class="pr-3">
          <a href='https://gitlab.com/gitlab-org/gitlab-docs' alt='Docs Repo'>Docs Repo</a>
        </li>
        <li  class="pr-3">
          <a href='https://about.gitlab.com/company/' alt='About GitLab'>About GitLab</a>
        </li>
        <li class="pr-3">
          <a href='https://about.gitlab.com/terms/' alt='Terms'>Terms</a>
        </li>
        <li class="pr-3">
          <a href='https://about.gitlab.com/privacy/' alt='Privacy Policy'>Privacy Policy</a>
        </li>
        <li class="pr-3">
          <a href='/cookies-policy/' alt='Cookies Policy' class="text-decoration-none">Cookies Policy</a>
        </li>
        <li class="pr-3">
          <a href='https://about.gitlab.com/company/contact/' alt='Contact Us'>Contact</a>
        </li>
      </ul>
    </div>
  </div>
  <div class="row py-2">
    <div class="col d-block">
      <div class="d-block d-sm-inline-flex">
        <i class="fa fa-creative-commons fa-lg pr-1" aria-hidden="true"></i>
        <i class="fa fa-user-circle-o fa-lg pr-1" aria-hidden="true"></i>
        <i class="fa fa-copyright fa-lg pr-1" aria-hidden="true"></i>
      </div>
      <div class="d-block d-sm-inline-flex">
        <p class="text-muted"> Created with <a href='https://nanoc.ws/' target='_blank'><span class="text-decoration-underline">Nanoc</span></a>, hosted on <a href='https://about.gitlab.com/stages-devops-lifecycle/pages/' target='_blank'><span class="text-decoration-underline">GitLab Pages</span></a></p>
      </div>
    </div>
  </div>
  <div class="row py-2 d-block d-md-none">
    <div class="col">
      <ul class="list-unstyled list-inline my-0 d-flex flex-wrap">
        <li>
          <a href="https://twitter.com/gitlab" target="_blank" class="pr-3 text-decoration-none gitlab-social"><i class='fa fa-twitter'></i> <span class=sr-only>Twitter</span></a>
        </li>
        <li>
          <a href="https://www.facebook.com/gitlab" target="_blank" class="pr-3 text-decoration-none gitlab-social"><i class='fa fa-facebook-square'></i> <span class=sr-only>Facebook</span> </a>
        </li>
        <li>
          <a href="https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg" target="_blank" class="pr-3 text-decoration-none gitlab-social"><i class='fa fa-youtube-play'></i> <span class=sr-only>YouTube</span> </a>
        </li>
        <li>
          <a href="https://www.linkedin.com/company/gitlab-com" target="_blank" class="text-decoration-none gitlab-social"><i class='fa fa-linkedin-square'></i> <span class=sr-only>LinkedIn</span> </a>
        </li>
      </ul>
    </div>
  </div>
</footer>