added svcapi ui and camunda code
[it/otf.git] / otf-frontend / client / src / app / layout / test-instance-expanded-details / test-instance-expanded-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 .col-12(style="background-color: #f5f5f5; padding: 10px") \r
18   mat-spinner(*ngIf="isLoading", [diameter]="25", style="margin: auto")\r
19   div(*ngIf="executionList.length > 0")\r
20     .list-group(*ngFor="let execution of executionList")\r
21       a.list-group-item.list-group-item-action(style="", [routerLink]="['/control-panel']", [queryParams]="{id: execution._id}") \r
22         .pull-left\r
23           i.fa.fa-fw.fa-bar-chart(style="color: orange") \r
24           |  {{execution.startTime}}\r
25         .pull-right\r
26           div([attr.class]="execution.testResult + '-dash'") {{execution.testResult}}\r
27   div(*ngIf="!isLoading && executionList.length == 0", style="text-align:center")\r
28     p There are no executions for this instance.\r