show.html.haml 800 Bytes
Newer Older
1
- page_title 'Pages'
2
3
%h3.page_title
  Pages
4

5
  - if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
6
    = link_to new_namespace_project_pages_domain_path(@project.namespace, @project), class: 'btn btn-new pull-right', title: 'New Domain' do
7
8
      %i.fa.fa-plus
      New Domain
9

10
%p.light
11
  With GitLab Pages you can host your static websites on GitLab.
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  Combined with the power of GitLab CI and the help of GitLab Runner
  you can deploy static pages for your individual projects, your user or your group.

%hr.clearfix

- if Gitlab.config.pages.enabled
  = render 'access'
  = render 'use'
  - if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
    = render 'list'
  - else
    = render 'no_domains'
  = render 'destroy'
- else
  = render 'disabled'