parent
359a1a1966
commit
d6ce8f9da6
@ -1,7 +1,3 @@
|
||||
<span class="version">
|
||||
v{{version}}
|
||||
</span>
|
||||
|
||||
<div class="footer-buttons-container">
|
||||
<!-- *ngIf="deferredPrompt && token?.length" -->
|
||||
<button
|
||||
|
||||
@ -31,18 +31,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.version {
|
||||
position: fixed;
|
||||
bottom: 16px;
|
||||
left: 8px;
|
||||
background: #09467f;
|
||||
padding: 6px;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
font-weight: 100;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media (display-mode: standalone) {
|
||||
.download {
|
||||
display: none;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { MessageService } from 'primeng/api';
|
||||
import { environment } from 'src/environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-footer-buttons',
|
||||
@ -14,7 +13,6 @@ export class FooterButtonsComponent implements OnInit {
|
||||
@Output() downloadingPWA = new EventEmitter<null>();
|
||||
@Output() requestingPermission = new EventEmitter<null>();
|
||||
public deviceType: 'ios' | 'android' | null = null;
|
||||
public version: string = environment.version;
|
||||
|
||||
constructor(
|
||||
private messageService: MessageService,
|
||||
|
||||
@ -63,4 +63,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<span class="version">
|
||||
v{{version}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@ -71,5 +71,8 @@
|
||||
position: absolute;
|
||||
top: 69px;
|
||||
}
|
||||
.version {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,6 +32,7 @@ export class AccountComponent implements OnInit {
|
||||
public currentPage!: Page;
|
||||
public handleHttpErrorFunc = this.handleHttpError.bind(this);
|
||||
private ref!: DynamicDialogRef;
|
||||
public version: string = environment.version;
|
||||
|
||||
readonly PageCode = PageCode;
|
||||
readonly pageList = environment.hasBonusProgram
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<div class="main-container">
|
||||
<app-navbar></app-navbar>
|
||||
<p-toast position="top-center"></p-toast>
|
||||
<app-footer-buttons [token]="token" [deferredPrompt]="deferredPrompt" [isPermissionNotifications]="isPermissionNotifications" (downloadingPWA)="downloadPWA()" (requestingPermission)="requestPermission()"></app-footer-buttons>
|
||||
<app-footer-buttons [token]="token" [deferredPrompt]="deferredPrompt"
|
||||
[isPermissionNotifications]="isPermissionNotifications" (downloadingPWA)="downloadPWA()"
|
||||
(requestingPermission)="requestPermission()"></app-footer-buttons>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user