Project

General

Profile

Download (1.47 KB) Statistics
| Branch: | Tag: | Revision:

foreman_pipeline / app / assets / javascripts / foreman_pipeline / jenkins-instances / new / views / new-jenkins-instance-form.html @ be52ca64

1
<div bst-alert success-messages="successMessages" error-messages="errorMessages"></div>
2
<form name="jenkinsInstanceForm" class="form-horizontal" novalidate role="form">
3
  <div bst-form-group label="{{ 'Name' | translate }}">
4
    <input id="name"
5
           name="name"
6
           ng-model="jenkinsInstance.name"
7
           type="text"
8
           tabindex="1"
9
           autofocus
10
           required/>
11
  </div>
12

    
13
  <div bst-form-group label="{{ 'Url' | translate }}">
14
    <input id="url"
15
           name="url"
16
           ng-model="jenkinsInstance.url"
17
           type="text"
18
           tabindex="2"           
19
           required/>
20
  </div>
21
  <div bst-form-group>   
22
    <p class="alert alert-info" translate>
23
      Make sure to specify the port Jenkins master is running on. Example: http://jenkins.example.com:8080
24
    </p>     
25
  </div>
26

    
27
  <div bst-form-group label="{{ 'Jenkins Home' | translate }}">
28
    <input id="jenkins_home"
29
           name="jenkins_home"
30
           ng-model="jenkinsInstance.jenkins_home"
31
           type="text"
32
           tabindex="3"
33
           required/>
34
  </div>
35

    
36
  <div bst-form-group label="{{ 'Certificate Path' | translate }}">
37
    <input id="cert_path"
38
           name="cert_path"
39
           ng-model="jenkinsInstance.cert_path"
40
           type="text"
41
           tabindex="4"
42
           required/>
43
  </div>
44

    
45
  <div bst-form-buttons
46
        on-cancel="transitionBack()"
47
        on-save="createJenkinsInstance(jenkinsInstance)"
48
        working="working">
49
  </div>
50
</form>