-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from tillias/dev
merge dev to master
- Loading branch information
Showing
6 changed files
with
51 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...es/microservice/microservice-dashboard/microservice-card/microservice-card.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<div class="card mb-4"> | ||
<div class="card-header border-0"> | ||
<h3 class="h3 d-inline-block">{{microservice.name}}</h3> | ||
<span class="badge badge-secondary align-top">{{microservice.status?.name}}</span> | ||
</div> | ||
<div class="card-body"> | ||
<div class="d-flex flex-row mb-3"> | ||
|
||
<img [src]="microservice.imageUrl" | ||
(error)="microservice.imageUrl = '../../../../content/images/jhipster_family_member_1.svg'" | ||
alt="IMAGE"/> | ||
<div class="d-flex flex-column ml-2"> | ||
<span class="font-weight-bold">Team: {{microservice.team?.name}}</span> | ||
<span class="text-black-50">{{microservice.team?.productOwner}} (PO)</span> | ||
<span class="text-black-50">{{microservice.team?.teamLead}} (TL)</span> | ||
</div> | ||
</div> | ||
<h6>{{microservice.description}}</h6> | ||
|
||
<div class="d-flex justify-content-between install mt-3"> | ||
<div> | ||
<span><a href="{{microservice.gitUrl}}">GIT</a> </span> | ||
<span class="px-1">|</span> | ||
<span><a href="{{microservice.swaggerUrl}}">API</a> </span> | ||
</div> | ||
<span class="text-primary"> | ||
<a [routerLink]="['/microservice', microservice.id, 'view']">Details</a> | ||
<i class="fa fa-angle-right"></i> | ||
</span> | ||
</div> | ||
</div> | ||
</div> |
Empty file.
15 changes: 15 additions & 0 deletions
15
...ties/microservice/microservice-dashboard/microservice-card/microservice-card.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, Input, OnInit } from '@angular/core'; | ||
import { IMicroservice } from 'app/shared/model/microservice.model'; | ||
|
||
@Component({ | ||
selector: 'jhi-microservice-card', | ||
templateUrl: './microservice-card.component.html', | ||
styleUrls: ['./microservice-card.component.scss'], | ||
}) | ||
export class MicroserviceCardComponent implements OnInit { | ||
@Input() microservice!: IMicroservice; | ||
|
||
constructor() {} | ||
|
||
ngOnInit(): void {} | ||
} |
35 changes: 1 addition & 34 deletions
35
...pp/app/entities/microservice/microservice-dashboard/microservice-dashboard.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,3 @@ | ||
<div class="card-columns"> | ||
<div class="card mb-4" *ngFor="let microservice of microservices"> | ||
<div class="card-header border-0"> | ||
<h3> | ||
<span>{{microservice.name}}</span> | ||
<span class="badge badge-secondary float-right">{{microservice.status?.name}}</span> | ||
</h3> | ||
</div> | ||
<div class="card-body"> | ||
<div class="d-flex flex-row mb-3"> | ||
|
||
<img [src]="microservice.imageUrl" | ||
onerror="this.src='../../../../content/images/jhipster_family_member_1.svg';" width="70" | ||
alt="IMAGE"/> | ||
<div class="d-flex flex-column ml-2"> | ||
<span class="font-weight-bold">Team: {{microservice.team?.name}}</span> | ||
<span class="text-black-50">{{microservice.team?.productOwner}} (PO)</span> | ||
<span class="text-black-50">{{microservice.team?.teamLead}} (TL)</span> | ||
</div> | ||
</div> | ||
<h6>{{microservice.description}}</h6> | ||
|
||
<div class="d-flex justify-content-between install mt-3"> | ||
<div> | ||
<span><a href="{{microservice.gitUrl}}">GIT</a> </span> | ||
<span class="px-1">|</span> | ||
<span><a href="{{microservice.swaggerUrl}}">API</a> </span> | ||
</div> | ||
<span class="text-primary"> | ||
<a [routerLink]="['/microservice', microservice.id, 'view']">Details</a> | ||
<i class="fa fa-angle-right"></i> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
<jhi-microservice-card *ngFor="let microservice of microservices" [microservice]="microservice"></jhi-microservice-card> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters