1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 19:02:42 +01:00

frontend footer

This commit is contained in:
Kyle Spearrin 2018-06-11 12:06:57 -04:00
parent f1651078e4
commit ba6451856a
3 changed files with 12 additions and 1 deletions

View File

@ -1,2 +1,5 @@
<router-outlet></router-outlet>
<app-footer></app-footer>
<div class="container mt-5 text-muted text-center">
&copy; 2018, 8bit Solutions LLC
<br> {{'versionNumber' | i18n : version}}
</div>

View File

@ -4,12 +4,19 @@ import {
OnInit,
} from '@angular/core';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
@Component({
selector: 'app-frontend-layout',
templateUrl: 'frontend-layout.component.html',
})
export class FrontendLayoutComponent implements OnInit, OnDestroy {
version: string;
constructor(private platformUtilsService: PlatformUtilsService) { }
ngOnInit() {
this.version = this.platformUtilsService.getApplicationVersion();
document.body.classList.add('layout_frontend');
}

View File

@ -134,6 +134,7 @@ const serve = {
key: fs.readFileSync('dev-server' + certSuffix + '.pem'),
cert: fs.readFileSync('dev-server' + certSuffix + '.pem'),
},
hot: false,
};
const config = {