summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-09 19:04:39 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-01-31 22:53:57 +0000
commit930a7030b5a0080128b2fe3e2b9506717c54a6a5 (patch)
tree52c998612b54ce45c87b6731a8b23f85a59d5b7d /app/views
parent5f7257c27dace1dcb9d3eb4732caf68f061a8d68 (diff)
downloadgitlab-ce-930a7030b5a0080128b2fe3e2b9506717c54a6a5.tar.gz
Implement proper verification of certificate's public_key against the private_key
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/edit.html.haml41
-rw-r--r--app/views/projects/pages/_use.html.haml10
2 files changed, 0 insertions, 51 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index f4c1db1b93d..dab40d37ead 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -134,47 +134,6 @@
= link_to 'Remove avatar', namespace_project_avatar_path(@project.namespace, @project), data: { confirm: "Project avatar will be removed. Are you sure?"}, method: :delete, class: "btn btn-remove btn-sm remove-avatar"
= f.submit 'Save changes', class: "btn btn-save"
- - if Settings.pages.enabled
- .pages-settings
- .panel.panel-default
- .panel-heading Pages
- .errors-holder
- .panel-body
- - if @project.pages_url
- %strong
- Congratulations! Your pages are served at:
- %p= link_to @project.pages_url, @project.pages_url
- - else
- %p
- Learn how to upload your static site and have it served by
- GitLab by following the #{link_to "documentation on GitLab Pages", "http://doc.gitlab.com/ee/pages/README.html", target: :blank}.
- %p
- In the example below we define a special job named
- %code pages
- which is using Jekyll to build a static site. The generated
- HTML will be stored in the
- %code public/
- directory which will then be archived and uploaded to GitLab.
- The name of the directory should not be different than
- %code public/
- in order for the pages to work.
- %ul
- %li
- %pre
- :plain
- pages:
- image: jekyll/jekyll
- script: jekyll build -d public/
- artifacts:
- paths:
- - public/
-
- - if @project.pages_url && can?(current_user, :remove_pages, @project)
- .form-actions
- = link_to 'Remove pages', remove_pages_namespace_project_path(@project.namespace, @project),
- data: { confirm: "Are you sure that you want to remove pages for this project?" },
- method: :post, class: "btn btn-warning"
-
.row.prepend-top-default
%hr
.row.prepend-top-default
diff --git a/app/views/projects/pages/_use.html.haml b/app/views/projects/pages/_use.html.haml
index 5542bbe670b..ee38f45d44d 100644
--- a/app/views/projects/pages/_use.html.haml
+++ b/app/views/projects/pages/_use.html.haml
@@ -6,13 +6,3 @@
%p
Learn how to upload your static site and have it served by
GitLab by following the #{link_to "documentation on GitLab Pages", "http://doc.gitlab.com/ee/pages/README.html", target: :blank}.
- %p
- In the example below we define a special job named
- %code pages
- which is using Jekyll to build a static site. The generated
- HTML will be stored in the
- %code public/
- directory which will then be archived and uploaded to GitLab.
- The name of the directory should not be different than
- %code public/
- in order for the pages to work.