1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/ui/faces/face/face.component.html

26 lines
651 B
HTML
Raw Normal View History

2019-02-23 07:29:35 +08:00
<a class="button btn btn-secondary"
2019-02-15 07:25:55 +08:00
[routerLink]="['/search', person.name, {type: SearchTypes[SearchTypes.person]}]"
style="display: inline-block;">
<div class="photo-container"
[style.width.px]="size"
[style.height.px]="size">
2019-02-15 07:25:55 +08:00
<div class="photo"
*ngIf="thumbnail && thumbnail.Available"
2019-02-15 07:25:55 +08:00
[style.background-image]="getSanitizedThUrl()"></div>
<span *ngIf="!thumbnail || !thumbnail.Available" class="oi oi-person no-image"
aria-hidden="true">
</span>
2019-02-15 07:25:55 +08:00
</div>
2019-02-15 07:25:55 +08:00
<!--Info box -->
<div class="info">
2019-02-15 07:25:55 +08:00
<div class="person-name">{{person.name}} ({{person.count}})</div>
</div>
</a>