added svcapi ui and camunda code
[it/otf.git] / otf-frontend / client / src / app / layout / tests / test-definition-details / test-definition-details.component.pug
diff --git a/otf-frontend/client/src/app/layout/tests/test-definition-details/test-definition-details.component.pug b/otf-frontend/client/src/app/layout/tests/test-definition-details/test-definition-details.component.pug
new file mode 100644 (file)
index 0000000..87d49a5
--- /dev/null
@@ -0,0 +1,64 @@
+//-  Copyright (c) 2019 AT&T Intellectual Property.                             #\r
+//-                                                                             #\r
+//-  Licensed under the Apache License, Version 2.0 (the "License");            #\r
+//-  you may not use this file except in compliance with the License.           #\r
+//-  You may obtain a copy of the License at                                    #\r
+//-                                                                             #\r
+//-      http://www.apache.org/licenses/LICENSE-2.0                             #\r
+//-                                                                             #\r
+//-  Unless required by applicable law or agreed to in writing, software        #\r
+//-  distributed under the License is distributed on an "AS IS" BASIS,          #\r
+//-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #\r
+//-  See the License for the specific language governing permissions and        #\r
+//-  limitations under the License.                                             #\r
+//- #############################################################################\r
+\r
+\r
+mat-card.mb-3\r
+    mat-card-header \r
+        mat-card-title \r
+            h4(*ngIf="testDefinition?.testName") {{ testDefinition.testName }} \r
+        mat-card-subtitle(style="margin-bottom: 0px")\r
+            div(*ngIf="testDefinition?.testDescription") {{testDefinition.testDescription }}\r
+    mat-card-content\r
+        .row(*ngIf="testDefinition")\r
+            .col-sm\r
+                mat-form-field(*ngIf="testDefinition?.processDefinitionKey")\r
+                    input(matInput, placeholder="Process Definition Key", type="text", [value]="testDefinition.processDefinitionKey", disabled, name="defKey")\r
+            .col-sm\r
+                mat-form-field(*ngIf="testDefinition?.disabled != undefined") \r
+                    input(matInput, placeholder="Is Disabled", type="text", [value]="testDefinition.disabled", disabled, name="disabled")\r
+            .col-sm\r
+                mat-form-field(*ngIf="testDefinition") \r
+                    input(matInput, placeholder="Number Of Versions", type="text", [value]="numOfVersions", disabled, name="numOfVersions")\r
+            .col-sm\r
+                mat-form-field(*ngIf="testDefinition?.groupId")\r
+                    input(matInput, placeholder="Group Id", type="text", [value]="testDefinition.groupId", disabled, name="group")\r
+            //- .col-sm\r
+            //-     mat-form-field(style="width:50px",*ngIf="testDefinition?.isPublic")\r
+            //-         input(matInput, placeholder="Is Public", type="text", [value]="testDefinition.isPublic", disabled, name="public")\r
+\r
+div(style="position: relative")\r
+  .row\r
+    .col-12\r
+      .pull-left\r
+        mat-form-field(style="width:110px")\r
+          input(matInput, [matDatepicker]="fromPicker", placeholder="From Date", [(ngModel)]="stats.filters.startDate")\r
+          mat-datepicker-toggle(matSuffix, [for]="fromPicker")\r
+          mat-datepicker(#fromPicker)\r
+        mat-form-field.ml-2(style="width:110px")\r
+          input(matInput, [matDatepicker]="toPicker", placeholder="To Date", [(ngModel)]="stats.filters.endDate")\r
+          mat-datepicker-toggle(matSuffix, [for]="toPicker")\r
+          mat-datepicker(#toPicker)\r
+        button.ml-2(mat-icon-button, (click)="getData()") \r
+          mat-icon arrow_forward\r
+          \r
+      .pull-right\r
+        mat-form-field\r
+          input(matInput, [ngModel]="stats.executionList?.length", placeholder="Total Executions", disabled)\r
+\r
+  .row\r
+    .col-12\r
+      mat-card\r
+        mat-card-content\r
+          app-line-chart(height="201px")
\ No newline at end of file