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

_gitlab_ci.html.haml « services « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 822892c8337c4223ae19248d3e4fa7051e123d54 (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
%h3.page_title
  GitLab CI
  %small Continuous integration server from GitLab
  .right
    - if @service.active
      %small.cgreen Enabled
    - else
      %small.cgray Disabled



.back_link
  = link_to project_services_path(@project) do
    ← to services

%hr
= form_for(@service, :as => :service, :url => project_service_path(@project, :gitlab_ci), :method => :put) do |f|
  - if @service.errors.any?
    .alert-message.block-message.error
      %ul
        - @service.errors.full_messages.each do |msg|
          %li= msg


  .control-group
    = f.label :active, "Active", class: "control-label"
    .controls
      = f.check_box :active

  .control-group
    = f.label :project_url, "Project URL", class: "control-label"
    .controls
      = f.text_field :project_url, class: "input-xlarge", placeholder: "http://ci.gitlabhq.com/projects/3"

  .control-group
    = f.label :token, class: "control-label" do
      CI Project token
    .controls
      = f.text_field :token, class: "input-xlarge", placeholder: "GitLab CI project specific token"


  .form-actions
    = f.submit 'Save', class: 'btn btn-save'
     
    - if @service.valid? && @service.active
      = link_to 'Test settings', test_project_service_path(@project), class: 'btn btn-small'