ce4730f7281438bbd6ada99faa3de34c2fc189ca
[sdc/sdc-workflow-designer.git] /
1 <!--
2 /**
3  * Copyright (c) 2017 ZTE Corporation.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and the Apache License 2.0 which both accompany this distribution,
7  * and are available at http://www.eclipse.org/legal/epl-v10.html
8  * and http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Contributors:
11  *     ZTE - initial API and implementation and/or initial documentation
12  */
13 -->
14 <div class="scroll" style="overflow:hidden; max-height: 300px; height: 300px;">
15     <div class="card">
16         <div class="card-header d-flex justify-content-between align-items-center">
17             <span>Config List</span>
18             <span class="badge badge-success badge-pill" (click)="addMicroservice()"><i class="fa fa-plus"></i></span>
19         </div>
20
21         <ul class="list-group">
22             <li class="list-group-item d-flex justify-content-between align-items-center"
23                 *ngFor="let microservice of microservices; index as i">
24                 <div (click)="onMicroserviceSelected(microservice)">{{microservice.name}}</div>
25                 <div class="badge badge-danger badge-pill" (click)="deleteMicroservice(i, microservice)">
26                     <i class="fa fa-minus"></i>
27                 </div>
28             </li>
29         </ul>
30     </div>
31 </div>
32