aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/drawing-board-header/drawing-board-header.component.html
blob: 7d0f7f45693a13c7848a2f4c7293421409407e28 (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
<div class="drawing-board-header">
  <div class="left-header">
    <span [attr.data-tests-id]="'backBtn'" class="icon-back" (click)="closePage()"></span>
    <span [attr.data-tests-id]="'serviceInstance'" class="service-instance-label">Service instance:</span>
    <span [attr.data-tests-id]="'serviceName'" class="service-instance-name">{{serviceName}}</span>
    <span class="quantity-container" style="    padding: 10px;font-size: 13px;" tooltip="Number of services to instantiate including all their objects as defined below">
      <span [attr.data-tests-id]="'quantityLabel'" class="quantity-label" >Scale Times:</span>
      <span [attr.data-tests-id]="'servicesQuantity'" class="quantity" style="font-family: OpenSans-Semibold;font-size: 14px;"> {{numServicesToDeploy}} </span>
    </span>
    <span  class="service-instance-label">status:</span>
    <span [attr.data-tests-id]="'serviceStatus'" class="status">{{status}}</span>
  </div>
  <div class="right-header">
    <span class="menu-container">
      <span [attr.data-tests-id]="'openMenuBtn'" class="icon-browse" (click)="onContextMenu($event)"></span>
      <context-menu>
        <ng-template contextMenuItem (execute)="editService()">
          <div [attr.data-tests-id]="'context-menu-header-edit-item'">
            <span class="icon-edit"></span>
            Edit
          </div>
        </ng-template>
        <ng-template contextMenuItem (execute)="closePage()">
          <div [attr.data-tests-id]="'context-menu-header-delete-item'">
            <span class="icon-trash"></span>
            Delete
          </div>
        </ng-template>
      </context-menu>
    </span>
    <button [disabled]="false" [attr.data-tests-id]="'deployBtn'" (click)="deployMacroservice()" class="deploy-btn">DEPLOY</button>
  </div>
</div>