added svcapi ui and camunda code
[it/otf.git] / otf-frontend / client / src / app / layout / tests / test-definition-details / test-definition-details.component.pug
1 //-  Copyright (c) 2019 AT&T Intellectual Property.                             #\r
2 //-                                                                             #\r
3 //-  Licensed under the Apache License, Version 2.0 (the "License");            #\r
4 //-  you may not use this file except in compliance with the License.           #\r
5 //-  You may obtain a copy of the License at                                    #\r
6 //-                                                                             #\r
7 //-      http://www.apache.org/licenses/LICENSE-2.0                             #\r
8 //-                                                                             #\r
9 //-  Unless required by applicable law or agreed to in writing, software        #\r
10 //-  distributed under the License is distributed on an "AS IS" BASIS,          #\r
11 //-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #\r
12 //-  See the License for the specific language governing permissions and        #\r
13 //-  limitations under the License.                                             #\r
14 //- #############################################################################\r
15 \r
16 \r
17 mat-card.mb-3\r
18     mat-card-header \r
19         mat-card-title \r
20             h4(*ngIf="testDefinition?.testName") {{ testDefinition.testName }} \r
21         mat-card-subtitle(style="margin-bottom: 0px")\r
22             div(*ngIf="testDefinition?.testDescription") {{testDefinition.testDescription }}\r
23     mat-card-content\r
24         .row(*ngIf="testDefinition")\r
25             .col-sm\r
26                 mat-form-field(*ngIf="testDefinition?.processDefinitionKey")\r
27                     input(matInput, placeholder="Process Definition Key", type="text", [value]="testDefinition.processDefinitionKey", disabled, name="defKey")\r
28             .col-sm\r
29                 mat-form-field(*ngIf="testDefinition?.disabled != undefined") \r
30                     input(matInput, placeholder="Is Disabled", type="text", [value]="testDefinition.disabled", disabled, name="disabled")\r
31             .col-sm\r
32                 mat-form-field(*ngIf="testDefinition") \r
33                     input(matInput, placeholder="Number Of Versions", type="text", [value]="numOfVersions", disabled, name="numOfVersions")\r
34             .col-sm\r
35                 mat-form-field(*ngIf="testDefinition?.groupId")\r
36                     input(matInput, placeholder="Group Id", type="text", [value]="testDefinition.groupId", disabled, name="group")\r
37             //- .col-sm\r
38             //-     mat-form-field(style="width:50px",*ngIf="testDefinition?.isPublic")\r
39             //-         input(matInput, placeholder="Is Public", type="text", [value]="testDefinition.isPublic", disabled, name="public")\r
40 \r
41 div(style="position: relative")\r
42   .row\r
43     .col-12\r
44       .pull-left\r
45         mat-form-field(style="width:110px")\r
46           input(matInput, [matDatepicker]="fromPicker", placeholder="From Date", [(ngModel)]="stats.filters.startDate")\r
47           mat-datepicker-toggle(matSuffix, [for]="fromPicker")\r
48           mat-datepicker(#fromPicker)\r
49         mat-form-field.ml-2(style="width:110px")\r
50           input(matInput, [matDatepicker]="toPicker", placeholder="To Date", [(ngModel)]="stats.filters.endDate")\r
51           mat-datepicker-toggle(matSuffix, [for]="toPicker")\r
52           mat-datepicker(#toPicker)\r
53         button.ml-2(mat-icon-button, (click)="getData()") \r
54           mat-icon arrow_forward\r
55           \r
56       .pull-right\r
57         mat-form-field\r
58           input(matInput, [ngModel]="stats.executionList?.length", placeholder="Total Executions", disabled)\r
59 \r
60   .row\r
61     .col-12\r
62       mat-card\r
63         mat-card-content\r
64           app-line-chart(height="201px")