place-card.component.html 1.15 KB
Newer Older
1
<!--<img src="../../assets/BKing.jpg" class="place-picture">
mdsecurity's avatar
mdsecurity committed
2
3
    <div class="place-info-block">
        <i class="fa fa-star-o star-icon" aria-hidden="true"></i>
4
        <div class="place-title">{{place.name}}</div>
mdsecurity's avatar
mdsecurity committed
5
        
6
7
8
9
        <div [ngClass]="(place.status === 'open')?'status-open' : 'status-closed'">
            <div [ngClass]="(place.status==='open' )? 'text-open' : 'text-closed' ">{{status}}</div>
            <hr class="hr-vertical">
            <div class="status-text">~13Hrs</div>
mdsecurity's avatar
mdsecurity committed
10
        </div>
11
        <div class="place-location">{{place.location}}</div>
12
    </div>-->
13
<div (click)="openInContext()" class="place-card">
mdsecurity's avatar
mdsecurity committed
14
    <div class="closed-shader"></div>
15
    <img [src]="url" class="place-picture">
mdsecurity's avatar
mdsecurity committed
16
17
18
    <div class="title-container">
    <div class="place-title">{{place.name | removeBrackets}}</div>
        </div>    
19
20
21
    <div class="place-open-badge">
        <div class="place-status">OPEN</div>
        <div class="place-divider"></div>
mdsecurity's avatar
mdsecurity committed
22
        <div class="place-time-remaining">~{{place.openFor().hour}}Hrs</div>
23
    </div>
mdsecurity's avatar
mdsecurity committed
24
    <div class="place-location">{{place.location }}</div>
25
    <div class="place-error-feedback">See an error?</div>
mdsecurity's avatar
mdsecurity committed
26
</div>