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