summaryrefslogtreecommitdiff
path: root/app/views/help/instance_configuration/_gitlab_pages.html.haml
blob: 94c25edaf82e115f74223be4d4cbb26f00f2a6ad (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
- gitlab_pages = @instance_configuration.settings[:gitlab_pages]
- content_for :table_content do
  %li= link_to 'GitLab Pages', '#gitlab-pages'

- content_for :settings_content do
  %h2#gitlab-pages
    GitLab Pages

  %p
    Below are the settings for
    = succeed('.') { link_to('GitLab Pages', gitlab_pages[:url], target: '_blank') }
  .table-responsive
    %table
      %thead
        %tr
          %th Setting
          %th= instance_configuration_host(@instance_configuration.settings[:host])
      %tbody
        %tr
          %td Domain Name
          %td
            %code= instance_configuration_cell_html(gitlab_pages[:host])
        %tr
          %td IP Address
          %td
            %code= instance_configuration_cell_html(gitlab_pages[:ip_address])
        %tr
          %td Port
          %td
            %code= instance_configuration_cell_html(gitlab_pages[:port])
  %br

  %p
    The maximum size of your Pages site is regulated by the artifacts maximum
    size which is part of #{succeed('.') { link_to('GitLab CI', '#gitlab-ci') }}