All files / modules/away/view ui-away.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 231x                                            
<ion-content>
    <div class="mapcontainer">
        <div *ngIf="gmapsApiLoaded | async" style="height: 100%; width: 100%;">
            <google-map [attr.data-id]="'away-google-map'" #googlemap id="googlemap" height="100%" width="100%" [options]="{ mapTypeControl: false, fullscreenControl: false }" [zoom]="_mapinfo.zoom" [center]="_mapinfo.position">
                <map-marker [attr.data-id]="'away-google-marker'" *ngFor="let marker of _mapinfo.markers" [position]="marker.position" [options]="marker.options"></map-marker>
            </google-map>    
        </div>
    </div>
    <div class="faraway">
        <ion-item lines="none">
            <ion-label>
                {{tr('@far_away_title')}}<br/>
                <span class="small">{{tr('@far_away_message', [ Distance ])}}</span>
            </ion-label>
        </ion-item>
        <div class="form-buttons">
            <ion-button [attr.data-id]="'away-close-button'" expand="block" (click)="OnClose()">
                {{tr('@far_away_close')}}
            </ion-button>    
        </div>
    </div>
</ion-content>