github.com/in4it/ecs-deploy@v0.0.42-0.20240508120354-ed77ff16df25/webapp/src/app/service-list/service-list.component.html (about)

     1  <div class="services text-muted">
     2    <div class="container">
     3      <h1>Services</h1>
     4      <div class="row">
     5        <div class="card" *ngFor="let service of services">
     6          <ul class="list-group">
     7            <li class="list-group-item title"><h2>{{service.serviceName}}</h2></li>
     8            <li class="list-group-item justify-content-between">
     9              {{service.deploymentMap["PRIMARY"].runningCount}} / {{service.deploymentMap["PRIMARY"].desiredCount}} tasks running
    10              &nbsp;<span class="badge badge-warning" *ngIf="service.deploymentMap['PRIMARY'].runningCount &lt; service.deploymentMap['PRIMARY'].desiredCount">&nbsp;Warning&nbsp;</span>
    11            </li>
    12            <li class="list-group-item justify-content-between">
    13              Last successful deploy: {{service.deploymentMap["PRIMARY"].lastDeploy}}
    14            </li>
    15            <li class="list-group-item action">
    16              <a role="button" class="btn btn-primary" routerLink="/service/{{service.serviceName}}"><i class="fa fa-file-o" aria-hidden="true"></i>&nbsp;&nbsp;Details</a>
    17            </li>
    18          </ul>
    19        </div>
    20    </div>
    21  </div>