Project

General

Profile

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

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

1
<span page-title ng-model="jenkinsInstance">{{ 'Jenkins instance: ' | translate }}{{ jenkinsInstance.name }}</span>
2

    
3
<div class="loading-mask loading-mask-panel" ng-show="panel.loading">
4
  <i class="icon-spinner icon-spin"></i>
5
  {{ 'Loading...' | translate }}
6
</div>
7

    
8
<section class="nutupane-details" ng-cloak bst-container-scroll>
9
  <header class="details-header">
10
    <h2 class="fl" translate>Jenkins Instance {{ jenkinsInstance.name }}</h2>
11
    <div class="fr">
12
      <div bst-modal="deleteJenkinsInstance(jenkinsInstance)" 
13
           model="jenkinsInstance"
14
           modal-header='Remove JenkinsInstance "{{ jenkinsInstance.name }}"?'
15
           modal-body='Are you sure you want to remove Jenkins Instance "{{ jenkinsInstance.name }}"?'>
16
      </div>
17

    
18
      <button class="btn btn-default" ng-click="checkJenkins()" ng-disabled="working">
19
        <i class="icon-wrench" ng-hide="working"></i>
20
        <i class="icon-spinner icon-spin" ng-show="working"></i>
21
        <span translate>Jenkins reachable?</span>
22
      </button>
23

    
24
      <button class="btn btn-default" ng-click="openModal()" ng-hide="denied('destroy_jenkins_instance', jenkinsInstance)">
25
        <i class="icon-trash"></i>
26
        {{ 'Remove Jenkins Instance' | translate }}
27
      </button>
28

    
29
      <button class="btn btn-default" ui-sref="jenkins-instances.index">
30
        <i class="icon-remove"></i>
31
        {{ 'Close' | translate }}
32
      </button>
33
    </div>
34
  </header>
35

    
36
  <section class="nutupane-sub-section" ui-view></section>
37
</section>